{"id":19854918,"url":"https://github.com/floattech/fortune-api","last_synced_at":"2025-07-20T20:06:15.476Z","repository":{"id":103403167,"uuid":"478416645","full_name":"FloatTech/fortune-api","owner":"FloatTech","description":"基于图片缓存池的，以tx为图床的运势API","archived":false,"fork":false,"pushed_at":"2022-04-06T06:14:16.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T23:39:38.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FloatTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-04-06T05:33:11.000Z","updated_at":"2022-04-06T09:59:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"15116ce8-6891-40ba-893c-2f3e4a06e7e6","html_url":"https://github.com/FloatTech/fortune-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FloatTech/fortune-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FloatTech%2Ffortune-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FloatTech%2Ffortune-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FloatTech%2Ffortune-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FloatTech%2Ffortune-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FloatTech","download_url":"https://codeload.github.com/FloatTech/fortune-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FloatTech%2Ffortune-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266189677,"owners_count":23890065,"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-11-12T14:11:05.821Z","updated_at":"2025-07-20T20:06:15.456Z","avatar_url":"https://github.com/FloatTech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fortune-api\n基于图片缓存池的，以tx为图床的运势API\n\n## 部署\n```bash\ngo run main.go 0.0.0.0:8000\n```\n或\n```bash\ngo build -ldflags \"-s -w\" -trimpath -o fortune\n./fortune 0.0.0.0:8000\n```\n\n## API\n\u003e http://127.0.0.1:8000/fortune?id=123456\u0026kind=车万\n\n- **id**: 抽运势的人的唯一标识，必填\n- **kind**: 运势底图类型，不填默认`车万`，详见 [ZeroBot-Plugin](https://github.com/FloatTech/ZeroBot-Plugin)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloattech%2Ffortune-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloattech%2Ffortune-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloattech%2Ffortune-api/lists"}