{"id":21091215,"url":"https://github.com/jadedctrl/bookmarks-dl","last_synced_at":"2026-04-28T19:01:36.953Z","repository":{"id":192700585,"uuid":"686708008","full_name":"JadedCtrl/bookmarks-dl","owner":"JadedCtrl","description":"Fetch bookmarked/liked posts from various websites. (Mirror 🪞)","archived":false,"fork":false,"pushed_at":"2023-10-04T11:56:24.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T23:06:10.514Z","etag":null,"topics":["bookmarks","downloader","favorites","favourites","likes","marks","mastodon","pixiv","scraper"],"latest_commit_sha":null,"homepage":"https://hak.xwx.moe/jadedctrl/bookmarks-dl","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JadedCtrl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-03T17:28:53.000Z","updated_at":"2024-01-30T05:58:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"afc223b1-7dd0-4c08-8325-d94393e74255","html_url":"https://github.com/JadedCtrl/bookmarks-dl","commit_stats":null,"previous_names":["jadedctrl/bookmarks-dl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JadedCtrl/bookmarks-dl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JadedCtrl%2Fbookmarks-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JadedCtrl%2Fbookmarks-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JadedCtrl%2Fbookmarks-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JadedCtrl%2Fbookmarks-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JadedCtrl","download_url":"https://codeload.github.com/JadedCtrl/bookmarks-dl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JadedCtrl%2Fbookmarks-dl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32394478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bookmarks","downloader","favorites","favourites","likes","marks","mastodon","pixiv","scraper"],"created_at":"2024-11-19T21:44:28.477Z","updated_at":"2026-04-28T19:01:36.934Z","avatar_url":"https://github.com/JadedCtrl.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bookmarks-dl\n\nSet of scripts for downloading “bookmarks” from online sources (Mastodon, Pixiv) into an easily-parseable line-based format. Currently, it supports Mastodon and Pixiv.\n\nThe format is TSV, with columns like so:\n`URL\tTitle\tDescription\tDate`\n\n\n## Installation\nCopy `bookmarks-dl.sh` to a directory in your `$PATH`, and copy `sources/` to a directory like `/usr/libexec/bookmarks-dl/sources/`.\n\n```\n$ chmod +x bookmarks-dl.sh\n$ cp bookmarks-dl.sh ~/.local/bin/bookmarks-dl\n$ mkdir -p ~/.local/libexec/bookmarks-dl/\n$ cp -r sources/ ~/.local/libexec/bookmarks-dl/\n```\n\n\n## Usage\n`bookmarks-dl` uses different “source” scripts in `$PREFIX/libexec/bookmarks-dl/sources/`, like `~/.local/libexec/bookmarks-dl/sources/`.\n\nYou can see a list of sources with `bookmarks-dl --list`, and invoke a specific source with `bookmarks-dl $SOURCE --help`, like `$ bookmarks-dl mastodon --help`.\n\n\n### Mastodon\nThe Mastodon source works with any fedi server that implements the Mastodon client API — this includes servers like Pleroma, Akkoma, etc.\n\nTo use it, you need two bits of information: Your server, and your Authentication token.\nTo find your Authorization token, you can snoop through request headers in Firefox or Chromium by navigating to `Developer Tools (F12) → Network → Headers`. Refresh your Mastodon page, and examine a request, looking for a header like so:\n\n`Authorization: Bearer $TOKEN`\n\n… where $TOKEN is your token. Copy it!\nThen, all you have to do is download bookmarks:\n\n`$ bookmarks-dl mastodon -d $SERVER -a $TOKEN \u003e fedi-bookmarks.tsv`\n\nNote that, since these posts don’t have “descriptions” in the strict sense, the “description” column contains the post’s text-content itself. And since posts don’t have “titles” either, the “title” column contains a truncated version of the “description.”\n\n\n### Pixiv\nFor the Pixiv source, you need your user-ID and your PHPSESSID cookie.\n\nTo find your user-id, go to you pixiv profile and look at the URL:\n\n`https://www.pixiv.net/en/users/$USER_ID`\n\nTo find your PHPSESSID cookie, look at your web-browser’s storage for pixiv.net. This varies from browser to browser, but you can do so in Firefox by navigating to `Developer Tools (F12) → Storage → Cookies → pixiv.net → PHPSESSID`.\n\nNow, to fetch your bookmarks:\n\n`$ bookmarks-dl pixiv -u $USER_ID -a $PHPSESSID \u003e pixiv-bookmarks.tsv\n\n\n## Example\n```\n$ bookmarks-dl mastodon -d jam.xwx.moe -a $auth_token \u003e bookmarks.tsv\n$ head -2 bookmarks.tsv\nhttps://mastodon.social/@kroyxt/110861657854740188\tMia uzo de #linukso estas tre minimalism\tMia uzo de #linukso estas tre minimalisma komparante min kun aliaj uzantoj:  - Mia fenestra administrilo estas \"i3wm\". - Mi skribas kodon per \"Vim\". - Mi legas je RSS per \"Newsboat\". - Mi aŭdas podkaston per \"Newsboat+Podboat+MPV\". - Mi aŭdas radion per \"PyRadio\". - Mi administras miajn dosierojn per \"Ranger\"(Antaŭe per Vifm). - Mi aŭdas muzikon per \"Cmus\". - Mi legas e-librojn per \"Zathura\". - Mi skribas notojn per \"jrnl\". - Por krei aŭtomatigon mi uzas je bash + rofi + fulmklavo.  #esperanto \t2023-08-09T20:57:32.000Z\nhttps://esperanto.masto.host/@abouadil/111084745919750147\tSvahila proverbo (151)  Penye uchafu hap\tSvahila proverbo (151)  Penye uchafu hapakosi nzi.  Tie kie estas malpuraĵoj, tie ne mankas muŝojn.  #Swahili #Kiswahili #MethaliZaKiswahili #Esperanto #Kiesperanto #SvahilaProverbaro #lang_eo \t2023-09-18T06:31:46.000Z\n```\n\n\n## Sources\nSources are ultimately just shell scripts that have functions to override those of bookmarks-dl. At the moment, the function `source_start` should be implemented.\n\n`source-start`: Takes source-specific arguments (that is, all arguments after `$SOURCE` in `bookmarks-dl source arg1 arg2 arg3`. Should print a help message if -h/--help are parameters, or if no parameters are given. Should print bookmarks in the above-described tab-separated format.\n\nI might change it up, as necessary. I just want the interface to be semi-consistent between these scripts; that’s why this is all under `bookmarks-dl`, rather than under separate scripts/repos.\n\nI hope to make sources for at least one other website — DeviantArt. Suggestions or contributions for other sites would be greatly appreciated!\n\n\n## Misc.\nLicense: GNU GPLv3  \nAuthor: Jaidyn Ann \u003cjadedctrl@posteo.at\u003e  \nWeather: Temperate\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadedctrl%2Fbookmarks-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjadedctrl%2Fbookmarks-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadedctrl%2Fbookmarks-dl/lists"}