An open-source URL Shortener written in SvelteKit with PocketBase.
Svelte Shortener is a web application built with SvelteKit and PocketBase. It allows users to shorten URLs and manage them within a database. The application provides authentication for users and ensures that only verified users can create links. With the ability to deploy the application using Vercel or manually, Svelte Shortener offers flexibility in hosting options.
To install and run Svelte Shortener:
git clone [repository-url]
npm install
Set up PocketBase:
./pocketbase serve
This will start a PocketBase instance at 127.0.0.1:8090.
Import the schema in PocketBase:
Create a new verified user in PocketBase:
Create an .env file in the project’s root directory and add the following variable:
POCKETBASE_URL - The URL of your PocketBase instance (without /_/ or /api/)
npm run dev
This will start the SvelteKit instance.
Svelte Shortener is a web application that allows users to shorten URLs securely. Built with SvelteKit and PocketBase, it offers features such as URL shortening, authentication, and flexible deployment options. By following the installation guide, users can set up their own instance of Svelte Shortener and start managing their shortened links.