Metadata-Version: 2.5
Name: glideshow
Version: 0.4.0
Summary: Slides and documents you own: Glideshow (Google Slides-style) and Glidewrites (Google Docs-style) editors over plain HTML folders that AI agents can edit
Project-URL: Homepage, https://glideshow.org
License-Expression: AGPL-3.0-or-later
License-File: LICENSE
Requires-Python: >=3.10
Provides-Extra: docx
Requires-Dist: python-docx>=1.1; extra == 'docx'
Provides-Extra: pptx
Requires-Dist: python-pptx>=0.6.23; extra == 'pptx'
Description-Content-Type: text/markdown

<img src="editor/glideshow.svg" width="72" alt="">

# Glideshow <sup>alpha</sup>

Slides you own. A Google Slides–style editor whose decks are plain HTML folders you keep, that AI agents can read and
edit alongside you.

A deck is `deck.html` plus `assets/`: each slide a `<section>`, everything on it a positioned box on a 1920 × 1080
canvas. The editor reads and writes that file, an agent can edit it directly (the editor follows live), and the folder
presents in any browser. Every save is a version in git.

## Install

Needs Python 3.10+ and Chrome; macOS, Linux and Windows.

```console
$ uv tool install glideshow        # both apps: the glideshow and glidewrites commands
$ glideshow                        # the home screen: your decks (in ~/decks)
$ glideshow new "Lab meeting"      # a new deck, opened in the editor
$ glideshow build lab-meeting out/ # a copy that presents offline
```

Or use it online, with nothing to install, at [glideshow.org](https://glideshow.org).

## Docs

- [Deck format](docs/deck-format.md): `deck.html`, attribute by attribute.
- [For agents](docs/agents.md): layout and recipes; every deck gets a copy as `AGENTS.md`. The Claude Code skill is in
  `skills/glideshow`.
- [Keyboard shortcuts](docs/shortcuts.md)
- [Running it online](docs/self-hosting.md): your own glideshow.org on Cloudflare.

## Glidewrites

<img src="writer/glidewrites.svg" width="48" alt="">

Glideshow's sister app: documents you own, in a Google Docs–style editor. A document is `doc.html` (blocks of plain HTML)
plus `assets/`, kept in `~/writes`; agents edit the same file while you type, and the editor merges both. It opens Word,
Markdown and HTML files and saves Word, Markdown, HTML and PDF. On a phone it looks like the Docs app.

Installed with Glideshow (one package, two commands):

```console
$ glidewrites                      # the home screen: your documents (in ~/writes)
$ glidewrites new "Trip plan"      # a new document, opened in the editor
$ glidewrites import notes.docx    # a Word, Markdown or HTML file as a document
$ glidewrites install              # start its server at login (macOS, Linux, Windows)
$ bash tools/make-writes-app.sh    # macOS: Glidewrites.app for the Dock
```

- [For agents](docs/agents-writes.md): the commands (`blocks`, `put`, `find`, `export`), the format and recipes; every
  document gets a copy as `AGENTS.md`. The Claude Code skill is in `skills/glidewrites`.

## Contributing

Issues and pull requests are welcome. Before sending one, run `tools/check.sh` (types and lint) and `uv run test/smoke.py`
(the editor end to end, in Chrome); for Glidewrites, `uv run test/writes_matrix.py` (every `test/writes*.py` suite in
Chrome, WebKit and Firefox; `GW_BROWSER=webkit uv run test/writes.py` for one).

## Releasing

Work lands on `main` (small changes directly, bigger ones through a short branch and a pull request). Every push to
`main` that passes the checks goes to [dev.glideshow.org](https://dev.glideshow.org), the nightly channel. A release is a version tag:

```console
$ # bump `version` in pyproject.toml, commit it, then:
$ git tag v0.2.0 && git push origin main v0.2.0
```

Run `uv run test/smoke.py` first. The tag runs the quick checks, deploys [glideshow.org](https://glideshow.org) and publishes a GitHub
Release with notes and the package (`0.x` versions are marked pre-release). The browser tests also run nightly and on pull requests, as a heads-up. The deploys need the repo secret
`CLOUDFLARE_API_TOKEN` (a Cloudflare token from the "Edit Cloudflare Workers" template) and the variable
`CLOUDFLARE_ACCOUNT_ID`.

## License

[AGPL-3.0](LICENSE). Use it, change it and share it; if you run a changed version as a service, publish your changes.
