{"id":24590395,"url":"https://github.com/gingantic/pastein","last_synced_at":"2026-04-16T04:31:51.829Z","repository":{"id":273171061,"uuid":"914611860","full_name":"gingantic/pastein","owner":"gingantic","description":"Pastein is online text hosting and text sharing build on top of django","archived":false,"fork":false,"pushed_at":"2025-04-20T10:47:13.000Z","size":164,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T13:01:33.993Z","etag":null,"topics":["django","django-project","minimalist","pastebin","python3","self-hosted","sharing","vercel"],"latest_commit_sha":null,"homepage":"https://pastein.my.id/","language":"Python","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/gingantic.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-10T00:05:40.000Z","updated_at":"2025-04-20T10:48:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"31b975af-1c45-4861-82c1-cd47efd28c27","html_url":"https://github.com/gingantic/pastein","commit_stats":null,"previous_names":["gingantic/pastein"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gingantic/pastein","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingantic%2Fpastein","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingantic%2Fpastein/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingantic%2Fpastein/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingantic%2Fpastein/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gingantic","download_url":"https://codeload.github.com/gingantic/pastein/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gingantic%2Fpastein/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31871485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["django","django-project","minimalist","pastebin","python3","self-hosted","sharing","vercel"],"created_at":"2025-01-24T09:13:02.861Z","updated_at":"2026-04-16T04:31:51.800Z","avatar_url":"https://github.com/gingantic.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pastein\n\nPastein is a modern, feature-rich clone of Pastebin created for practice and learning purposes. It allows users to store, share, and manage text snippets online effortlessly. Built with Django, a high-level Python web framework.\n\n## 🌟 Features\n\n- **User Authentication:** Login, registration, and logout functionality.\n- **Paste Management:** Create, view, edit, expired, and delete pastes.\n- **Visibility Options:** Set paste visibility to public, unlisted, or private.\n- **Secure Pastes:** Option to password-protect your pastes.\n- **Profile Management:** Update your profile and upload a profile picture.\n- **CAPTCHA Protection:** Integrated Cloudflare Turnstile to prevent spam.\n- **Dark Mode:** User-friendly dark mode support for enhanced usability.\n- **Responsive Design:** Fully responsive design built with Bootstrap.\n- **Embedded Features:** Embedded your text to your website.\n- **Fast and Secure???**\n\n## 🌐 Live Demo\n\n- [https://pastein.my.id/](https://pastein.my.id/)\n- [https://django-pastein.vercel.app/](https://django-pastein.vercel.app/)\n\n## ✅ Requirements\n\n- Python 3.9 or higher\n- PostgreSQL or MySQL database\n- S3-compatible storage for media files\n- Redis for caching\n\n## 🚀 Installation\n\nFollow these steps to set up the Pastein project locally:\n\n1. **Clone the repository:**\n    ```sh\n    git clone https://github.com/gingantic/pastein.git\n    cd pastein\n    ```\n\n2. **Create a virtual environment:**\n    ```sh\n    python3 -m venv venv\n    source venv/bin/activate  # Linux/macOS\n    venv\\Scripts\\activate     # Windows\n    ```\n\n3. **Install the required dependencies:**\n    ```sh\n    pip install -r requirements.txt\n    pip install -r requirements-debug.txt # optional: for debugging in local\n    ```\n\n4. **Set up environment variables:**  \n   Create a `.env` file using the example provided in `.env.dummy`:\n    ```sh\n    nano .env\n    ```\n\n5. **Apply migrations:**\n    ```sh\n    python manage.py makemigrations\n    python manage.py migrate\n    ```\n\n6. **Collect static files:**\n    ```sh\n    python manage.py collectstatic\n    ```\n\n7. **Run the development server:**\n    ```sh\n    python manage.py runserver\n    ```\n\nAlternatively, deploy it on Vercel:\n\n[![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/gingantic/pastein.git)\n\n\u003e **Note:**  \n\u003e To make the hit/view counter work, visit or using cron to `api/update-views/` with a header containing:  \n\u003e `Authorization: Bearer \u003ccron-secret-key\u003e`\n\n## 📖 Usage\n\n1. Visit the website in your web browser.\n2. You can register an account or log in or just leave it.\n3. Create, view, edit, and delete pastes.\n4. You can manage your profile and upload a profile picture.\n\n## 📋 TODO List\n\nHere are some planned features and improvements for Pastein:\n\n- [ ] Improve the UI/UX.\n- [ ] Admin Panels.\n- [ ] Optimize database queries for better performance.\n- [ ] Create an API for external integration (e.g., third-party apps).\n- [X] Syntax Highlighting.\n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to fork the repository, make changes, and submit a pull request.\n\n## 📜 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## 📬 Contact\n\nIf you have any questions, feedback, or suggestions, feel free to contact me on [GitHub](https://github.com/gingantic).\n\nThank you for using Pastein!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgingantic%2Fpastein","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgingantic%2Fpastein","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgingantic%2Fpastein/lists"}