diskmag-viewer-svelte Svelte Themes

Diskmag Viewer Svelte

Probably a pointless experiment for an old-fashioned diskmag viewer in 21st century. Mostly vibe-coded, as I am a slow frontend developer.

Sort of an old-fashioned diskmag viewer

It doesn't look old fashioned, it's using a modern web design, it can display markdown files, and most importantly, this project doesn't make any sense these days, probably.

I just wanted to learn more about frontend development, and for that reason, I vibe-coded something I would personally struggle with for quite some time.

How to Build & Configure

You can build the application for any subdirectory by setting the BASE_PATH environment variable.

Option A: Development (Localhost) If you want to test the prefix locally:

# Mac/Linux
BASE_PATH=/my-folder npm run dev

# Windows (PowerShell)
$env:BASE_PATH="/my-folder"; npm run dev

*Access it at http://localhost:5173/my-folder/*

Option B: Production Build When building for deployment:

# Example: deploying to https://example.com/diskmag
BASE_PATH=/diskmag.svelte npm run build

This will produce the build in build/ or dist/ (depending on your adapter) with all assets and links correctly prefixed with /diskmag.svelte.

Top categories

Loading Svelte Themes