Skip to main content

Beautiful slides from SVG. Your editor, your style.

Try the live demo Read the docs

Early-stage software. Expect bugs, missing features, and breaking changes.

The idea

Every presentation tool makes you choose.

Visual editors (PowerPoint, Keynote, Google Slides) give you a canvas. Drag shapes, resize freely, 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. Files are diffable, version-controlled, reproducible. But you describe layout in markup instead of drawing it. Creativity suffers when moving a box means editing a coordinate. The blank page is a text cursor, not a canvas.

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.

How it works

A deck is a plain Python file:

from inkflow import Deck, Image, MediaFit, Slide, Video, animations, transitions


def main() -> Deck:
    return Deck(
        slides=[
            # SVG slide: draw freely in Inkscape, animate elements by id
            Slide(
                "title.svg",
                # Each cue's Trigger decides when it fires (default: on next click)
                animations=[
                    animations.FadeIn("headline"),
                    animations.FadeIn("subtitle"),
                ],
            ),
            Slide(
                "diagram.svg",
                # Fill predefined content zones using Markdown
                md="diagram.md",
                # Set a transition for the whole slide, and multiple animations for individual elements
                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 with playback control
                # (autoplay, loop, mute, trim, and a PlayVideo cue to start on a step)
                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)},
            ),
        ]
    )

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
uv run inkflow serve --deck demo/deck.py

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. It's a Node.js project with a very different architecture and feature set, including many things Inkflow will never do.

This project was built making heavy use of coding agents and would not have been possible without them. Does that make it "slopware"? I'll let you be the judge of that but I can say that I try my best to keep the agents in check. Every architectural decision is mine, there's a CI to ensure a certain level of code quality, and before merging, I spend a good amount of time reviewing all changes in good old-fashioned manual labor.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inkflow-0.2.0.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inkflow-0.2.0-py3-none-any.whl (159.8 kB view details)

Uploaded Python 3

File details

Details for the file inkflow-0.2.0.tar.gz.

File metadata

  • Download URL: inkflow-0.2.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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

Hashes for inkflow-0.2.0.tar.gz
Algorithm Hash digest
SHA256 290e8e084580e1d20fd895f9be7676dfec878d6f7cc2dd82c4bc441e5ebc894e
MD5 d1383f50f47448d161ab75dc5127a955
BLAKE2b-256 d82510bdc76b2bf49315327c33d994da48476c0f50e46ac165dd5b158d4352bd

See more details on using hashes here.

File details

Details for the file inkflow-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: inkflow-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 159.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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

Hashes for inkflow-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94416c8b3040c064472441691da30db101bf832fa2ce786440219ec79d711ec3
MD5 b3e1ac9924f09ae0acd13b4d0a6c5ed8
BLAKE2b-256 75390c3b287aa0bc1e0864c3a12d07eaa19d95b921a0ab7bf9235c2ce3a9ebef

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.0

2 files

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page