I really like tiny ereaders like the ones Xteink makes. I also really like GoodLinks, the read-later service.
So I made this to take selected articles from my GoodLinks queue, convert them to ePubs, and send them to my tiny reader.
For the full command, state, device, recovery, and undo reference, see the complete reference.
- Install pandoc, eg
brew install pandoc. - Clone the project and install its CLI in a local virtual environment:
git clone https://github.com/diegopetrucci/goodlinks-to-crosspoint.git
cd goodlinks-to-crosspoint
python3 -m venv .venv
.venv/bin/python -m pip install --no-deps .
.venv/bin/goodlinks-crosspoint --version- Open GoodLinks on the Mac, go to Settings > API, enable the API server, and note down the token.
cp .sync.env.example .sync.envand change (if you want) the GoodLinks tag for the articles you want to sync.
On the CrossPoint device, select File Transfer and join the Wi-Fi network as the Mac.
If you use pass as a secrets manager:
- Save the GoodLinks token:
pass insert goodlinks-crosspoint/goodlinks-token - Start the sync:
./sync.sh.
If you don't use pass:
printf 'GoodLinks API token: '
IFS= read -r -s GOODLINKS_TOKEN
printf '\n'
export GOODLINKS_TOKEN
.venv/bin/goodlinks-crosspoint sync
unset GOODLINKS_TOKEN