Skip to main content

slid

A terminal-based presentation tool that turns Markdown files into beautiful interactive slides with code execution capabilities.

Terminal Slides Screenshot

Features

  • ✨ Beautiful terminal-based presentation slides
  • 🖼️ Renders Markdown with rich formatting
  • ⌨️ Simple keyboard navigation (arrow keys or keyboard shortcuts)
  • 🔄 Automatic slide detection using "---" separator
  • 💻 Execute Python and Bash code blocks directly within the presentation
  • 📋 Copy code blocks to clipboard with a single command
  • 🌐 Open URLs directly from the presentation
  • 🎨 Elegant color scheme and formatting

Installation

pip install slid

Usage

slid your_presentation.md
slid your_presentation.md --author "Your Name"

Navigation

  • → or n: Next slide
  • ← or p: Previous slide
  • ↑/↓: Also navigate slides
  • Number keys: Jump to specific slide
  • r: Run code block (followed by block number) or open URL (followed by "url")
  • c: Copy code to clipboard (followed by block number)
  • q: Quit presentation

Code Execution

Code blocks are automatically detected and numbered for each slide. When on a slide with code:

  1. Python and Bash/Shell code blocks are automatically detected
  2. Press r followed by the block number to execute (e.g., r 1)
  3. Output is displayed in real-time
  4. Press any key to return to the presentation

Opening URLs

You can open URLs directly from the presentation:

  1. Press r followed by "url" (e.g., r url)
  2. The default web browser will open with the URL from the slide
  3. The presentation continues to display while the browser opens

Clipboard Function

To copy code to your clipboard:

  1. Press c followed by the block number (e.g., c 1)
  2. A confirmation will display that the code was copied
  3. Press any key to return to the presentation

License

Apache License 2.0

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

AI

This tool was generated using AI, with the next prompt:

create python tool to show slides in the terminal, (similar to "slides") but using Rich, Python library. the idea is take a Markdown File, find the key “---\”n and split the file in slides, use a beautiful color schema, and you can add at the bottom, the name of the users and the name of the slides (markdown name) and in the other side you can add the number of the slides such us (1/14 for example). allow run "bash" and "python" cells/Code Block, if you can write "r 1" run the cell 1. Also allow to copy the blocks and URL in the links using the command “c”, for example if in one slide you have 1 bash block and 2 links, you can run “c 3”, to copy the 2nd link or “r 2” to open the 1st link in the slide. For move between the slides, the user can user the arrow keys (next and previous), the enter key, or the space key (for next), up key (beginning), down key (last slide).

Ussing aider agent in BeeAI platform

Metadata

Release files for slid 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slid 0.1.1
File Size Uploaded Provenance
slid-0.1.1.tar.gz 13.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for slid 0.1.1
File Interpreter ABI Platform
slid-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.8 kB

Release files / slid-0.1.1.tar.gz

Download URL slid-0.1.1.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4a7e960da7ee9b32193379661592b9edf3b58db81ee1409f6def2801794421ef
BLAKE2b-256 checksum
How to use checksums
758689617efc16ffb8d8a8693d1f78f6ab918216e1d7c12440fa71bb4dd6e6dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / slid-0.1.1-py3-none-any.whl

Download URL slid-0.1.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83de940ebd45ee2a875e03c8b825c273bf6ac500ec36b2896780345db2a7d5c9
BLAKE2b-256 checksum
How to use checksums
55d1f4194fc0a9ed51f6fe9400403144984de8e2b71fd4f2e86a68ae89a8000a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for slid 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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