-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 743008f
Showing
15 changed files
with
1,688 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
svg/ | ||
src/resources.py | ||
|
||
###Python### | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# Environments | ||
.env | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# rMview: a fast live viewer for reMarkable | ||
|
||
## Instructions | ||
|
||
To run the program you need python with pyqt5 installed. | ||
Before running the program the first time, generate the resource file with | ||
|
||
pyrcc5 -o src/resources.py resources.qrc | ||
|
||
Then you can invoke the program with | ||
|
||
python src/rmview.py [config] | ||
|
||
the optional `config` parameter is the filename of a json configuration file. | ||
If the parameter is not found, the program will look for a `rmview.json` file in the current directory, or, if not found, for the path stored in the environment variable `RMVIEW_CONF`. | ||
If none are found, or if the configuration is underspecified, the tool is going to prompt for address/password. | ||
|
||
The supported configuration settings are: | ||
|
||
```json | ||
{ // all settings are optional, comments not allowed | ||
"ssh": { | ||
"address": "10.11.99.1", // works over WiFi too! | ||
"username": "root", | ||
"key": "~/.ssh/id_rsa_remarkable", | ||
// alternatively to key, "password": "****" is supported | ||
"timeout": 1 // in seconds | ||
}, | ||
"orientation": "portrait", // default: landscape | ||
"pen_size": 10, | ||
"pen_color": "red", | ||
"fetch_frame_delay": 0.03 // sleep 0.03s on remarkable before fetching new frame (default is no delay) | ||
} | ||
``` | ||
|
||
## Requirements | ||
|
||
- Python 3 | ||
- PyQt5 | ||
- Paramiko | ||
- lz4framed | ||
|
||
They can be installed via `pip install pyqt5 paramiko lz4framed`. | ||
|
||
## To Do | ||
|
||
- [ ] Settings dialog | ||
- [ ] About dialog | ||
- [ ] Pause stream of screen/pen | ||
- [ ] Action to spawn a static viewer on a frame | ||
- [ ] Build system | ||
- [ ] Bundle | ||
|
||
|
||
## Credits | ||
|
||
I took inspiration from the following projects: | ||
|
||
- [QtImageViewer](https://github.com/marcel-goldschen-ohm/PyQtImageViewer/) | ||
- [remarkable_mouse](https://github.com/Evidlo/remarkable_mouse/) | ||
- [reStream](https://github.com/rien/reStream) | ||
|
||
Icons adapted from designs by Freepik, xnimrodx from [www.flaticon.com][] | ||
|
||
## Licence | ||
|
||
GPLv3 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.