Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onlyhavecans/tootlogger
Command-line tool to archive your Mastodon toots to DayOne
https://github.com/onlyhavecans/tootlogger
Last synced: 3 months ago
JSON representation
Command-line tool to archive your Mastodon toots to DayOne
- Host: GitHub
- URL: https://github.com/onlyhavecans/tootlogger
- Owner: onlyhavecans
- License: bsd-3-clause
- Created: 2021-12-11T21:38:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T11:01:18.000Z (8 months ago)
- Last Synced: 2024-05-23T03:30:46.034Z (8 months ago)
- Language: Python
- Homepage: https://pypi.org/project/tootlogger/
- Size: 141 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- project-awesome - onlyhavecans/tootlogger - Command-line tool to archive your Mastodon toots to DayOne (Python)
README
# tootlogger
## Journal your toots to DayOne
Take all your toots and make a [DayOne](https://dayoneapp.com/) 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
1. Ensure you have at least Python 3.7 on your Mac
- [homebrew](https://brew.sh/) makes this easy with `brew install python`
1. Install the [DayOne Command Line Interface](http://help.dayoneapp.com/tips-and-tutorials/command-line-interface-cli)
1. Install tootlogger with `python3 -m pip install tootlogger`## Setup
You will need to manually generate your access token and create a config file
1. Log into your mastodon instance
1. go to `/settings/applications` and create the new app
- `read` is the only checkbox needed
1. Note down the `access_token`
1. Repeat this for all accounts you want to log
1. Create a config file like the example below (or in this repo) in one of two places
1. `$HOME/.tootlogger.toml`
1. `tootlogger.toml` in the local directory you run the command from### Config file
```toml
["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
1. run `tootlogger` to log all of your toots to DayOne
1. Set up `tootlogger` to run daily or whenever you toot enough