Note This project is a SvelteKit implementation of Nuxt Onelink by @fayazara.
Onelink is an experimental link-in-bio tool, where the data lives in the URL.
Note Since the URL can become very long, it's better to use a link shortener like https://dub.sh
The data is converted to a base 64 string which we onelink uses as a query parameter. I have tried to reduce the json keys to be as small as possible
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Start the development server on http://localhost:3000
npm run dev -- --open
Build the application for production:
npm run build
Locally preview production build:
npm run preview