Skip to main content

A terminal-based presentation application

Project description

SlideDown Documentation

Table of Contents

Introduction

SlideDown is a terminal-based presentation application built with Python and the Textual framework. It allows you to create, edit, and view Markdown-based presentations directly from your terminal. With SlideDown, you can quickly create professional-looking presentations without leaving the comfort of your command line.

Installation

To install SlideDown, you can use pip:

pip install slidedown

Alternatively, you can clone the repository and install it manually:

git clone https://github.com/yourusername/slidedown.git
cd slidedown
pip install -e .

Getting Started

Once SlideDown is installed, you can start the application by running:

slidedown

This will launch the SlideDown interface in your terminal, where you can begin creating and managing your presentations.

User Guide

Home Screen

The home screen is the main interface of SlideDown. It consists of two main sections:

  1. Sidebar: Contains navigation options including:

    • Open File
    • New Presentation
    • Edit Project
    • Help
    • Quit
  2. Main Content Area: Displays your recent presentations in a grid layout. If you don't have any presentations yet, it will show a message with a button to create your first presentation.

Creating a New Presentation

To create a new presentation:

  1. From the home screen, select "New Presentation" from the sidebar or press n.
  2. Fill in the project name and file path fields.
  3. Click "Save & Edit" to create the presentation and open it in the editor.
  4. Your presentation will be created with a basic template that you can customize.

Editing a Presentation

To edit an existing presentation:

  1. From the home screen, click on the "✏️" button on any presentation card.
  2. Alternatively, you can select "Edit Project" from the sidebar or press e to edit the most recent project.
  3. Make your changes in the editor.
  4. Click "💾 Save" to save your changes or "❌ Cancel" to discard them.

The editor supports all standard Markdown formatting for your slides. Use --- on a new line to separate slides.

Viewing a Presentation

To view a presentation:

  1. From the home screen, click on any presentation card or click the "Open" button on a card.
  2. Alternatively, you can select "Open File" from the sidebar or press o to browse for a file.
  3. The presentation viewer will open, showing your slides in a sidebar and the current slide in the main area.
  4. Use the navigation buttons or keyboard shortcuts to move between slides.

Playing a Presentation

To play a presentation in full-screen mode:

  1. Open a presentation in the viewer.
  2. Click the "Play" button or press p.
  3. The presentation will open in full-screen mode.
  4. Use the left and right arrow keys to navigate between slides.
  5. Press Escape to exit play mode.

Keyboard Shortcuts

SlideDown provides several keyboard shortcuts to improve your workflow:

Global Shortcuts

  • Ctrl+Q: Quit the application

Home Screen

  • O: Open file
  • Q: Quit application
  • N: Create new presentation
  • E: Edit most recent project

Editor Screen

  • Escape: Cancel editing
  • Ctrl+S: Save changes

Presentation Viewer

  • Escape: Back to home screen
  • Left: Previous slide
  • Right: Next slide
  • P: Play presentation
  • E: Edit presentation

Play Mode

  • Escape: Exit play mode
  • Left: Previous slide
  • Right: Next slide

Features

  • Markdown-based: Create presentations using simple Markdown syntax.
  • Terminal-based: No need for a GUI; works entirely in your terminal.
  • Recent Projects: Quick access to your recent presentations.
  • Built-in Editor: Edit your presentations without leaving the application.
  • Presentation Mode: View your presentations in a distraction-free full-screen mode.
  • Keyboard Navigation: Efficient keyboard shortcuts for all common actions.
  • File Browser: Built-in file browser to open existing presentations.

Troubleshooting

Common Issues

  1. Error: 'NoneType' object is not callable

    • This usually occurs when the application is not properly initialized. Make sure you're running the application with the correct command: slidedown
  2. Duplicate Widget ID Error

    • This can happen when updating project widgets. The application has been fixed to prevent this issue by ensuring unique IDs for all widgets.
  3. File Not Found Errors

    • Make sure the file path you're trying to access exists and is readable.
    • Check that you have the necessary permissions to access the file.
  4. CSS Parsing Errors

    • The application uses a custom CSS-like syntax for styling. Some CSS properties might not be supported. The application has been tested with the included CSS, but custom modifications might cause errors.

Getting Help

If you encounter any issues not covered here, please:

  1. Check the Issues page on GitHub to see if the problem has already been reported.
  2. If not, create a new issue with a detailed description of the problem, including any error messages and steps to reproduce the issue.

Contributing

We welcome contributions to SlideDown! If you'd like to contribute:

  1. Fork the repository on GitHub.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and test them thoroughly.
  4. Submit a pull request with a clear description of your changes.

Please ensure that your code follows the existing style and includes appropriate tests.

License

SlideDown is licensed under the MIT License. See the LICENSE file for more information.

Project details


Download files

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

Source Distribution

slidedown_cli-1.0.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

slidedown_cli-1.0.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file slidedown_cli-1.0.0.tar.gz.

File metadata

  • Download URL: slidedown_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for slidedown_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 97358cc2c51720678dc64cb1c2c1fd5b38fa18f1be2b1b86cd6eeeed929ec3bc
MD5 b5294f19c3bb2f57ca345fead03451d1
BLAKE2b-256 c4671f77c4b0b9e2f5fe553ed5ebd43c09ee4dd7454ce46ded4741e6b724dfa6

See more details on using hashes here.

File details

Details for the file slidedown_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: slidedown_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for slidedown_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d59d49a0331415630ccc602eb478d693fe646a21291969016dbb9f014811579
MD5 37a4bd669414e3f5a95335be3fe539ff
BLAKE2b-256 c7ec847d33f1cca5722fb79d679fcde454d6e96a0c6a6364525b859c36a5bbcb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page