Skip to main content

Beautiful slides from SVG. Your editor, your style.

Try the live demo

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",
                animations=[
                    animations.FadeIn("#headline", step=1),
                    animations.FadeIn("#subtitle", step=2),
                ],
            ),
            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", step=1),
                    animations.Bounce("#box-b", step=2),
                ],
            ),
            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, play-on-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

uv add inkflow # or: pip install inkflow
inkflow init my-deck
cd my-deck
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.1.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.1.0-py3-none-any.whl (141.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: inkflow-0.1.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","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.1.0.tar.gz
Algorithm Hash digest
SHA256 68b4f3ee4031e785e6f102549513995fc565cf2205e91f9d8cf3d065ff5d84af
MD5 39efcf6de5f26add8b58308b6982ba03
BLAKE2b-256 a20a89c7c322cb4d3e6700032d17dafd1363f7c43448a13a2015abaa642ecb40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: inkflow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 141.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03677f1f01dd3e2f069f411be04cf90bf96263add2d31d8e209ae12652b967d1
MD5 304af8830c889cebc82ae366d78c10a9
BLAKE2b-256 e4f4d6c465d5ef77be34d2b1e3fea6681d436cb56c33f04632ad2327214709f4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.1

2 files

This release

0.1.0 This release

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