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.1.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.1-py3-none-any.whl (141.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: inkflow-0.1.1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","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.1.tar.gz
Algorithm Hash digest
SHA256 a204cf362e923b490bc63be8505cd0cfaef3d91b1201596d975e65c40b6db428
MD5 80163e759e4e7be091db8f9b2c3d66f1
BLAKE2b-256 efa1a1d9063e46f98700cecf16296bd311d8528625e26af8051023f113a1124c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: inkflow-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 141.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 807cd93051605b5347ab09b3eda04458f8e48b725733ee4dbc7fe5035986b9bc
MD5 f95af1a4e70ba6823884aa29e1dded54
BLAKE2b-256 bd466f927f8a1ea8597c5a6288d9d4a025c2e4021c881fe1c8c5d918e9348420

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

This release

0.1.1 This release

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