selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

scholarsome logo

Self-host scholarsome

v1.2.0

Open-source flashcard learning system with LaTeX support

BetaOpen SourceAGPL-3.0
Updatedlast year
LanguageTypescript
Setup difficultyModerate
Stars
792
Ports
80 (HTTP web interface), 8443 (HTTPS web interface (optional SSL))
Requires
MariaDB, Redis
Docker
hwgilbert16/scholarsome
Install with Docker
Scholarsome homepage showing the main interface

What is scholarsome?

Scholarsome is a web-based, open-source flashcard learning system designed as a drop-in replacement for proprietary study platforms. It lets users create study sets with LaTeX math expressions, import and export from Anki, Quizlet, and CSV, study via multiple learning modes, and create quizzes with fill-in-the-blank, true/false, and multiple-choice questions. The application is self-hosted via Docker Compose (recommended, includes MariaDB and Redis) or standalone Docker with external databases. It is licensed under AGPL-3.0 and actively developed, though features like spaced repetition and a user-accessible API are still on the roadmap.

scholarsome alternatives

Should you self-host scholarsome?

scholarsome scores 52/100 on selfhost.directory (how scoring works) and ranks #7 of 30 in Education. It has 792 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is CTFd (70/100, 6 890 stars). It scores higher overall, so compare the two before you pick. See scholarsome vs CTFd side by side.

Features

  • Create study sets
  • Editing permission sharingListed as 'coming soon' in the README.
  • Edit study sets
  • Export to Anki, Quizlet, CSV
  • Import from Anki, Quizlet, CSV
  • Improved profile pageListed as 'coming soon' in the README.
  • Interactive study gamesListed as 'coming soon' in the README.
  • LaTeX math support
  • Multiple learning modes
  • Quiz creation
  • Quiz results persistenceListed as 'coming soon' in the README.
  • Set visibility control
  • Share study sets
  • Spaced RepetitionListed as 'coming soon' in the README.
  • User-accessible APIListed as 'coming soon' in the README.

scholarsome README

An open source system for flashcard studying.

Inspired by the larger sites that are now charging for core functionality, Scholarsome intends to be a drop-in replacement for any study workflow.

Pricing Tweet

Featured on HackerNews

How to install scholarsome

Install scholarsome with Docker

Environment variables
NODE_ENV, DATABASE_URL, JWT_SECRET, HTTP_PORT, HOST, STORAGE_TYPE, REDIS_HOST, REDIS_PORT, REDIS_USERNAME, REDIS_PASSWORD, STORAGE_LOCAL_DIR, S3_STORAGE_*, SMTP_*, SSL_*, SCHOLARSOME_RECAPTCHA_*, SCHOLARSOME_HEAD_SCRIPTS_BASE64

mkdir ~/scholarsome && cd ~/scholarsome docker pull hwgilbert16/scholarsome wget https://raw.githubusercontent.com/hwgilbert16/scholarsome/release/.env.docker.example && cp .env.docker.example .env

Edit .env with required values including DATABASE_URL, REDIS_*

mkdir ~/scholarsome-media && docker run -d --env-file .env -p 80:80 -v ~/scholarsome-media:/data --restart=always --name scholarsome hwgilbert16/scholarsome

Requires external MariaDB and Redis instances.

How to configure scholarsome

  • NODE_ENVApplication mode: development, production, or public. Recommended production for self-hosted.

    values: development|production|public

  • DATABASE_PASSWORDInternal password for databases (Docker Compose).
  • JWT_SECRETRandom secret used to encrypt cookies and other sensitive items.
  • HTTP_PORTPort that Scholarsome will be accessible through. Recommended 80.
  • HOSTDomain that Scholarsome will be running on (without HTTP).

scholarsome releases & version history

More in Education

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…