Command line tool to archive your Mastodon toots to DayOne https://pypi.org/project/tootlogger/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Amelia A a7b5ea4e20
Removed unused variables
пре 1 година
tootlogger Removed unused variables пре 1 година
.gitattributes Fix builds пре 2 година
.gitignore Switch to a better command name пре 2 година
.tool-versions Update Version pins to latest for compatibility пре 1 година
LICENSE.txt Clean up docs and packaging пре 2 година
MANIFEST.in Switch to a better command name пре 2 година
Makefile Add Multi-Account functionality пре 2 година
Pipfile Add twine as a dev dep пре 2 година
Pipfile.lock Update Version pins to latest for compatibility пре 1 година
README.md Clean up docs and packaging пре 2 година
setup.cfg fix packaging пре 2 година
setup.py Clean up docs and packaging пре 2 година
tootlogger.toml.example Clean up docs and packaging пре 2 година
versioneer.py Add Versioneer пре 2 година

README.md

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 permissions are fine
  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 @ bofh.lol"]
instance = "https://bofh.lol"
access_token = "different big string"

Usage

  1. run tootlogger to log all of your toots to DayOne