An easy and lightweight web visual novel engine.

Erika
Good morning, creator!
Erika, the Sastra mascot

This is what your players see

Erika
click to continue

A whole studio in one file

Easy writing

Write dialogue and narration in friendly YAML.

Backgrounds, videos, & CGs

Crossfade between images, loop a video, or show a full illustration whenever the moment calls for it.

Music & sound

Layer music and sound effects with smooth fades and their own volume. Loop it or play one-shots.

Sprites

Bring characters on, move them, swap expressions, and layer them across the stage.

Checkpoints

Progress saves on its own, and players can jump back to checkpoints.

Multi-language ready

Offer your game in several languages with a switcher built in. The interface translates itself.

chapters/1.yaml
# Set the scene
- bg: "backgrounds/platform.webp"
- play: "music/quiet_night.mp3"
  loop: true

# Bring Erika on stage
- show: erika
  pos: center

# She speaks
- erika: "The last train leaves at midnight."
- erika: "Are you coming with me?"

Write easily

Each line is one thing happening: a background appears, music starts, a character walks in, someone talks. You read it top to bottom like a script, because that's exactly what it is.

Learn the format

From download to playable

Download the template

Grab the ZIP. Inside is the engine, a sample config, tidy folders for your art and audio, and a few sample files to get you started.

Write your story

Open the chapter files in any text editor and type your scenes. Drop your images and music into the folders.

Play & share

Open it in a browser to play, then upload the folder to any web host to share it with the world.

Your visual novel starts here

Download Sastra and write your first scene today.

Sprite artworks by Cyrilla Meigidia