Command-line tool to archive your Mastodon toots to DayOne
https://pypi.org/project/tootlogger/
Reviewed-on: #13 Co-authored-by: Renovate Bot <renovate@onlyhavecans.works> Co-committed-by: Renovate Bot <renovate@onlyhavecans.works> |
||
|---|---|---|
| tootlogger | ||
| .gitignore | ||
| .tool-versions | ||
| CODEOWNERS | ||
| LICENSE.txt | ||
| Makefile | ||
| poetry.lock | ||
| poetry.toml | ||
| pyproject.toml | ||
| pyrightconfig.json | ||
| README.md | ||
| renovate.json | ||
| setup.cfg | ||
| tootlogger.toml.example | ||
tootlogger
Journal your toots to DayOne
Take all your toots and make a DayOne journal entry.
This saves the last seen toot id so subsequent runs will only show all the toots since then. If you miss a day of running this it, it will back fill up to the pagination limit.
Install
- Ensure you have at least Python 3.7 on your Mac
- homebrew makes this easy with
brew install python
- homebrew makes this easy with
- Install the DayOne Command Line Interface
- Install tootlogger with
python3 -m pip install tootlogger
Setup
You will need to manually generate your access token and create a config file
- Log into your mastodon instance
- go to
/settings/applicationsand create the new appreadis the only checkbox needed
- Note down the
access_token - Repeat this for all accounts you want to log
- Create a config file like the example below (or in this repo) in one of two places
$HOME/.tootlogger.tomltootlogger.tomlin the local directory you run the command from
Config file
["account_name"]
instance = "https://mastodon.social"
access_token = "really big string"
["cool account @ hachyderm.io"]
instance = "https://hachyderm.io"
access_token = "different big string"
Usage
- run
tootloggerto log all of your toots to DayOne - Set up
tootloggerto run daily or whenever you toot enough