{"id":27379392,"url":"https://github.com/phantomknight287/url-shortner","last_synced_at":"2026-04-11T07:42:30.807Z","repository":{"id":115759673,"uuid":"541720053","full_name":"PhantomKnight287/url-shortner","owner":"PhantomKnight287","description":"URL shortener built using Nextjs and Postgresql","archived":false,"fork":false,"pushed_at":"2023-09-14T06:05:34.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-11T07:42:29.118Z","etag":null,"topics":["neondb","nextjs","postgresql","prisma"],"latest_commit_sha":null,"homepage":"https://shortly.cantcode.fyi/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhantomKnight287.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-09-26T18:07:42.000Z","updated_at":"2024-05-16T08:06:54.000Z","dependencies_parsed_at":"2023-12-05T23:15:08.062Z","dependency_job_id":null,"html_url":"https://github.com/PhantomKnight287/url-shortner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PhantomKnight287/url-shortner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomKnight287%2Furl-shortner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomKnight287%2Furl-shortner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomKnight287%2Furl-shortner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomKnight287%2Furl-shortner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhantomKnight287","download_url":"https://codeload.github.com/PhantomKnight287/url-shortner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhantomKnight287%2Furl-shortner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31673067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"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":["neondb","nextjs","postgresql","prisma"],"created_at":"2025-04-13T13:45:57.125Z","updated_at":"2026-04-11T07:42:30.796Z","avatar_url":"https://github.com/PhantomKnight287.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" \u003e\n    URL Shortener\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  A simple URL shortener made with Nextjs and PostgreSQL\n\u003c/h4\u003e\n\n### Usage\n\nGo [here](https://shortly.cantcode.fyi) to use the app.\n\n## Setting Up Locally\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/en/)\n- [PostgreSQL](https://www.postgresql.org/)(you can use neondb if you want to host it for free)\n\n### Setting up the project\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/phantomknight287/url-shortner.git\n```\n\n2. Install dependencies\n\n```bash\npnpm install\n```\n\n3. Create a .env file in the root directory and add the following\n\n```bash\nDATABASE_URL=postgres://username:password@localhost:5432/database\n```\n\n4. Push the database schema to your database\n\n```bash\nnpx prisma db push\n```\n\n5. Run the development server\n\n```bash\npnpm dev\n```\n\n6. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomknight287%2Furl-shortner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphantomknight287%2Furl-shortner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantomknight287%2Furl-shortner/lists"}