GithubHelp home page GithubHelp logo

lekoowo / simple-six-laws Goto Github PK

View Code? Open in Web Editor NEW

This project forked from s3131212/simple-six-laws

1.0 0.0 0.0 2.14 MB

簡易小六法工具,支援離線、模糊查詢,試圖簡化查詢流程,只留下必要的功能

JavaScript 89.37% HTML 6.73% CSS 2.29% Dockerfile 1.61%

simple-six-laws's Introduction

簡易小六法

這是一個很簡單的法條查詢工具,不同於市面上其他小六法的 App,都是一路點下去,此專案希望能夠用簡單打幾個字就能夠快速找到目標法條,試圖簡化整個搜尋程序,取代厚重的紙本小六法和難用的 App。

使用方式

舉例來說,民法第 979-1 條可以用以下方式查詢(中文與數字之間的空格亦可省略):

  • 民法 979-1
  • 民 979-1
  • 民 979 1
  • ㄇㄈ 979 1
  • ㄇ 979 1 其中 ㄇㄈ 是民(ㄇㄧㄣˊ)法(ㄈㄚˇ)的注音首字,若同個注音會對應多個法典(如刑法與憲法都是 �ㄒㄈ),則會匹配到第一條。
    支援常見法典簡稱(如 中華民國刑法 = 刑法刑事訴訟法 = 刑訴社會秩序維護法 = 社維法)。
    若全名、注音、簡稱皆沒有找到匹配的法典,則會去尋找名稱最接近的法條,例如 性平教 會找到最接近的 性別平等教育法

離線使用

本程式為 Progressive Web App,支援離線使用(Service Worker),直接加到主畫面即可使用。

Build

npm run-script build

P.S. react-scripts is required.

更新法條

git clone [email protected]:kong0107/mojLawSplitJSON.git
# 之後
git pull

node /path/to/this/project/law-generator/law-gen.js /path/to/kong0107/mojLawSplitJSON/FalVMingLing

# 記得要 build
npm run-script build

授權

此程式由 Allen Chou 製作,以 MIT License 釋出。
網址:https://laws.allenchou.cc
Pull Requests Welcome!

資料來源

本程式所使用的資源來自於下述網站 / 專案:
法條 JSON 檔:kong0107/mojLawSplitJSON
漢字注音對照表:小麥注音輸入法
Icon:Font Awesome
Tocus UI:https://tocas-ui.com/
React:https://reactjs.org/

simple-six-laws's People

Contributors

s3131212 avatar lekoowo avatar

Stargazers

念誠 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.