{"id":25753620,"url":"https://github.com/santosl2/url-shortener","last_synced_at":"2026-04-10T14:39:18.683Z","repository":{"id":278635244,"uuid":"936271068","full_name":"Santosl2/url-shortener","owner":"Santosl2","description":"Project built in React, Next, SQLite and Drizzle ORM","archived":false,"fork":false,"pushed_at":"2025-02-20T20:22:03.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-20T21:24:54.919Z","etag":null,"topics":["drizzle-orm","nextjs","react","sqlite"],"latest_commit_sha":null,"homepage":"https://url-shortener-three-psi.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/Santosl2.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":"2025-02-20T20:04:41.000Z","updated_at":"2025-02-20T20:22:07.000Z","dependencies_parsed_at":"2025-02-20T21:25:08.757Z","dependency_job_id":"f81c56ce-6e44-44e2-abcd-0211ee9d4af6","html_url":"https://github.com/Santosl2/url-shortener","commit_stats":null,"previous_names":["santosl2/url-shortener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Santosl2%2Furl-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Santosl2%2Furl-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Santosl2%2Furl-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Santosl2%2Furl-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Santosl2","download_url":"https://codeload.github.com/Santosl2/url-shortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240876859,"owners_count":19871904,"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":["drizzle-orm","nextjs","react","sqlite"],"created_at":"2025-02-26T15:18:59.025Z","updated_at":"2025-12-30T19:38:24.740Z","avatar_url":"https://github.com/Santosl2.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Shortener\n\nThis is a modern, user-friendly URL shortener specifically designed for URLs. Built with Next.js and React, it offers a sleek interface for shortening URLs, with features like custom slugs and link history.\n\n![URL Shortener Project](image-1.png)\n\n## Features\n\n- Shorten url links with a single click\n- Create custom slugs for memorable short links\n- View and manage your link history\n- Responsive design for desktop and mobile\n- Client-side link storage for quick access to your shortened links\n- Error handling and user-friendly error pages\n\n## Tech Stack\n\n- [Next.js](https://nextjs.org/) - React framework for production\n- [React](https://reactjs.org/) - JavaScript library for user interfaces\n- [Shadcn](https://shadcn.com/) - Component library for React\n- [TypeScript](https://www.typescriptlang.org/) - Typed superset of JavaScript\n- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework\n- [Zod](https://github.com/colinhacks/zod) - TypeScript-first schema validation\n- [React Hook Form](https://react-hook-form.com/) - Performant, flexible and extensible forms\n- [Lucide React](https://lucide.dev/) - Beautiful \u0026 consistent icon toolkit\n- [Drizzle ORM](https://orm.drizzle.team/) - ORM\n- [SQLite](https://www.sqlite.org/index.html) - Embedded SQL database engine\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 20 or newer\n- npm or yarn\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone git@github.com:Santosl2/url-shortener.git\n   cd url-shortener\n   ```\n\n2. Install the dependencies:\n\n   ```bash\n   npm install\n   # or\n   yarn install\n   ```\n\n3. Run the database migrations:\n\n   ```bash\n   npm run migrate\n   # or\n   yarn migrate\n   ```\n\n4. Run the development server:\n\n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   ```\n\n5. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Usage\n\n1. Enter in the input field.\n2. Click \"Shorten It\" to generate a short link.\n3. Copy the generated short link to use or share.\n4. View your link history below the form.\n\n## Project Structure\n\n```\nurl-shortener/\n├── app/\n│   ├── page.tsx\n│   └── error.tsx\n├── components/\n│   ├── generated-links.tsx\n│   ├── layout.tsx\n│   ├── logo.tsx\n│   ├── short-url-display.tsx\n│   └── url-input.tsx\n├── lib/\n│   ├── schema.ts\n│   ├── storage.ts\n│   └── types.ts\n├── public/\n├── styles/\n│   └── globals.css\n├── README.md\n├── next.config.js\n├── package.json\n└── tsconfig.json\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- [Vercel](https://vercel.com) for the Next.js framework and hosting platform\n- [Figma](https://www.figma.com) for inspiration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosl2%2Furl-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantosl2%2Furl-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosl2%2Furl-shortener/lists"}