Skip to content

mdnwvn/notillegal.link

Repository files navigation

notillegal.link

A dumb little site that makes links sketchy

Why does this exist?

Well you see, I bought this domain 4 years ago and it's been draining my bank account ever since so I thought I'd finally get around to doing what I've always meant to do on it. I whipped this up in the better part of an hour, so I'd say it turned out half decent.

Code graciously used from these ancient StackOverflow posts:

The random slug generator is just drawing from the onelistforall micro wordlist here:

Usage

There's a build.sh that automatically stashes then clears the stash of the current directory, syncs the repo using the Github CLI, before finally installing deps and building the SvelteKit app. This is mostly a script for personal use to quickly updated the hosted version after committing a change to the repo.

The original SvelteKit readme explains how to actually get started with Sveltekit so here's that:

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Releases

No releases published

Packages

No packages published

Languages