On another blue app, I still enjoy getting served Memories, posts from the past.
-
On another blue app, I still enjoy getting served Memories, posts from the past. I will start transferring some of my favorites here. On this day, 8 years ago, I was in a team with @abbe98 (and some more people I haven't found on the Fediverse yet) at Hack for Heritage, and we won the Code class by developing https://kyrksok.se
The pitch can be seen at https://vimeo.com/188287607?share=copy#t=3128.792 -
As a follow-up, is there some #Fediverse app that does something like "on this day x years ago" for an account?
-
@ainali I built one!
It is command-line only.
https://codeberg.org/edent/Mastodon_Tools -
@ainali it would be nice!
-
@Edent Do I read it right that I need to have an updated local copy of all my toots for it to work?
-
@ainali no. It connects to the Internet and searches your Mastodon posts from your server.
-
@Edent While your blog post is a good tutorial on how to build the script, it is a bit difficult to follow in terms of what I need to do to run it myself. Would you mind doing a simpler version aimed at a reader who is a "just" a user?
-
@ainali sure!
Download this file
https://codeberg.org/edent/Mastodon_Tools/src/branch/pages/on_this_day.py
Also download this file https://codeberg.org/edent/Mastodon_Tools/src/branch/pages/config.py.exampleRename config.py.example to config.py
Go to your Mastodon instance's website. Create a new app. For you, I think it will be https://social.coop/settings/applications/new
Give the app "Read" permissions.
Edit config.py to have the name of your domain (social.coop) and the access token you just created.
On the command line, run
pip install Mastodon.py
pip install beautifulsoup4Then run "python on_this_day.py"