Metadata-Version: 2.4
Name: vividly
Version: 0.0.1
Summary: Vividly presentation builder and runner
Author: Michael Hopcroft
License-Expression: MIT
Keywords: presentations,slides,web
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pillow>=12.3.0
Requires-Dist: playwright>=1.62.0
Dynamic: license-file

# Vividly

Vividly is a toolkit for building, previewing, and publishing interactive web
presentations. A presentation is a self-contained [single-page web app (SPA)](https://en.wikipedia.org/wiki/Single-page_application) composed of
independently authored slides and a manifest that determines their order and
configuration.

Vividly is currently **pre-alpha**. The presentation runtime and local preview
server are under active development; the initialization, update, and publishing
commands are not yet implemented.

## Requirements

- Python 3.12 or later
- A modern web browser

## Installation

Once Vividly is published to PyPI, install it as a command-line tool with
[uv](https://docs.astral.sh/uv/):

~~~console
uv tool install vividly
~~~

Alternatively, install it into a Python environment with pip:

~~~console
python -m pip install vividly
~~~

## Presentation layout

A Vividly presentation project consists of a deployable website root and a collection of resources to assist in coding agents when authoring slides.

~~~text
my-presentation/
├── .github/
│   ├── copilot-instructions.md
│   ├── instructions/
│   └── skills/
├── vividly/
│   └── docs/
└── site/
	├── index.html
	├── vividly/
	│   └── (runtime files and folders)
	└── slides/
		├── presentation.yaml
		└── (slide folders ...)
~~~

The hosted site contains the default entry point, index.html, along with a local copy of the Vividly
runtime, and a collection of slides referenced by the manifest in presentation.yaml.

The project-level documentation, instructions, and skills help coding agents
understand the Vividly runtime and its presentation-authoring conventions.

## Previewing a presentation

From a presentation's root directory, serve its `site/` folder locally:

~~~console
vividly run
~~~

The presentation root can also be supplied explicitly:

~~~console
vividly run path/to/my-presentation
~~~

The server listens on port 8080 by default. To use another port:

~~~console
vividly run --port 9000
~~~

Then open the displayed local URL in a browser. The preview server is intended
for local development, not production hosting.

## Commands

| Command | Purpose | Status |
| --- | --- | --- |
| `vividly init` | Create a new presentation with sample slides | Planned |
| `vividly update` | Update the bundled Vividly runtime | Planned |
| `vividly run` | Preview the presentation locally | Available |
| `vividly publish` | Publish the presentation | Planned |

Run `vividly --help` or `vividly <command> --help` for command-line help.

## Development

The project uses [uv](https://docs.astral.sh/uv/) for environment and dependency
management. Clone the repository and synchronize the development environment:

~~~console
uv sync
~~~

Run the CLI from within the repo:

~~~console
uv run vividly --help
~~~

To preview the starter presentation from within the Vividly repo:

~~~console
uv run vividly run src/vividly/resources/starter-project
~~~

Check the Python source with Ruff:

~~~console
uv run ruff check .
~~~

Run the automated tests:

~~~console
uv run pytest
~~~

## Project links

Coming soon

## License

Vividly is available under the [MIT License](LICENSE).
