Self Hosting Guide

This is actually a static site! You can host this with any of the followings

Prerequisite

  1. Install Rust.
  2. Install Anki Webify.
    cargo install --git https://github.com/Siriusmart/anki-webify
  3. Download AnkiPub Web Viewer.

Setup

1. Convert Anki Decks to HTML

Export a deck with option "support older Anki versions". Then run command

anki-webify path/to/exported.apkg path-to-target-folder

Great! You now have the HTML version of the Anki deck in the target folder.

2. Update Index

Place the .apkg file and the folder of generated content to the site folder, and edit packages.json accordingly.

3. git push --force

Put the site folder to where you are hosting it, and you are good to go.

DM me on Discord if you need any help, or just come and say hi :D

Pay My Rent (a little bit)

An actual human spent time behind the screen to write this. Hey, that's me!

On a side note just want to mention this is one of the better JavaScript code I've wrote. It is structured so entry.js acts as a router to run the script for the corresponding page. You can check the GitHub repo to see that happening.