{"id":13520258,"url":"https://github.com/vlntsolo/fastapi-urlshortener","last_synced_at":"2026-04-26T08:31:42.872Z","repository":{"id":195210525,"uuid":"481354235","full_name":"vlntsolo/fastapi-urlshortener","owner":"vlntsolo","description":"Blazing fast URL shortener built with FastAPI and async Postgres","archived":false,"fork":false,"pushed_at":"2022-04-13T19:55:31.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T01:06:27.960Z","etag":null,"topics":["asyncpg","fastapi","sqlalchemy","url-shortener"],"latest_commit_sha":null,"homepage":"","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/vlntsolo.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}},"created_at":"2022-04-13T19:48:06.000Z","updated_at":"2022-04-13T19:50:48.000Z","dependencies_parsed_at":"2023-09-17T01:45:23.556Z","dependency_job_id":null,"html_url":"https://github.com/vlntsolo/fastapi-urlshortener","commit_stats":null,"previous_names":["vlntsolo/fastapi-urlshortener"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vlntsolo/fastapi-urlshortener","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlntsolo%2Ffastapi-urlshortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlntsolo%2Ffastapi-urlshortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlntsolo%2Ffastapi-urlshortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlntsolo%2Ffastapi-urlshortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlntsolo","download_url":"https://codeload.github.com/vlntsolo/fastapi-urlshortener/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlntsolo%2Ffastapi-urlshortener/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32290500,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T08:29:33.829Z","status":"ssl_error","status_checked_at":"2026-04-26T08:29:18.366Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["asyncpg","fastapi","sqlalchemy","url-shortener"],"created_at":"2024-08-01T05:02:15.817Z","updated_at":"2026-04-26T08:31:42.856Z","avatar_url":"https://github.com/vlntsolo.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Blazing fast URL shortener 🚀\n\nThis url shortener is built with FastAPI and asyncpg driver for Postgres, so you can expect it to be pretty responsive (3-6 ms).\n\n## Getting started with local server\n\n1. CD into project root and install python packages with `pipenv install` or you with preffered package manager.\n2. Spin up new local postgres database. This setup uses Postgres *asyncpg* driver.\n3. Create `.env` file with the following contents and modify your postgres credentials/db name.\n\n```\nDATABASE_URL=postgresql+asyncpg://postgres:root@localhost/dbname\nAPPLICATION_SECRET=123456\nCURRENT_HOST=http://127.0.0.1:8000\nPRIVATE_MODE=False\nENV_NAME=development\n```\n4. Run `uvicorn app:app --reload`\n5. Inspect API documentation served with Swagger [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)\n\n## Private mode\n\nIf your don't want to go public, then set `PRIVATE_MODE=True` and adjust your client request headers to include Authorization token.\n\nSample:\n`\"Authorization\": \"Bearer {APPLICATION_SECRET}\"`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlntsolo%2Ffastapi-urlshortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlntsolo%2Ffastapi-urlshortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlntsolo%2Ffastapi-urlshortener/lists"}