{"id":28465752,"url":"https://github.com/foxyiscoding/tinybin","last_synced_at":"2025-10-06T19:37:14.534Z","repository":{"id":294693603,"uuid":"987765334","full_name":"FoxyIsCoding/TinyBin","owner":"FoxyIsCoding","description":"A pastebin alternative with a much more cleaner interface and other functions","archived":false,"fork":false,"pushed_at":"2025-06-23T16:29:22.000Z","size":2224,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T17:35:27.661Z","etag":null,"topics":["docker","foss","js","mysql","pastebin","self-host","self-hosted","svelte","ts"],"latest_commit_sha":null,"homepage":"https://tinybin.fun","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FoxyIsCoding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"foxyk","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-05-21T14:51:50.000Z","updated_at":"2025-06-23T16:29:26.000Z","dependencies_parsed_at":"2025-06-23T17:39:43.197Z","dependency_job_id":null,"html_url":"https://github.com/FoxyIsCoding/TinyBin","commit_stats":null,"previous_names":["foxyiscoding/pastefox","foxyiscoding/tinybin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FoxyIsCoding/TinyBin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxyIsCoding%2FTinyBin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxyIsCoding%2FTinyBin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxyIsCoding%2FTinyBin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxyIsCoding%2FTinyBin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FoxyIsCoding","download_url":"https://codeload.github.com/FoxyIsCoding/TinyBin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FoxyIsCoding%2FTinyBin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262625975,"owners_count":23339270,"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":["docker","foss","js","mysql","pastebin","self-host","self-hosted","svelte","ts"],"created_at":"2025-06-07T06:07:14.595Z","updated_at":"2025-10-06T19:37:14.431Z","avatar_url":"https://github.com/FoxyIsCoding.png","language":"Svelte","funding_links":["https://ko-fi.com/foxyk","https://ko-fi.com/foxyk)!"],"categories":[],"sub_categories":[],"readme":"# TinyBin\n\nTinyBin is a modern, minimal, and ad-free pastebin for your notes and code.  \nBuilt with Node.js, Express, and MySQL.  \nEasily self-host with Docker!\n\n---\n\n## ✨ Features\n\n- 📝 Create and share notes with unique URLs\n- ⏳ Notes auto-expire after 24 hours or more\n- ⚡ Fast and simple UI\n- 🐳 Easy Docker Compose setup\n\n---\n\n## 🚀 Quick Start (Docker Compose)\n\n### 1. Download `docker-compose.yml`\n\n```sh\ncurl -O -L https://github.com/FoxyIsCoding/TinyBin/raw/refs/heads/main/docker-compose.yml\n```\n\n### 2. Start Everything with Docker Compose\n\n```sh\ndocker-compose up\n```\n\n- This will:\n  - Spin up a MySQL 8 database (with user/password: `pastefox`)\n  - Build and run the PasteFox app (Node.js)\n  - Automatically run DB migrations on startup\n\n### 3. Visit PasteFox\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser.\n\n---\n\n## 🐳 Docker Compose Details\n\n- **MySQL** runs privately on port `3306`, with data persisted in a Docker volume.\n- **PasteFox App** runs publically on port `3000`.\n- Environment variables are set automatically for DB connection.\n\n**You can customize DB credentials in `docker-compose.yml` if needed.**\n\n---\n\n## 🧩 Environment Variables\n\nPasteFox uses these env vars (set automatically in Docker):\n\n- `DB_HOST`, `DB_PORT`, `DB_USER`, `DB_PASSWORD`, `DB_NAME`\n- `WEB_PORT` (default: 3000)\n\n---\n\n## 🗃️ Database Migration\n\nOn every start, PasteFox will auto-create the `notes` table and indexes if they don't exist.  \nNo manual SQL needed!\n\n---\n\n## ❤️ Support\n\nIf you like this project, consider [supporting me on Ko-fi](https://ko-fi.com/foxyk)!  \nYour support keeps PasteFox ad-free and open source.\n\n\n---\n\n## 📄 License\n\nApache License, Version 2.0\n\n---\n\n\n## 🔑 Credits\n\nHuge thank you to [Loudbook](https://github.com/Loudbooks) for design inspiration and Docker help.\nHuge thank you to [Error](https://github.com/Err0r430) for writing out a better backend structure and consulting on how to migrate to a more sophisticated stack. Couldnt have done it without him.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxyiscoding%2Ftinybin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxyiscoding%2Ftinybin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxyiscoding%2Ftinybin/lists"}