Skip to content

Creaous/self-hosted-linktree

Repository files navigation

Self Hosted Linktree

This project aims to implement a basic single page website to display a list of user links.

Customisation

You should change your values in src/values.ts and update the image in static/favicon.png.

Note 1: Provide a circular 96x96 image for best performance since higher res is useless.

Note 2: If you upgrade the project, ensure that these files are skipped!

Testing

We use pnpm but you should be able to use any package manager.

  1. Install dependencies: pnpm i
  2. Start a development server: pnpm dev

Deployment

Once you're ready to deploy, you can follow these steps.

Standard

  1. Install dependencies: pnpm i
  2. Start a development server: pnpm build
  3. Ensure everything looks good: pnpm preview

Cloudflare Pages

  1. Install the adapter: pnpm i -D @sveltejs/adapter-cloudflare
  2. Edit svelte.config.js:
    - import adapter from '@sveltejs/adapter-auto';
    + import adapter from '@sveltejs/adapter-cloudflare';
  3. Deploy to Cloudflare pages!

About

Self-host your own custom links page!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors