{"id":24605501,"url":"https://github.com/imprvhub/bolted-python","last_synced_at":"2025-05-05T16:45:07.840Z","repository":{"id":227146596,"uuid":"770580521","full_name":"imprvhub/bolted-python","owner":"imprvhub","description":"FastAPI-based backend for bolted.url","archived":false,"fork":false,"pushed_at":"2025-02-03T01:01:54.000Z","size":1231,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T22:32:08.534Z","etag":null,"topics":["backend","python","short-link","short-links","supabase"],"latest_commit_sha":null,"homepage":"https://bolted.site","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/imprvhub.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":"2024-03-11T19:48:20.000Z","updated_at":"2025-02-03T01:05:47.000Z","dependencies_parsed_at":"2024-06-12T07:50:46.879Z","dependency_job_id":"6aa76cfe-6f10-44fc-aace-7fb7fd623700","html_url":"https://github.com/imprvhub/bolted-python","commit_stats":null,"previous_names":["imprvhub/bolt-url","imprvhub/bolted-python"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprvhub%2Fbolted-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprvhub%2Fbolted-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprvhub%2Fbolted-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprvhub%2Fbolted-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imprvhub","download_url":"https://codeload.github.com/imprvhub/bolted-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252535541,"owners_count":21763973,"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":["backend","python","short-link","short-links","supabase"],"created_at":"2025-01-24T16:17:48.402Z","updated_at":"2025-05-05T16:45:07.832Z","avatar_url":"https://github.com/imprvhub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Bolted - The spark behind lightning-fast URLs.\n\nA lightning-fast URL shortener showcasing the power of modern web technologies. Originally built with Flask, now evolved into a robust FastAPI backend with a sleek Astro.js + React frontend.\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://bolted.site\" style=\"display: inline-block; padding: 8px 16px; margin: 0 8px; background: linear-gradient(to right, #00E1A5, #00DAF1); color: white; text-decoration: none; border-radius: 4px;\"\u003eLive Demo\u003c/a\u003e\n\u003ca href=\"https://ivanluna.dev/projects/post-python-bolted/\" style=\"display: inline-block; padding: 8px 16px; margin: 0 8px; background: linear-gradient(to right, #00DAF1, #E1F400); color: white; text-decoration: none; border-radius: 4px;\"\u003eProject Details\u003c/a\u003e\n\u003c/div\u003e\n\n![Preview](./public/assets/misc/preview.png)\n\n### Tech Stack\n\n#### Backend (FastAPI)\n- High-performance Python web framework\n- Async support for better scalability\n- Modern API design with automatic OpenAPI documentation\n- Type hints and data validation\n\n#### Frontend (Astro.js + React)\n- Built with Astro.js for optimal performance\n- React components for interactive elements\n- Tailwind CSS for modern styling\n- Responsive and accessible design\n\n### Key Features\n\n#### Modern URL Shortening\n- Quick and efficient URL shortening\n- Clean and intuitive user interface\n- Copy-to-clipboard functionality\n- Automatic HTTPS handling\n\n#### Performance Optimization\n- Server-side rendering with Astro.js\n- Fast API responses with FastAPI\n- Optimized database queries\n\n### Installation\n\n#### Backend Setup\n```bash\ngit clone https://github.com/imprvhub/bolted-python.git\ncd bolted-python/backend\npip install -r requirements.txt\ncp .env.example .env\n```\n\n#### Frontend Setup\n```bash\ncd ../bolted-frontend\nnpm install\nnpm run dev\n```\n\n### Environment Variables\n\n#### Backend (.env)\n```env\nDATABASE_HOST=your_host\nDATABASE_USERNAME=your_username\nDATABASE_PASSWORD=your_password\nDATABASE_NAME=your_database\nHASHIDS_SALT=your_salt\nCORS_ORIGINS=http://localhost:4321\n```\n\n#### Frontend (.env)\n```env\nPUBLIC_API_URL=http://localhost:8000\n```\n\n### Project Evolution\n\nThis project evolved from a monolithic Flask application to a modern, decoupled architecture:\n\nCurrent implementation features:\n- Separation of concerns\n- Enhanced performance\n- Modern development experience\n- Improved maintainability\n\n### Contributing\n\nSubmit a Pull Request for contributions. For major changes, open an issue first to discuss proposed changes.\n\n### Bug Reports \u0026 Feature Requests\n\nCreate an [issue](https://github.com/imprvhub/bolted-python/issues/new) with detailed information about bugs or feature requests.\n\n### License\n\nSee [User Agreement Section](https://bolted.site) for licensing details.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimprvhub%2Fbolted-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimprvhub%2Fbolted-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimprvhub%2Fbolted-python/lists"}