A bunch of scripts to fetch your Mastodon / snac bookmarks (using Mastodon API) and save them in your Readeck account for reading later or Youtube account for watching later.
Find a file
2025-05-21 00:44:19 +00:00
vendor first 2025-05-21 00:44:19 +00:00
.gitignore first 2025-05-21 00:44:19 +00:00
add_to_fedilist.php first 2025-05-21 00:44:19 +00:00
composer.json first 2025-05-21 00:44:19 +00:00
composer.lock first 2025-05-21 00:44:19 +00:00
create_fedilist.php first 2025-05-21 00:44:19 +00:00
fedi_slurp.php first 2025-05-21 00:44:19 +00:00
LICENSE Initial commit 2025-05-20 21:17:41 +00:00
README.md first 2025-05-21 00:44:19 +00:00

Fedi Link Fetcher

A pair of PHP scripts that extract links from your Mastodon / snac bookmarks and add them to:

  • YouTube Playlist (Google oAUTH API)
  • Readeck (simple API token)

TODO instructions readeck API

how to get tokeb in web ui

TODO isntructions Youtube PlayList

1.	Go to the Google Cloud Console:
•	Project > APIs & Services > Credentials

create oauth client ID for TV and limited INPUT • Download the OAuth 2.0 Client ID JSON file

save as /home/snac/youtube_list/client_secret.json

Option 1: Add your Google account as a test user 1. Go to Google Cloud Console > OAuth consent screen ~> Audience 2. Scroll to “Test users” 3. Add your Google email (e.g. jacques.lema@gmail.com)

composer require google/apiclient:^2.0