{"id":18229270,"url":"https://github.com/timooo-thy/url-shortener","last_synced_at":"2026-04-11T01:04:31.697Z","repository":{"id":260876278,"uuid":"882582277","full_name":"timooo-thy/url-shortener","owner":"timooo-thy","description":"URL Shortener","archived":false,"fork":false,"pushed_at":"2024-11-18T04:31:19.000Z","size":352,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T05:42:30.507Z","etag":null,"topics":["hono","nextjs","postgresql","prisma","redis","shadcn-ui","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://shoooort.vercel.app/","language":"TypeScript","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/timooo-thy.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-11-03T07:16:46.000Z","updated_at":"2024-11-18T04:31:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"f50adbbb-a3c6-43a8-8204-b5a39a3f0a67","html_url":"https://github.com/timooo-thy/url-shortener","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"21d47a4b560e843720e92fcff3e09d0827307174"},"previous_names":["timooo-thy/url-shortener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Furl-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Furl-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Furl-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Furl-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timooo-thy","download_url":"https://codeload.github.com/timooo-thy/url-shortener/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247808519,"owners_count":20999748,"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":["hono","nextjs","postgresql","prisma","redis","shadcn-ui","tailwindcss","typescript"],"created_at":"2024-11-04T09:03:46.690Z","updated_at":"2025-10-22T21:36:34.111Z","avatar_url":"https://github.com/timooo-thy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Modern URL Shortener\n\nA high-performance URL shortening service built with Next.js, TypeScript, Hono, Redis, and PostgreSQL.\n\n## 🚀 Features\n\n- Fast URL shortening [x]\n- High-performance redirects using Redis caching [x]\n- RESTful API built with Hono middleware [x]\n- Automatic URL expiration [x]\n- Built-in rate limiting [x]\n- TypeScript for type safety [x]\n- Responsive web interface [x]\n\n## 🏗️ Architecture\n\n- **Frontend**: Next.js with TypeScript and shadcn/ui\n- **API Layer**: Hono middleware for efficient routing (RPC)\n- **Caching**: Redis for high-speed lookups\n- **Database**: PostgreSQL for permanent storage\n- **ORM**: Prisma for type-safe database operations\n\n## 🔧 Technical Highlights\n\n- Redis pipelining for atomic operations\n- Efficient caching with automatic TTL refresh\n- Database connection pooling\n- Edge-ready with Vercel deployment\n- Rate limiting using Redis\n- Type-safe API endpoints\n\n## 📦 Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/timooo-thy/url-shortener.git\n\n# Install dependencies\nnpm install\n\n# Set up environment variables\ncp .env.example .env.local\n\n# Push database changes\nnpx primsa db push\n\n# Start development server\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimooo-thy%2Furl-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimooo-thy%2Furl-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimooo-thy%2Furl-shortener/lists"}