{"id":21205862,"url":"https://github.com/liuzhch1/paste-bin","last_synced_at":"2025-10-02T10:30:25.672Z","repository":{"id":262268393,"uuid":"866429072","full_name":"liuzhch1/paste-bin","owner":"liuzhch1","description":"A nice looking Pastebin that just works great. Play with the demo ↓ https://paste-bin.demos.liuzhch1.com/","archived":true,"fork":false,"pushed_at":"2024-12-12T13:14:36.000Z","size":455,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T23:11:14.324Z","etag":null,"topics":["docker","fusejs","monaco-editor","nuxt","pastebin","prisma-orm","self-hosted","shiki"],"latest_commit_sha":null,"homepage":"https://paste-bin.demos.liuzhch1.com/","language":"Vue","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/liuzhch1.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":"2024-10-02T08:41:21.000Z","updated_at":"2024-12-24T14:07:01.000Z","dependencies_parsed_at":"2024-11-11T14:41:06.840Z","dependency_job_id":"e44760ee-e35a-4cdc-be13-84fe288cd3ea","html_url":"https://github.com/liuzhch1/paste-bin","commit_stats":null,"previous_names":["liuzhch1/paste-bin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liuzhch1/paste-bin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzhch1%2Fpaste-bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzhch1%2Fpaste-bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzhch1%2Fpaste-bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzhch1%2Fpaste-bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liuzhch1","download_url":"https://codeload.github.com/liuzhch1/paste-bin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liuzhch1%2Fpaste-bin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277993665,"owners_count":25911856,"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","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["docker","fusejs","monaco-editor","nuxt","pastebin","prisma-orm","self-hosted","shiki"],"created_at":"2024-11-20T20:53:19.526Z","updated_at":"2025-10-02T10:30:25.364Z","avatar_url":"https://github.com/liuzhch1.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# J's Pastebin\n\n\nIt's too annoying to send code snippet files through Airdrop or whatever, so I made this.\n\nTry it out: https://paste-bin.demos.liuzhch1.com/\n\n## Features\n\n- Dark / Light mode\n- Code highlight with themes\n- Really short paste link, starting with one letter: `/pastes/a`\n- VSCode like editor(Monaco)\n- Search all pastes\n- Nice looking UI\n- Export data supported\n\n## Screenshot\n![screenshot](https://github.com/user-attachments/assets/1a1d8199-f65e-4e60-96df-ab3a0886f45a)\n\n## Deploy\n\n### With Docker\n\n```sh\ndocker build -t pastebin .\ndocker run -d -p 3000:3000 pastebin\n```\n\nThe sqlite file stored in the docker container.\n\n### Locally\n\n```sh\npnpm install\npnpm build\nexport DATABASE_URL=\"file:/path/to/sqlite.db\"\npnpm prisma generate\npnpm prisma migrate deploy\nnode .output/server/index.mjs\n```\n\n## Tech stack\n\n- [Nuxt 3](https://nuxt.com/) for the frontend and simple backend. [Nuxt UI](https://ui.nuxt.com/) and [Color-Mode](https://color-mode.nuxtjs.org/) plugins are used\n- [Monaco Editor](https://microsoft.github.io/monaco-editor/) for the code editor\n- [Shiki](https://shiki.matsu.io/) for the syntax highlighting\n- [Fuse.js](https://fusejs.io/) for the search functionality\n- [Prisma](https://prisma.io/) for the database ORM with SQLite\n\n## Development\n\n```sh\npnpm install\npnpm dev\n```\n\n[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fliuzhch1%2Fpaste-bin\u0026count_bg=%23A78BFA\u0026title_bg=%23555555\u0026icon=pastebin.svg\u0026icon_color=%23E7E7E7\u0026title=hits\u0026edge_flat=false)](https://hits.seeyoufarm.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuzhch1%2Fpaste-bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuzhch1%2Fpaste-bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuzhch1%2Fpaste-bin/lists"}