Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ddvk/rmfakecloud
host your own cloud for the remarkable
https://github.com/ddvk/rmfakecloud
remarkable-tablet
Last synced: 6 days ago
JSON representation
host your own cloud for the remarkable
- Host: GitHub
- URL: https://github.com/ddvk/rmfakecloud
- Owner: ddvk
- License: agpl-3.0
- Created: 2020-03-29T21:14:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-30T11:41:38.000Z (12 days ago)
- Last Synced: 2024-11-30T12:25:44.756Z (12 days ago)
- Topics: remarkable-tablet
- Language: Go
- Homepage:
- Size: 7.08 MB
- Stars: 790
- Watchers: 23
- Forks: 68
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-github-repos - ddvk/rmfakecloud - host your own cloud for the remarkable (Go)
- awesome-reMarkable - rmfakecloud - Fake Cloud Sync, server implementation of the Cloud API. (APIs / Cloud API)
README
[![rm1](https://img.shields.io/badge/rM1-supported-green)](https://remarkable.com/store/remarkable)
[![rm2](https://img.shields.io/badge/rM2-supported-green)](https://remarkable.com/store/remarkable-2)
[![rmpro](https://img.shields.io/badge/rmpro-supported-green)](https://remarkable.com/store/remarkable-paper/pro)[![opkg](https://img.shields.io/badge/OPKG-rmfakecloud--proxy-blue)](https://toltec-dev.org/)
# rmfakecloud
This is a replacement of the cloud, in case you want to sync/backup your files and have full control of the hosting environment.## [Docs](https://ddvk.github.io/rmfakecloud/)
## NB
for SW 3.15 `STORAGE_URL` should not be set (or only https://some.ho.st without a port should be used)The current release of rmfakecloud support file synchronization for SW <= 3.14.1. Newer releases have not been tested yet.
For Tablet SW > 3.X, rendering of the notebooks [is not yet supported](https://github.com/ddvk/rmfakecloud/issues/255).
## Breaking Changes
- after v0.0.3 the files in `/data` will have to be manually moved to the user that will be created
- with v0.0.5 the new diff sync15 is added as an option, in order to use it modify the user with `setuser -u user -s`
or modify the profile and add `sync15:true`
a full resync will be needed (the tablet will do it), the old files are kept as they were and everything is put in a new directory## Development
run `./dev.sh` which should start the UI and backend### Caveats/ WARNING
- (applies when you don't have security, version <= 0.0.3) connecting to the api will delete all your files, unless you mark them as not synced `synced:false` prior to syncing (advisable just to disconnect, reconnect the cloud)
- **if you delete files from the users directory** on the host, on the next sync those will be deleted from the device
- if you delete the whole user directory (by mistake) on the host, you should disconnect the cloud from the device and reconnect it
- after an official update, the proxy and hosts file changes will be removed, the tablet will automatically disconnect from the cloud (by sending an invalid token to the official cloud and getting 403)
just reinstall the proxy and reconnect to your cloud## Troubleshooting
- check the connectivity between the tablet and the host:
ping my.remarkable.com (should be localhost)
ping local.remarkable.com (should be localhost)
ping thehostpc
wget -qO- http://host:3000 (or relevant ports, should get Working...)
wget -qO- https://local.appspot.com (should get Working...)
- check that the proxy is running and certs are installed:
```
echo Q | openssl s_client -connect localhost:443 -verify_hostname local.appspot.com -CAfile /etc/ssl/certs/ca-certificates.crt 2>&1 | grep Verify
```
You should see: *Verify return code: 0 (ok)*- if both (host and tablet) are on a wifi make sure "Client Isolation" is not activated on the AP
- check if the proxy is configured correctly
```
systemctl status proxy#or
journalctl -u proxy
```
- check whether the CA cert was installed correctly
when doing `update-ca-certificates` there should have been `1 added`
check the logs- check xochitls's logs, stop the service, start manually with more logging
```
systemctl stop xochitl
QT_LOGGING_RULES=rm.network.*=true xochitl | grep -A3 QUrl```
if you see *SSL Handshake failed* then something is wrong with the certs
- check sync logs
```
journalctl -u rm-sync
```