Beautiful slides from SVG. Your editor, your style.
Early-stage software. Expect bugs, missing features, and breaking changes.
The idea in under 40 seconds
Too fast? Too small? Click here for an explanation.
At first, inkflow serve is launched in the terminal in the bottom left.
It builds the slide deck and serves it to the browser.
Using the o key, the browser in the middle of the screen opens to the presentation.
After navigating to the second slide, the Inkscape editor on the right is used to edit the SVG the slide is based on. The slide is automatically reloaded in the browser upon saving the file.
Using a morph transition, we move on to the third slide. This one makes use of Markdown to fill in a predefined content zone in the SVG.
The terminal on the top left (I use Neovim by the way) shows the deck.py file.
It is where things like slide order, transitions, animations, and Markdown content are defined.
I then switch to the Markdown file referenced for slide three for a quick edit—hot reloading the slide in the browser just like before.
That's it! Take a look at the demo for some more advanced examples you can try at your own pace.
Why Inkflow?
Every presentation tool makes you choose.
Visual editors (PowerPoint, Keynote, Google Slides) give you a canvas. Drag shapes, tweak spacing, iterate until it looks right. But your work lives in proprietary formats tied to a platform or subscription, and exporting to anything else means fighting a lossy conversion.
Code-based tools (Beamer, Slidev, reveal.js) keep everything as plain text. Diffable, version-controlled, editor-agnostic. But you describe layout in markup instead of drawing it. Creativity suffers when moving a box means editing a number.
Inkflow gives you both. Your authoring environment is a proper vector editor. Draw freely, iterate visually. Your source files are SVG, Markdown, and Python: open formats, plain text, not tied to any software or service—fully compatible with version control and your favorite coding agent.
How it works
- Draw each slide as an SVG. Use Inkscape, Figma, or any editor that exports SVG. No special markup, no plugin—draw exactly as you normally would.
- List your slides in
deck.py. A small Python file says which slides to show, in what order, and which elements animate or transition in. - Run
inkflow serve. A browser tab opens with your presentation. Save a change in your editor and it appears instantly, without losing your place.
That's the core loop—the rest is there once you need it: reusable layouts that inherit from each other like master slides, Markdown-filled zones for text-heavy slides, a presenter view with speaker notes, one-command export to static HTML or PDF, and more.
An example deck.py
from inkflow import (
Deck,
Image,
MediaFit,
Overlay,
Slide,
Video,
animations,
transitions,
)
def main() -> Deck:
return Deck(
# Elements, such as a logo, composited on top of every slide
overlays=[Overlay("footer")],
slides=[
# SVG slide: draw freely in any editor, animate elements by id
Slide(
"title.svg",
# Opt a single slide out of the deck's overlays
overlays=[],
# Animate individual elements by id
animations=[
animations.FadeIn("headline"),
animations.FadeIn("subtitle"),
],
),
Slide(
"diagram.svg",
# Fill predefined content zones using Markdown
md="diagram.md",
# Set a transition for this slide
transition=transitions.Crossfade(),
animations=[
animations.Bounce("box-a"),
animations.Bounce("box-b"),
],
),
Slide(
# Reuse a built-in, theme or project-local layout
"media-right",
md="image.md",
# Fill a named zone with an image or a video
zones={"media": Image("assets/photo.jpg", fit=MediaFit.COVER)},
),
Slide(
"media-left",
md="clip.md",
zones={"media": Video("assets/demo.mp4", autoplay=True, loop=True)},
),
],
)
inkflow serve # open http://localhost:7777
When you run inkflow serve,
Inkflow reads the slides as defined in the Python file
and processes them into a web-based presentation.
It will inject the Markdown and media files into the SVGs,
apply the transitions and animations,
and serve the result to your browser.
Quick start
uvx inkflow init my-deck # or: pip install inkflow && inkflow init my-deck
cd my-deck
uv run inkflow serve # or, without uv: inkflow serve
# press "o" in the tui to open http://localhost:7777 in your browser,
# press ? in the presenter for keyboard shortcuts
To try the bundled demo:
git clone https://github.com/ll-nick/inkflow
cd inkflow/demo
uv run inkflow serve
No SVG editor is invoked at serve time. Inkscape or any other tool writes the files, Inkflow reads them. Saving a slide reloads the presenter automatically.
Acknowledgements
Slidev is an excellent presentation tool and a direct inspiration for this project.
This project was built making heavy use of coding agents and would not have been possible without them.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inkflow-0.4.0.tar.gz.
File metadata
- Download URL: inkflow-0.4.0.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92d3aac896579346a53d16d3bedc780cba0955a630fffef390ddcdf679fd8406
|
|
| MD5 |
0adb2d1fd94aecc1a8398f1554d873a1
|
|
| BLAKE2b-256 |
cdfeb43bf5ea208f9cba5dc9e278b83fcbf69335f2dc94529a5237bbc333b42a
|
File details
Details for the file inkflow-0.4.0-py3-none-any.whl.
File metadata
- Download URL: inkflow-0.4.0-py3-none-any.whl
- Upload date:
- Size: 175.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e61cf21df6cba13bed41df30a18d294f365da54a726dd23a58dd84a1d79dac3
|
|
| MD5 |
d5b8fa7c924ae6ad08293b61ba0ad046
|
|
| BLAKE2b-256 |
9c7e01c0ccc2b2cb8c0bcd69c401bf32f1f9eb957c19183b751de6157338e4a6
|