victoria-riley-barnett/koreader-tailscale
概要
A Tailscale client for KOReader, enabling seamless cross-network service access on e-readers
システム・インフラ計測したスター増加
- 24時間
- +1
- 7日間
- +8
- 15日間
- +14
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルTailscale Plugin for KOReader
A tailscale client for KOReader, allowing you to connect your e-reader to your tailnet.
I was extremely tired of looking up short-lived IP addresses and reconfiguring sync plugins. This plugin addresses the disposability problem head-on, virtualizing a persistent network connection by allowing KOReader traffic to go through Tailscale (or Headscale).
This connection enables services like Syncthing and SSH to work seamlessly across your tailnet devices as you change networks.
Most testing has been on two Kindles I own, but we are able to implement platform fixes (mostly file path variety or service swaps). See the reference for device-specific paths and behavior.
Please create an issue if you have any problems. Feedback and contributions are welcome!
Setup
- Tailscale account (or a self-hosted Headscale server).
- Download the plugin from the
releases page and copy
tailscale.koplugininto KOReader'spluginsfolder. - Restart KOReader and tap Network → Tailscale VPN → Plugin config → Install/Update Tailscale.
- Sign in by scanning the QR code with your phone, or use an auth key file. See the Sign in section for details.
Sign in
- Scan QR code: show a sign-in QR for pairing a new Tailscale device, it's tailscale's own check-in flow.
- Auth key: place a key in the plugin's
bin/auth.keyfile, then tap Use an auth key → Check again.- The exact path varies by platform.
The file should contain only the key: tskey-... or hskey-auth-....
To use a self-hosted Headscale server instead of the official control plane, go to Network setup → Control plane and enter your server URL. Headscale's getting started covers creating a user and a pre-auth key.
Networking
| Capability | Kernel TUN | Userspace networking |
|---|---|---|
Inbound to services on the device (Syncthing :22000, KOReader SSH :2222) |
Yes | Yes — TCP is accepted and re-dialed to localhost |
| Outbound from apps (KOReader, Syncthing) | Transparent | Only via tailscaled's proxy, 127.0.0.1:1056 (in KOReader: Settings → Network → HTTP proxy, long-press) |
Tailscale SSH (:22) |
Yes | Yes |
| Taildrop (send/receive via the plugin menu) | Yes | Yes |
HTTP proxy 127.0.0.1:1056 |
Optional | Required for outbound traffic |
On your other devices
Remember your ports! An example address in my syncthing client on iOS:
tcp://<kindle.tailscalestuffhere>:22000
Manual installation
If the automatic installation fails, install the binaries by hand.
- Download the binaries for your architecture (
armfor ARMv7,arm64for ARM64) from pkgs.tailscale.com/stable.
wget https://pkgs.tailscale.com/stable/tailscale_<version>_arm.tgz
wget https://pkgs.tailscale.com/stable/tailscale_<version>_arm.tgz.sha256
echo "$(cat tailscale_<version>_arm.tgz.sha256) tailscale_<version>_arm.tgz" | sha256sum -c
- Transfer the archive to the device's plugin
bindirectory. See the platform paths for common locations.
scp -P 2222 tailscale_<version>_arm.tgz root@<device-ip>:/path/to/tailscale.koplugin/bin/
Then, on the device:
cd /path/to/tailscale.koplugin/bin
tar xzf tailscale_<version>_arm.tgz
mv tailscale_*/tailscale tailscale_*/tailscaled ./
rm -rf tailscale_* tailscale_<version>_arm.tgz
chmod +x tailscale tailscaled
- Start Tailscale from the plugin menu and sign in.
Credits
Inspired by mitanshu7/tailscale_kual, our .sh access to Tailscale is essentially the same.
MIT License.
関連プロジェクトを探す
読み込み中…