{"id":13681356,"url":"https://github.com/mayocream/pastebin-ipfs","last_synced_at":"2025-04-30T03:31:16.796Z","repository":{"id":36987954,"uuid":"403682620","full_name":"mayocream/pastebin-ipfs","owner":"mayocream","description":"🌐 (Web 3.0) Pastebin built on IPFS, securely served by Distributed Web and Edge Network.","archived":true,"fork":false,"pushed_at":"2023-03-06T23:29:48.000Z","size":872,"stargazers_count":143,"open_issues_count":28,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-26T06:59:13.694Z","etag":null,"topics":["go","ipfs","pastebin","react","typescript","webcrypto"],"latest_commit_sha":null,"homepage":"https://paste.shoujo.io","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/mayocream.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}},"created_at":"2021-09-06T16:01:27.000Z","updated_at":"2025-01-17T16:07:15.000Z","dependencies_parsed_at":"2024-01-14T15:25:07.377Z","dependency_job_id":"265a7b28-335a-4f18-a3e9-6ca8c2fd814b","html_url":"https://github.com/mayocream/pastebin-ipfs","commit_stats":{"total_commits":194,"total_committers":3,"mean_commits":64.66666666666667,"dds":0.5051546391752577,"last_synced_commit":"4fdcd108a177ac55d538c1662493df4618970860"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Fpastebin-ipfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Fpastebin-ipfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Fpastebin-ipfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2Fpastebin-ipfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayocream","download_url":"https://codeload.github.com/mayocream/pastebin-ipfs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251635203,"owners_count":21619170,"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":["go","ipfs","pastebin","react","typescript","webcrypto"],"created_at":"2024-08-02T13:01:29.806Z","updated_at":"2025-04-30T03:31:16.425Z","avatar_url":"https://github.com/mayocream.png","language":"Go","readme":"# pastebin-ipfs\n![go](https://github.com/mayocream/pastebin-ipfs/actions/workflows/go.yml/badge.svg)\n![node](https://github.com/mayocream/pastebin-ipfs/actions/workflows/node.yml/badge.svg)\n![docker](https://github.com/mayocream/pastebin-ipfs/actions/workflows/docker.yml/badge.svg)\n![deploy](https://github.com/mayocream/pastebin-ipfs/actions/workflows/deploy.yml/badge.svg)\n\n\u003cimg width=\"200px\" src=\"./docs/images/ipfs-archivists.svg\" /\u003e\n\n[简体中文](./README.zh.md)\n\n\u003csmall\u003e_(IPFS Archivists)_\u003c/small\u003e    \n\n*Still in development, Pull Requests are welcomed.*\n\nPastebin built on IPFS, securely served by Distributed Web and Edge Network.\n\nIt's like [gist](https://gist.github.com/) but for anonymous.\nAlternative to [Ubuntu Pastebin](https://paste.ubuntu.com/).\n\n[paste.shoujo.io](https://paste.shoujo.io)\n\n\u003ctable\u003e\n  \u003ctd\u003e\u003cimg width=\"500px\" src=\"./docs/images/index.png\" /\u003e\u003c/td\u003e\n  \u003ctd\u003e\u003cimg width=\"500px\" src=\"./docs/images/view.png\" /\u003e\u003c/td\u003e\n\u003c/table\u003e\n         \n## Features\n\n\u003c!-- - [Gallery](https://paste.shoujo.io/gallery) shows *Public* snippets --\u003e\n- Stored in [IPFS](https://ipfs.io/) distributed network\n- *AES-GCM* Encryption\n- OpenAPI (CORS Origin `*`)\n- File upload (API Only)\n- Cache by CDN (or [IPFS Gateway](https://cloudflare-ipfs.com))\n- Syntax highlight by [Prismjs](https://github.com/PrismJS/prism)\n- Markdown Preview\n- No Expiration\n\n## Usage\n\n### Web\n\nWebpage serves [Gallery](https://paste.shoujo.io/gallery) and provide GUI to paste your snippets.\n\nVist [Webpage](https://paste.shoujo.io).\n\n### API\n\n**API Docs**: [*OpenAPI v3 - Swagger UI*](https://mayocream.github.io/pastebin-ipfs/api/)    \n\nPastebin it has a rate limit at 20 qps.  \n\n### Terminal\n\nCreate snippets:\n\n```bash\n$ curl -T doc.md https://paste.shoujo.io/api/v0/ # remember to have a slash '/' at the end\n# or\n$ curl -X POST https://paste.shoujo.io/api/v0/ -d 'いつか君に伝えたいと思っていた気持ちは'\n# or\n$ curl -X PUT https://paste.shoujo.io/api/v0//lyrics.txt -d 'Stars fall, birds sleep'\n```\n\nCat snippets:\n\n```bash\ncurl https://paste.shoujo.io/api/v0/QmTnhJH8azDsudkxgp8wNLEN5Zq86NAE6DAkzwGBDpaQ6Z/plain.txt\n```\n\n## Self-Hosted\n\n### Kubernetes\n\nDeploy pastebin-ipfs with [Helm](https://helm.sh/).\n\n```bash\ngit clone https://github.com/mayocream/pastebin-ipfs\ncd pastebin-ipfs/helm\nhelm install pastebin-ipfs .\n```\n\nRefer [values.yaml](./helm/values.yaml) for more detail.\n\n### Docker Compose\n\nEdit [deploy/docker/docker-compose.yml](https://github.com/mayocream/pastebin-ipfs/blob/main/deploy/docker/docker-compose.yml) file.\n\n```bash\ndocker-compose up -d\n```\n\n### Docker\n\nYou must have ipfs-daemon running on your host first.\n\nCheck out IPFS [docker-compose.yml](https://github.com/mayocream/pastebin-ipfs/blob/main/docker-compose.yml).\n\n```bash\ndocker run -p 8080:3939 mayocream/pastebin-ipfs:latest\n```\n\n## Development\n\n```bash\nmake run # start ipfs daemon at http://127.0.0.1:5001\n         # run pastebin API at http://127.0.0.1:3939\nmake web-live # run Webpage\n```\n\n## Feedback\n\nYou can provide suggestion or ask question by open a Github Issue in any languages. 🧐\n\n## Topic\n\nDiscuss about this project!\n\n[Reddit - Pastebin built on IPFS, alternative to Ubuntu Pastebin](https://www.reddit.com/r/ipfs/comments/qaih8i/pastebin_built_on_ipfs_alternative_to_ubuntu/)  \n\n[V2EX - 我做了一个去中心化的 Pastebin， Ubuntu Pastebin 的替代品](https://v2ex.com/t/808227)\n\n## Todo\n\n- [ ] replace ipfs daemon with [ipfs-lite](github.com/hsanjuan/ipfs-lite).\n\n## Credits\n\n- [Web Crypto Encryption and Decryption Example](https://github.com/bradyjoslin/webcrypto-example)\n\n## LICENSE\n\nMIT\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayocream%2Fpastebin-ipfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayocream%2Fpastebin-ipfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayocream%2Fpastebin-ipfs/lists"}