Send a to-do list from your phone or computer to your Xteink X3 or X4 and see it every time the reader sleeps.
To Do List is a plugin for CrossPoint 2.0. It adds a To Do List card to the reader's web File Manager page:
- Saves each list as a plain
.txtfile in/Notes, so you can also open it from the Library like a book. Right-to-left text such as Arabic works too. - Turns the list into your sleep screen. When you press Save to reader, the card draws the list as
/sleep/note.bmp. - Works from any browser. Type a list on the card from a phone, tablet or computer, or open it from a link with the list already filled in. On iPhone and Android, the shortcuts below do that for you.
- Install To Do List from Plugin Hub, or copy the
to-do-list.crosspoint-pluginfolder to the SD card as/plugins/to-do-list/. - On the reader, turn on Settings → Connectivity → Plugins.
- Set Settings → Display → Sleep Screen → Custom.
Requires CrossPoint 2.0 or later.
The quickest way to use the plugin is the ready-made Apple Shortcut.
Get the "Send Sleep Note" shortcut
Open the link on your iPhone and tap Add Shortcut.
- On the reader, open File Transfer and join your home WiFi.
- On the iPhone, connected to the same WiFi, open a note or list and tap Share → Send Sleep Note.
- Safari opens the To Do List card with your list filled in. Check it, then press Save to reader.
- Wait for Done on the card, then put the reader to sleep. Your list is the sleep screen.
- Allow local network access. The first time the shortcut runs, iOS asks whether Shortcuts can reach devices on your local network. Tap Allow.
- If
crosspoint.localdoesn't load, edit the shortcut and replacecrosspoint.localwith the IP address shown on the reader's File Transfer screen. - Only the list is shown. Saving deletes any other
.bmpfiles in/sleep, along with CrossPoint's cached sleep images, so your list is the only sleep image. Move pictures you want to keep out of/sleepfirst.
Android has no built-in Shortcuts app, so this uses the free, open-source HTTP Shortcuts app (also on F-Droid).
- Install HTTP Shortcuts.
- On your phone, open Import "Send Sleep Note" and confirm the import. The link only works on a phone with the app installed. You can also go to ⋮ → Import/Export → Import from URL and paste
https://raw.githubusercontent.com/adi03/Sleep-Notes/main/android/send-sleep-note.json.
- On the reader, open File Transfer and join your home WiFi.
- In Google Keep or any notes app, tap Share → Send Sleep Note.
- Your browser opens the To Do List card with your list filled in. Press Save to reader.
You can also tap Send Sleep Note in the app, or add it to your home screen. It then asks for a title and your list.
- If
crosspoint.localdoesn't open: many Android phones can't find.localaddresses. In HTTP Shortcuts, go to ⋮ → Variables → readerAddress and change it to the IP address shown on the reader's File Transfer screen, for example192.168.1.42. Then give the reader a fixed IP address in your router settings, so it doesn't change. - The title: when the app you share from sends a title, as Google Keep does, it becomes the list's title. Otherwise the first line of the text is used.
On a tablet or a computer:
- Put the reader in File Transfer on the same WiFi.
- Open
http://crosspoint.local/filesin a browser. - Type your list on the To Do List card and press Save to reader.
To skip the typing, have an automation app or script open a link in the format below.
The card fills itself in from a link like this:
http://crosspoint.local/files#title=<URL-encoded title>&body=<URL-encoded list>
To build your own Apple Shortcut, a minimal version has three actions: Get Text from Input → URL Encode → Open URLs http://crosspoint.local/files#note=[URL Encoded Text]. With #note=, the first line becomes the title.
The part after # stays in the browser and is never sent to the reader in the address, so long lists, &, + and emoji are fine. Nothing is uploaded until you press Save to reader.
Plugins can't run code on the reader itself, so the card does the work in your browser:
- Each list is saved as
/Notes/<date> <title>.txt. - The sleep image is drawn as a 24-bit uncompressed BMP, the format CrossPoint's Custom sleep screen needs. It is 528×792 for the X3 and 480×800 for the X4; choose your device on the card.
- Before uploading, the card deletes the
.bmpfiles already in/sleep. It also deletes CrossPoint's cached sleep images:.bmpfiles at the top of/.crosspointwhose name containssleep. - Tap Wallpaper next to any saved list to make it the sleep screen again.
