An auto scrolling text reader.
This script generates HTML from text, and show auto-scrollable page with JavaScript.
Use Surf for viewing by default.
- Zsh
- Pandoc (for Markup mode)
- Surf (for Default viewer)
- Python (for UnSurf)
- PyQt5 (for UnSurf)
- Python QtWebEngine (for UnSurf)
- mpv (for BGM)
autoscroll-text [-m] [-b browser_command] [-c class] sourcefile
You can use $autoscroll_text_overide_browser
environment paramater instead of -b
option.
surf
is used by default.
If you use -m
option, sourcefile is treated as Pandoc's input format (e.g. Markdown).
-c
option is set class to class
on body
.
These classes are avilable in default stylesheet.
- default
- pinkCat
- babyBlue
- breezeDark
- solarizedLight
- solarizedDark
- vimDark
If -p
option is set, browser is invoked without file://
scheme prefix.
Key / Button | Behavior |
---|---|
Space / Mouse right button | Pause / Play |
Up Arrow | Speed up |
Down Arrow | Speed down |
autoscroll-text
is underXDG_CONFIG_HOME
.
You can configurate looks by editing scrollingtext.css
.
If you are expart. You can configurate behavior by editing scrollingtext.js
.
If BGM
directory is exists under the directory, script plays it with mpv.
You can install with install script.
This script will be installed for user.
Script file will be put under ~/bin
.
Ultimate simple webbrowser with QWebEngineView.
You can use this program if you don't use Surf.
unsurf.py url
Put unsurf.py
on PATH.