{"id":27873259,"url":"https://github.com/vaibhav135/url-shortner","last_synced_at":"2026-03-05T00:03:39.597Z","repository":{"id":197280745,"uuid":"698222446","full_name":"vaibhav135/url-shortner","owner":"vaibhav135","description":"A Simple url shortner with next.js","archived":false,"fork":false,"pushed_at":"2024-08-19T19:26:04.000Z","size":9069,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T01:08:44.361Z","etag":null,"topics":["nextjs13","postgresql","tailwindcss","typescript","url-shortener"],"latest_commit_sha":null,"homepage":"https://shorty-url.vaibhav135.com","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/vaibhav135.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}},"created_at":"2023-09-29T12:39:39.000Z","updated_at":"2024-11-05T14:47:35.000Z","dependencies_parsed_at":"2023-10-23T18:37:20.592Z","dependency_job_id":"b93875aa-ceb0-4f84-ad41-7e405474e15e","html_url":"https://github.com/vaibhav135/url-shortner","commit_stats":null,"previous_names":["vaibhav135/url-shortner"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vaibhav135/url-shortner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaibhav135%2Furl-shortner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaibhav135%2Furl-shortner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaibhav135%2Furl-shortner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaibhav135%2Furl-shortner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaibhav135","download_url":"https://codeload.github.com/vaibhav135/url-shortner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaibhav135%2Furl-shortner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30101703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T23:59:36.199Z","status":"ssl_error","status_checked_at":"2026-03-04T23:56:48.556Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["nextjs13","postgresql","tailwindcss","typescript","url-shortener"],"created_at":"2025-05-05T01:08:40.951Z","updated_at":"2026-03-05T00:03:39.539Z","avatar_url":"https://github.com/vaibhav135.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# url-shortner\nA simple URL shortener built with Next.js, TypeScript, PostgreSQL, and Tailwind CSS.\n\n## Features\n- **Shorten URLs**: Create short links for long URLs.\n- **Redirection**: Redirect to the original URL when accessing the short link.\n- **API**: REST API for shortening URLs programmatically.\n- **QR Code Generation**: Instantly generate a QR code for each short link, allowing for quick access on mobile devices.\n\n## Installation\n\n1. Clone the repository:\n\n    \n```bash\ngit clone https://github.com/vaibhav135/url-shortner.git\ncd url-shortner\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Set up environment variables:\n\n   Create a .env file in the root directory and configure the required environment variables (e.g., database connection, API keys).\n\n4. Run database migrations:\n\n```bash\nnpx prisma migrate dev\n```\n\n5. Start the development server:\n```bash\nnpm run dev\n```\n\n## Usage\n\nAccess the application in your browser at http://localhost:3000.\nUse the form to shorten your URL.\nUse the generated short link to be redirected to the original URL.\n\n## Technologies Used\n\n- **Next.js**: Framework for building server-side rendered React applications.\n- **TypeScript**: Typed superset of JavaScript for better code quality.\n- **PostgreSQL**: Database for storing URLs and their short versions.\n- **Tailwind CSS**: Utility-first CSS framework for styling.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request.\nLicense\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaibhav135%2Furl-shortner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaibhav135%2Furl-shortner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaibhav135%2Furl-shortner/lists"}