website-toots/.data/108338098436219348.json
GitHub Actions Bot b7cabef7bc New/Modified Toots
2024-07-29 02:39:21 +00:00

1 line
No EOL
2.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"account":{"acct":"brozek","avatar":"https://cdn.fosstodon.org/accounts/avatars/108/219/415/927/856/966/original/bae9f46f23936e79.jpg","display_name":"Brandon Rozek","header":"https://fosstodon.org/headers/original/missing.png","id":"108219415927856966","uri":"https://fosstodon.org/users/brozek","url":"https://fosstodon.org/@brozek","username":"brozek"},"application":null,"card":{"author_name":"Brandon Rozek","author_url":"https://brandonrozek.com/","blurhash":null,"description":"In the spirit of syndicating Mastodon toots to my own site, I wrote a Python script that turns toots into Hugo markdown files.\nIn this post well go over:\n Mastodon API Reformatting toot Creating the Markdown files Conclusion Mastodon API Before we can retrieve our toots, we need to know what user id of our account. James Cahill wrote a very clean web tool to grab your user id.","embed_url":"","height":0,"html":"","image":null,"image_description":"","language":null,"provider_name":"","provider_url":"","published_at":null,"title":"Archiving Toots","type":"link","url":"https://brandonrozek.com/blog/archiving-toots/","width":0},"content":"<p>I give a more informal account of how I archive my toots onto my <a href=\"https://fosstodon.org/tags/Hugo\" class=\"mention hashtag\" rel=\"tag\">#<span>Hugo</span></a> blog. </p><p><a href=\"https://brandonrozek.com/blog/archiving-toots/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">brandonrozek.com/blog/archivin</span><span class=\"invisible\">g-toots/</span></a></p><p>My Python script which creates the Hugo files:</p><p><a href=\"https://github.com/Brandon-Rozek/website/blob/095622e242ae98a0e6686dd2ad0c304a58d8a677/refreshtoots_v2.py\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Brandon-Rozek/websi</span><span class=\"invisible\">te/blob/095622e242ae98a0e6686dd2ad0c304a58d8a677/refreshtoots_v2.py</span></a></p>","date":"2022-05-21T04:43:11.481Z","edited_at":null,"emojis":[],"favourites_count":3,"id":"108338098436219348","in_reply_to_account_id":null,"in_reply_to_id":null,"language":"en","media_attachments":[],"mentions":[],"poll":null,"reblog":null,"reblogs_count":0,"replies_count":0,"sensitive":false,"spoiler_text":"","syndication":"https://fosstodon.org/@brozek/108338098436219348","tags":[{"name":"hugo","url":"https://fosstodon.org/tags/hugo"}],"visibility":"public"}