{"id":14011592,"url":"https://github.com/evercyan/cantor","last_synced_at":"2025-04-28T15:41:37.331Z","repository":{"id":38982856,"uuid":"274327111","full_name":"evercyan/cantor","owner":"evercyan","description":"一个简单好用的图床应用","archived":false,"fork":false,"pushed_at":"2023-11-09T01:07:43.000Z","size":56848,"stargazers_count":68,"open_issues_count":15,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-10T18:05:51.185Z","etag":null,"topics":["github-api","image-hosting","mac-app","vue","wails"],"latest_commit_sha":null,"homepage":"https://github.com/evercyan/cantor","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evercyan.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":"2020-06-23T06:30:04.000Z","updated_at":"2024-07-14T11:37:25.000Z","dependencies_parsed_at":"2024-06-19T02:41:42.427Z","dependency_job_id":"9abee5d2-a4e2-4c94-aa9b-51432609b5c7","html_url":"https://github.com/evercyan/cantor","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evercyan%2Fcantor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evercyan%2Fcantor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evercyan%2Fcantor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evercyan%2Fcantor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evercyan","download_url":"https://codeload.github.com/evercyan/cantor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227158898,"owners_count":17739772,"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":["github-api","image-hosting","mac-app","vue","wails"],"created_at":"2024-08-10T18:01:40.223Z","updated_at":"2024-11-29T15:46:00.592Z","avatar_url":"https://github.com/evercyan.png","language":"Go","funding_links":[],"categories":["アプリ"],"sub_categories":["オープンソース"],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./appicon.png\" width=\"200\" alt=\"cantor\" align=center /\u003e\n\n[![goreportcard](https://goreportcard.com/badge/github.com/evercyan/cantor)](https://goreportcard.com/report/github.com/evercyan/cantor)\n\n一个简单好用的图床应用\n\n\u003c/div\u003e\n\n---\n\n## 安装\n\n[点击下载](https://github.com/evercyan/cantor/releases/download/v0.1.0/Cantor-v0.1.0.dmg) Mac Cantor-v0.1.0.dmg\n\n或者 `git clone` 源码自行编译, 可支持多平台\n\n---\n\n## 准备\n\n- GitHub 账号, e.g. `evercyan`\n- 邮箱, e.g. `evercyan@qq.com`\n- 仓库, e.g. `evercyan/repository`\n- 申请 GitHub access_token [点击申请](https://github.com/settings/tokens)\n\n---\n\n## 使用\n\n- 打开应用\n\n- GitHub 配置\n    ```text\n    未配置时, 会自动打开编辑窗口, 也可以通过点击设置按钮触发编辑窗口\n    配置存储于 `~/.cantor/config.yaml`\n    ```\n\n- 上传图片\n    ```text\n    点击上传按钮, 或者菜单-文件-上传图片, 可批量选择图片进行上传\n    单次最多可上传 10 张图片, 单张图片最大支持 4M, 图片格式仅支持 png gif jpg jpeg\n    ```\n\n- 终端使用\n\n    ```shell\n    # 需要安装应用并完成 GitHub 图床相关配置才可在终端使用\n  \n    # 安装 cantor 终端程序\n    go install github.com/evercyan/cantor/cmd/cantor@latest\n    # 上传文件\n    cantor upload ~/demo.png ~/demo1.png\n    \n    # 安装终端程序后, 可在 typora 里如下图所示配置图片上传, 其他应用亦是同理\n    ```\n\n![typora-1](https://cdn.jsdelivr.net/gh/evercyan/repository/resource/93/9355e89e0a615750862320fba0db2bbd.png)\n\n![typora-2](https://cdn.jsdelivr.net/gh/evercyan/repository/resource/56/5687102c40a183568eb6d5e35e8612b3.png)\n\n\n---\n\n## 快照\n\n![cantor](https://cdn.jsdelivr.net/gh/evercyan/repository/resource/1c/1c98042d7f58d999fdd080dc6bdf68aa.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevercyan%2Fcantor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevercyan%2Fcantor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevercyan%2Fcantor/lists"}