{"id":15014245,"url":"https://github.com/koishi-satori/net_safeio","last_synced_at":"2026-02-23T08:34:35.062Z","repository":{"id":210374399,"uuid":"726408216","full_name":"Koishi-Satori/net_safeio","owner":"Koishi-Satori","description":"net io, 用于记录对局内相关信息. 因为NSCN的squirrel safeio尚未修好, 使用这个作为替代","archived":false,"fork":false,"pushed_at":"2023-12-04T02:39:57.000Z","size":73,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T12:42:30.667Z","etag":null,"topics":["kotlin","netty","squirrel"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/Koishi-Satori.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":"2023-12-02T10:02:28.000Z","updated_at":"2024-04-04T08:23:48.000Z","dependencies_parsed_at":"2024-09-20T10:00:54.754Z","dependency_job_id":"c9846457-14ed-420d-b969-b0477ea4bf97","html_url":"https://github.com/Koishi-Satori/net_safeio","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"69d465b9f0a6769bd3327f84c122eed80f3fe29f"},"previous_names":["koishi-satori/net_safeio"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koishi-Satori%2Fnet_safeio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koishi-Satori%2Fnet_safeio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koishi-Satori%2Fnet_safeio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Koishi-Satori%2Fnet_safeio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Koishi-Satori","download_url":"https://codeload.github.com/Koishi-Satori/net_safeio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959449,"owners_count":20538625,"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":["kotlin","netty","squirrel"],"created_at":"2024-09-24T19:45:22.067Z","updated_at":"2025-10-27T19:47:01.634Z","avatar_url":"https://github.com/Koishi-Satori.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 这是个squirrel SafeIO的简易替代品\n\n- 基于kotlin+netty的http服务器\n- 高稳定性低占用\n- 在JVM上运行, 平台无关\n- 目前功能: 合并/覆写/查询\n\n---\n\nExample code: [example.nut](./example.nut)\n\nOptions:\n\n- -p, -port: bind new port\n  - e.g. -p 1145\n- -dir -d: set the data storage dir\n  - e.g. -d \"/usr/xxxx\"\n- -file -f: set the store file name, file name check regex: [a-zA-Z_.]+\n  - e.g. -f \"ifp_data.json\"\n\n----\n建议将API部署到本地 然后使用localhost:[port]作为api_url\n\n传输的数据必须为由table\u003cstring, string\u003e序列化来的json, 同时返回的数据也为json格式\n\n返回的response直接使用response.body结合DecodeJSON反序列化Json即可拿到储存的table\n```squirrel\n// GetDataImpl is used for getting response.\nHttpRequestResponse response = GetDataImpl()\ntable data = DecodeJSON(response.body)\n// Your process code\n// ..\n```\n\n运行要求: JDK 17以上\n\n## JDK LINKS\n\n- azul prime(best jdk for linux only): https://www.azul.com/products/prime/\n- azul zulu(all platform): https://www.azul.com/downloads/#zulu\n\n## 启动及参数\n启动命令行:  java -classpath ./net_safeio.jar top.kkoishi.safeio.MainKt\n请将参数加在命令行的后面并且用**空格隔开**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoishi-satori%2Fnet_safeio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoishi-satori%2Fnet_safeio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoishi-satori%2Fnet_safeio/lists"}