A simple and fast URL shortener built with SvelteKit.
git clone https://github.com/zoelabbb/svelte-shorten.git
cd svelte-shorten.git
pnpm install # or npm install or yarn install
pnpm run dev # or npm run dev or yarn dev
Open your browser and visit http://localhost:5173
to see the app in action.
To build the app for production, run:
pnpm run build # or npm run build or yarn build
You can preview the production build with:
pnpm run preview # or npm run preview or yarn preview
To deploy the app, you may need to install an adapter for your target environment.
POST /shorten
- Shortens a given URLGET /:shortUrl
- Redirects to the original URLThis project is licensed under the MIT License.