survos / ciine-bundle
Symfony tools for asciinema.org
Fund package maintenance!
kbond
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/survos/ciine-bundle
Requires
- php: ^8.4
- sensiolabs/ansi-to-html: ^2.0
- symfony/config: ^7.1
- symfony/console: ^7.3
- symfony/dependency-injection: ^6.4 || ^7.1
- symfony/finder: ^7.3
- symfony/http-client: ^7.3
- symfony/http-kernel: ^6.4 || ^7.1
- symfony/options-resolver: ^6.4 || ^7.1
- symfony/workflow: ^7.3
- twig/twig: ^3.4
Requires (Dev)
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^12.0
- survos/state-bundle: ^2.0
- symfony/framework-bundle: ^6.4 || ^7.1
- symfony/panther: ^2.2
- symfony/routing: ^7.3
README
Symfony Bundle that provides some utilities for using asciinema 3.0 to create asciiCasts (aka ciineCasts)
Install asciinema
Install the bundle
wget "https://github.com/asciinema/asciinema/releases/download/v3.0.0-rc.5/asciinema-x86_64-unknown-linux-gnu" asciinema
Configure .bashrc
The easiest way to use this bundle is to pre-configure a few commands. You can also run everything manually, but it's a bit of a pain to track the files.
rec() { asciinema rec "casts/${PWD##*/}/$(date +%s).cast" --title="$1"; }
Usage
Start the recorder.
rec "Create the User Entity"
bin/console make:user
end with -D.
There are some special commands during the recording process.
composer req easyadmin bin/console make:crud:dashboard bin/console debug:route easyadmin bin/console ciine:screenshot /admin bin/console ciine:copy .env.local