Skip to main content

Log your Matodon toots to DayOne

Project description

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 backfill up to the pagination limit.

Install

  1. Ensure you have at least Python 3.6 on your mac
    • homebrew makes this easy with brew install python
  2. Install the DayOne Command Line Interface
  3. Install tootlogger with pip3 install tootlogger

Setup

You will need to manually generate your access token and create a config file

  1. Log into your mastodon instance
  2. go to /settings/applications and create the new app
    • read is the only checkbox needed
  3. Note down the access_token
  4. Repeat this for all accounts you want to log
  5. Create a config file like the example below (or in this repo) in one of two places
    1. $HOME/.tootlogger.toml
    2. tootlogger.toml in 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

  1. run tootlogger to log all of your toots to DayOne
  2. Set up tootlogger to run daily or whenever you toot enough

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tootlogger-0.4.3.tar.gz (23.6 kB view hashes)

Uploaded Source

Built Distribution

tootlogger-0.4.3-py2.py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page