{"id":16137419,"url":"https://github.com/purarue/HPI-personal","last_synced_at":"2025-03-30T23:32:38.712Z","repository":{"id":40325230,"uuid":"457997456","full_name":"purarue/HPI-personal","owner":"purarue","description":"Personal HPI modules/scripts","archived":false,"fork":false,"pushed_at":"2024-12-17T00:15:21.000Z","size":206,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-24T04:58:43.446Z","etag":null,"topics":["data","history","lifelogging"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purarue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-11T00:51:39.000Z","updated_at":"2024-12-17T00:15:25.000Z","dependencies_parsed_at":"2023-10-24T04:33:15.785Z","dependency_job_id":"742c6920-e6c6-4cc5-8ba7-d768f58ef1f7","html_url":"https://github.com/purarue/HPI-personal","commit_stats":null,"previous_names":["purarue/hpi-personal","seanbreckenridge/hpi-personal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2FHPI-personal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2FHPI-personal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2FHPI-personal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2FHPI-personal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purarue","download_url":"https://codeload.github.com/purarue/HPI-personal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395573,"owners_count":20770239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","history","lifelogging"],"created_at":"2024-10-09T23:26:58.222Z","updated_at":"2025-03-30T23:32:38.348Z","avatar_url":"https://github.com/purarue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"These are personal modules and some of my personal scripts/jobs to save/backup data\n\n- `my.old_forums`, parses random forum posts and achievements from sites I used to use in the past, see [`old_forums`](https://github.com/purarue/old_forums)\n- `my.nextalbums`, grabbing when I listened to music albums/my ratings using my [giant spreadsheet](https://purarue.xyz/s/albums). Handled by [`nextalbums export`](https://github.com/purarue/albums)\n- `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](https://nominatim.openstreetmap.org/ui/about.html)) lookup/query around a particular time\n\nThe most important parts of this are the `all.py` files, which override the default `all.py` in `HPI` to use my data sources:\n\n- [`my.location.all`](./my/location/all.py) - my location data\n- [`my.ip.all`](./my/ip/all.py) - my ip data\n\nFor more info on those, see [docs](https://github.com/karlicoss/HPI/blob/master/doc/MODULE_DESIGN.org#allpy)\n\nAmong the other custom scripts in [`scripts`](./scripts), includes:\n\n- `discord-download-attachments` - to download all of my discord attachments\n- `last-gps-location`, which quickly grabs my latest `gpslogger` gps location\n- a custom `fzf` `Ctrl+R` for my shell which searches all of `my.zsh.history`, see [related files](https://github.com/purarue/HPI-personal/commit/4bba567a03e7c8610e7ed17a9fb4ce8db0a2faad)\n\n## Installation\n\nRequires `python3.10+`\n\nTo install, first follow the instructions [on my HPI repo](https://github.com/purarue/HPI#install)\n\nThen install this as editable:\n\n```bash\n# install my HPI\ngit clone https://github.com/purarue/HPI-personal ./HPI-purarue-personal\npython3 -m pip install -e ./HPI-purarue-personal\n```\n\n### Jobs\n\n[`jobs`](./jobs) contains anacron-like jobs that are run periodically, using [`bgproc`](https://github.com/purarue/bgproc) and [`evry`](https://github.com/purarue/evry). In other words, those are the scripts that back up my data.\n\nI run the jobs in the background using [supervisor](https://github.com/Supervisor/supervisor), see [here](https://github.com/purarue/dotfiles/tree/master/.local/scripts/supervisor) for my configuration, and/or [`run_jobs`](https://github.com/purarue/dotfiles/blob/master/.local/scripts/supervisor/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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurarue%2FHPI-personal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurarue%2FHPI-personal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurarue%2FHPI-personal/lists"}