hashcards-setup

Install and configure a hashcards spaced repetition server with auto-restart.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/ankitjh4/skill-builder --skill hashcards-setup-ankitjh4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hashcards-setup
Source: https://github.com/ankitjh4/skill-builder/tree/main/hashcards-setup
Command: npx skills add https://github.com/ankitjh4/skill-builder --skill hashcards-setup-ankitjh4

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the setup of a web-accessible spaced repetition flashcard system so you can study and retain information using scheduled reviews.

Core Features & Use Cases

  • Build and run hashcards from source: Installs prerequisites (Git, Rust/Cargo, SQLite dev libraries), compiles the hashcards binary, and installs it for use.
  • Create a persistent flashcard workspace: Creates /home/workspace/flashcards/ and stores card files as plain Markdown for easy editing and sharing with other commands.
  • Register a durable service with auto-restart: Runs the server on port 8000 and exposes it via an HTTPS URL like https://srs-<your-username>.zocomputer.io with persistent storage in hashcards.db.
  • Supports practical card authoring patterns: Uses Q&A format, cloze deletions (C: with bracketed text), plus Markdown and LaTeX (KaTeX) for richer study content.

Quick Start

Ask Zo to set up hashcards using the hashcards-setup skill so your spaced repetition system is available at https://srs-<your-username>.zocomputer.io.

Frequently Asked Questions about hashcards-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a self-hosted spaced repetition flashcard server?

Setting up a self-hosted spaced repetition server requires Git, Rust/Cargo, and SQLite dev libraries to compile the hashcards binary. The skill then configures a persistent service that automatically restarts and exposes your flashcards via an HTTPS endpoint.

What is the FSRS algorithm and how does it schedule flashcard reviews?

The FSRS algorithm is a spaced repetition scheduling method used by the hashcards server to optimize flashcard review timing. It determines when to show cards based on your learning history to maximize retention and minimize study time.

Do I need Rust and Cargo installed to run a spaced repetition web service?

Yes, you need Rust and Cargo installed to run this spaced repetition web service. The skill compiles the hashcards binary from source, requiring Git and SQLite dev libraries alongside the Rust toolchain to build and deploy the server.

Can I use Markdown and LaTeX when creating flashcards for spaced repetition?

Yes, you can use Markdown and LaTeX (KaTeX) when creating flashcards for spaced repetition. The system stores cards as plain Markdown files, supporting Q&A formats, cloze deletions, and mathematical notation for richer study content.

How do I make my flashcard server restart automatically after a reboot?

To make your flashcard server restart automatically, this skill registers a durable service with auto-restart capabilities. It configures the service entrypoint, working directory, and environment variables to ensure continuous operation and persistent storage in a SQLite database.