Skip to main content

Log your Mastodon 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 back fill up to the pagination limit.

Install

  1. Ensure you have at least Python 3.7 on your Mac
    • homebrew makes this easy with brew install python
  2. Install the DayOne Command Line Interface
  3. 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
  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.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tootlogger-0.4.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file tootlogger-0.4.4.tar.gz.

File metadata

  • Download URL: tootlogger-0.4.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Darwin/22.2.0

File hashes

Hashes for tootlogger-0.4.4.tar.gz
Algorithm Hash digest
SHA256 736acb69ebab3c0cd56019fda0f464bdf007ac5100b6a8f9372661626fd316c5
MD5 2233c677603819f25c8736d7862bdd96
BLAKE2b-256 e24d023ba2eea2bcb5558de98a94c876deddc0808ce07f18339f42928d177d8c

See more details on using hashes here.

File details

Details for the file tootlogger-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: tootlogger-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Darwin/22.2.0

File hashes

Hashes for tootlogger-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 211442af5d3ce1ae07c9a08edad9894c916542886f46cf1309ba1020fff8a1a0
MD5 9577932e817dda70e7c0e92d512f344a
BLAKE2b-256 1c0585ab1bd00373c7944b018cfba0206fb924704651c106365dc35555c0aa71

See more details on using hashes here.

Supported by

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