{"id":15684777,"url":"https://github.com/code-hex/laputa","last_synced_at":"2025-06-26T14:31:47.268Z","repository":{"id":71654410,"uuid":"74110982","full_name":"Code-Hex/Laputa","owner":"Code-Hex","description":"Key certification system for Department of Information Engineering, University of the Ryukyu.","archived":false,"fork":false,"pushed_at":"2017-02-21T04:43:49.000Z","size":4891,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-31T03:33:59.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Code-Hex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-18T08:38:02.000Z","updated_at":"2016-12-21T09:01:31.000Z","dependencies_parsed_at":"2023-05-13T08:45:26.348Z","dependency_job_id":null,"html_url":"https://github.com/Code-Hex/Laputa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Code-Hex/Laputa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Hex%2FLaputa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Hex%2FLaputa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Hex%2FLaputa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Hex%2FLaputa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Hex","download_url":"https://codeload.github.com/Code-Hex/Laputa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Hex%2FLaputa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262084740,"owners_count":23256292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T17:21:46.812Z","updated_at":"2025-06-26T14:31:47.225Z","avatar_url":"https://github.com/Code-Hex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laputa\nKey certification system for Department of Information Engineering, University of the Ryukyu.\n\n```\n                      （    ヽ                                     ,  ⌒ヽ  , ⌒ヽ\n         ,  ⌒ヽ    (          ヽ     _,=''''''^~~~~~~~~~^''''=,,,,（        （        '\n       （        '  （            ,-='''~  -=^~~~^-^~~~^==-  '=,,,        ゝ        ｀ヽ\n        ゝ        ｀ヽ        \u003c~  -==^~~~^ =^~~^=-=^~~^'=-~'=,    (                ）\n      (                        ヽ'^' __,,,,,,i~~~l===|~~i==|~~|＿,,,,,..ノ  （                    ヽ\n    (        (⌒                ヽi~ |   |＿_レ、l--l--レ.;---i  i-、  （                      ）\n  （                            r'^~~~~l l     | :| ∩ ∩|,-=,__,-,_|  |~i^i,,                      ヽ\n    （                ｀)     l^^|,,,,--==.i~~l~~~~~~~~~~|    i  l .|~^''''l~^i,,,,                      ヽ\n      ,ゝ                 ／i~~i' l ∩∩l  .ｌ  ∩  ∩   l    |__| .| .∩|  .|  l-,\n    （        '      ,,,,,='~|  |  |' |,,=i~~i==========|~~|^^|~ ~'i----i==i,, | 'i\n  （       （        |  l ,==,-'''^^   l   |. ∩. ∩. ∩. |   |∩|    |∩∩|   |~~^i~'i、\n（               ,=i^~~.|   |.∩.∩ |,...,|__|,,|__|,,|__|,,|__|,....,||,,|.|,.....,||,|_|,|.|,....,|    |  |~i\n  （            l~| .|    |  ,,,---== ヽノ       i        ヽノ~~~ ヽノ     ~ ソ^=-.i,,,,|,,,|\n    ,ゝ       .|..l  i,-=''~~--,,,    ＼   ＼   l      ／      ／        ／    __,-=^~\n  （          |,-''~  -,,,＿    ~-,,.   ＼ .＼ |  .／     ／    ＿,,,-~     ／          ヽ\n,  ⌒ヽ       ~^''=、＿ _ ^'- i=''''''^~~~~~~~~~~~~~~~~~~~~^''''''''=i -'^~  （            ヽ\n         ヽ                ~^^''ヽ  ヽ   i     |    ｌ   i   /   ／   ノ      （                 ）\n      ,  ⌒ヽ                    ヽ    、 l   |   ｌ   l  / .／    ／     （                  （\n          ,  ⌒ヽ⌒ヽ             ＼_  、i ヽ   i   /      ,,=='      （                      ヽ\n                    ,  ⌒ヽ            ''==,,,,＿＿＿,,,=='~            ,ゝ                      ヽ\n          ⌒                                  （                            ヽ\n      ノ                                       ヽ\n```\n\n# What is this?\nIt is a felica reader that exists in the 1st building of the Faculty of Engineering Building of the University of the Ryukyus.\n\n# Logic\n```\n                              check\n                            felica id (felica id searcher)\n           +--------------+            +---------------+\n           |              \u003c--------+   |               |     felica data\n           |   Akatsuki   |        |   |   Levistone   \u003c------------------+\n           |              +----+   |   |               |                  |\n           +--+---+----+--+    |   |   +-------+-------+                  |\n              |   ^    |       |   |           |                          |\n              |   |    |       |   |           |                 +--------+-------+\ninitialize    |   |    |       |   |           |                 |                |\n    to        |   |    |       |   |           |                 |   nfc reader   |\nauthenticate  |   |    |       |   |           |                 |                |\n              |   |    |       |   |           | send felica id  +----------------+\n              |   |    |       |   |           |\n           +--v---+----v--+    |   |   +-------v-------+\n           |              |    |   +---+               |\n           |    Laputa    |    |       |     Balus     +--------------------------\u003e\n           |              |    +-------\u003e               |\n           +--------------+            +---------------+      open the door\n                              recieve\n         (RESTful API Server)         (Unix domain socket)\n                   +                            ^\n                   |                            |\n                   |                            |\n                   |      +-------------+       |\n                   |      |             |       |\n                   +------\u003e   leveldb   +-------+\n             put secret   |             |   get secret\n                          +-------------+\n```\n\n# Build\nThere are build modes for development and staging.\n- for develop\n    \n        make build-dev\n\n- for staging\n\n        make build-staging\n\n# Setup\n## Ansible\n\nRun below script after setting SSH-KEY.\n\n    ansible-playbook ./ansible/migrate.yml --praivate-key=SSH-KEY\n\n# Run\nAfter setup, you can run\n\n    carton exec ./run\n\n# Restart\nYou can run without finish after program is modified(Golang projects only).\n\n    make restart-staging\n\n# Configuration\nPlease open `run` with your favorite editor.  \nBy editing the env function, you can change the behavior at program execution.  \n  \nEnvironment variable\n- `LAPUTA_CERTFILE` Specify the file path of the certificate\n- `LAPUTA_KEYFILE` Specify the file path of the key\n- `LAPUTA_AKATSUKI` Specify the URL of the api for authentication\n- `LAPUTA_FLOOR` Floor code for registration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-hex%2Flaputa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-hex%2Flaputa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-hex%2Flaputa/lists"}