Awesome
These are personal modules and some of my personal scripts/jobs to save/backup data
my.old_forums
, parses random forum posts and achievements from sites I used to use in the past, seeold_forums
my.nextalbums
, grabbing when I listened to music albums/my ratings using my giant spreadsheet. Handled bynextalbums export
my.location.where_db
acts as a sort of entrypoint to consume my location data -- lets me query where I was on a day, reverse geocode (using Nominatim) lookup/query around a particular time
The most important parts of this are the all.py
files, which override the default all.py
in HPI
to use my data sources:
my.location.all
- my location datamy.ip.all
- my ip data
For more info on those, see docs
Among the other custom scripts in scripts
, includes:
discord-download-attachments
- to download all of my discord attachmentslast-gps-location
, which quickly grabs my latestgpslogger
gps location- a custom
fzf
Ctrl+R
for my shell which searches all ofmy.zsh.history
, see related files
Installation
Requires python3.10+
To install, first follow the instructions on my HPI repo
Then install this as editable:
# install my HPI
git clone https://github.com/purarue/HPI-personal ./HPI-purarue-personal
python3 -m pip install -e ./HPI-purarue-personal
Jobs
jobs
contains anacron-like jobs that are run periodically, using bgproc
and evry
. In other words, those are the scripts that back up my data.
I run the jobs in the background using supervisor, see here for my configuration, and/or run_jobs
for the bgproc
wrapper. They likely won't work out of the box for you, as they depend on tokens/environment variables that are set on my system - In particular the HPIDATA
environment variable, which for me is ~/data
-- they're here as examples if you're having issues setting up cron/scripts to backup the data