~lioploum/offlinetools

do_the_internet.sh and other personal tools
bd24ed52 — Ploum 7 days ago
use of cases
311a0adf — Ploum 27 days ago
correction path
ac3c77ec — Ploum 27 days ago
adding calendar.txt

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~lioploum/offlinetools
read/write
git@git.sr.ht:~lioploum/offlinetools

You can also use your local clone with git send-email.

#offlinetools

Tools to spend more time offline

#do_the_internet.sh

depends: protonmail-bridge, msmtp, offlineimap, mblaze and offpunk

See Offpunk smolnet browser.

A script that checks:

  1. If protonmail-bridge is running
  2. List then send mail queued through the msmtp example scripts
  3. Check if any changes have been made to multiple repository and git push if yes
  4. Offpunk --sync
  5. Get my emails through offlineimap
  6. Display number of items in offpunk lists : tour, toread and news to read in my "news" mail folder
  7. Display mails in my inbox

If run with any argument, the script will only check emails and skip git/offpunk.

#Might implement later:

  • synchronise distant folders with rsync (currently using Tresorit)
  • apt update/dist-upgrade
  • flatpak upgrade
  • update wikipedia zim files (I’ve yet to find a way to do it)

#Old stuffs

In commented out sections, the script was also:

  1. Taking URLs from an url.txt file to send to to forlater.email
  2. Updating RSS in newsboat (those features are no longer needed as offpunk is doing the work)

#newsboat_config

file to be put in .newsboat/config

with this file, every external link will, instead of being opened in a browser, send to the URLs text file (that will later be sent by email to forlater.email).

Do not follow this link