npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@czjstmax/vnk

v1.0.5

Published

vnk or VNook is a fork of nook-desktop, reimagined for VN fans and extensibility

Downloads

927

Readme

vnk (or VNook)

the current default tracklist is still a TODO.

vnk is a fork of Nook Desktop by mn6, reimagined for visual novel lovers and self-hostability.

instead of Animal Crossing hourly music, vnk plays BGMs from Key visual novels (like CLANNAD) and is also easily self-hostable.

i also decided to remove all the telemetry present in Nook from vnk

modified files may contain a summary explanation of the codebase given what i understood from reading it


how it works

vnk is an electron app. it has two windows:

  • app/main/ - the visible UI (HTML + jquery), sends commands to the player via electron IPC.
  • app/hidden/ - an invisible audio engine (player.js), does all actual audio work.
  • index.js - the clectron main process, creates both windows, handles tray, relays IPC.

codebase map

vnook/
├── index.js                   ←  electron main. tray, window creation, IPC relay.
├── package.json               ←  app name, build config, dependencies.
│
├── app/
│   ├── vn.json                ←  add sound metadata here (id, name, tracks[])
│   ├── release-log.json       ←  in-app changelog
│   │
│   ├── hidden/
│   │   └── player.js          ←  audio engine. to self-host change BASE_URL here too.
│   │
│   └── main/
│       ├── index.html         ←  shell HTML (just loads CSS + main.js)
│       ├── js/
│       │   ├── main.js        ←  UI logic, DOM template and event wiring
│       │   └── i18n/          <- contains the translations for the UI
│       └── css/
│           └── main.css       <- contains styles

adding a new VN

  1. open app/vn.json
  2. add an entry:
{
  "id": "game_id",
  "name": "fancy game name",
  "tracks": ["Track 1", "Track 2", "Track 3"],
  "description": "a cool description for a fancy game"
}
  1. put your audio files on your server at <BASE_URL>/game_id/Track 1.mp3 etc.

that's it. no code changes needed.


changing the audio source (BASE_URL)

option a: change the hardcoded default

In app/hidden/player.js, almost at the top:

const BASE_URL = 'https://website.tld'

option b: set it at runtime (in-app)

open settings -> "Custom audio server URL" -> type your URL -> Save. this is stored in local settings and overrides the default.

expected URL format

<BASE_URL>/<vnId>/<trackName>.mp3

example: http://localhost:8080/clannad/Nagisa.mp3

rain sounds:

<BASE_URL>/rain/rain.mp3
<BASE_URL>/rain/no-thunder-rain.mp3
<BASE_URL>/rain/game-rain.mp3

where to find VN music

(!) vnk does not bundle any copyrighted audio. you need to supply your own files. here's where to look:

khinsider (best option)

https://downloads.khinsider.com - massive VGM archive, has free FLAC and MP3 downloads.

useful pages:

  • CLANNAD OST: downloads.khinsider.com/game-soundtracks/album/clannad-video-game-original-soundtrack
  • CLANNAD PSP gamerip: downloads.khinsider.com/game-soundtracks/album/clannad-psp-gamerip-2008
  • AIR OST: downloads.khinsider.com/game-soundtracks/album/air-original-soundtrack-ive
  • Little Busters: search "little busters" on the site

download the MP3s, name them to match the tracks array in vn.json, serve with any static file server.

self-hosting vnk

# put your .mp3 files in a folder structure like:
# audio/clannad/Nagisa.mp3
# audio/clannad/Snowfield.mp3

npx serve audio -p 8080
# then set BASE_URL to http://localhost:8080
# or just point BASE_URL to your domain

running vnk

npm install
npm start

building vnk

npm run pack
npm run dist

credits

  • Nook Desktop by mn6 - the original app this is forked from.
  • VN music (c) Key / Visual Arts - please support the creators.