{"id":15105694,"url":"https://github.com/bclindner/iasipbot_mastodon","last_synced_at":"2026-02-16T18:36:33.631Z","repository":{"id":100502560,"uuid":"174884726","full_name":"bclindner/iasipbot_mastodon","owner":"bclindner","description":"Bot that sends IASIP title cards.","archived":false,"fork":false,"pushed_at":"2021-10-19T20:17:44.000Z","size":14,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T10:39:16.450Z","etag":null,"topics":["bot","golang","iasip","its-always-sunny","mastodon"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/bclindner.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}},"created_at":"2019-03-10T21:43:28.000Z","updated_at":"2019-10-06T16:01:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf6da6fd-f754-4bde-8f11-029db16ba4bb","html_url":"https://github.com/bclindner/iasipbot_mastodon","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"3c99925c41e531fc5d58231e2e73b02f4194b7a1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bclindner/iasipbot_mastodon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclindner%2Fiasipbot_mastodon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclindner%2Fiasipbot_mastodon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclindner%2Fiasipbot_mastodon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclindner%2Fiasipbot_mastodon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bclindner","download_url":"https://codeload.github.com/bclindner/iasipbot_mastodon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclindner%2Fiasipbot_mastodon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29514739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T17:46:34.542Z","status":"ssl_error","status_checked_at":"2026-02-16T17:46:30.907Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bot","golang","iasip","its-always-sunny","mastodon"],"created_at":"2024-09-25T20:42:14.309Z","updated_at":"2026-02-16T18:36:33.600Z","avatar_url":"https://github.com/bclindner.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IASIPBot (for Mastodon)\n\nThis is a Mastodon bot that creates It's Always Sunny in Philadelphia title\ncards on demand. It makes use of my [Go-based title card\ngenerator](https://github.com/bclindner/iasipgenerator). It can currently be\nfound on Mastodon at\n[@iasipbot@botsin.space](https://botsin.space/@iasipbot).\n\n# Deploying\n\nI don't really ship binaries for this, so you'll have to compile from source.\nThat said, it's a Go application, so as long as you have Go installed, it's as\neasy as one line in terminal:\n\n```\ngo get github.com/bclindner/iasipbot_mastodon\n```\n\nWhile that's running, make a new Mastodon account, go into the settings, and\ncreate a new Mastodon application. Fairly straightforward.\n\nYou'll also need a TrueType font file for Textile, the font the title cards use.\nI've left it out for licensing reasons. Do some searching.\n\nOnce you're done with all that, fill in the blanks for this config file with the\npath to your font file (relative paths OK) and your shiny new Mastodon app\ncredentials:\n\n```json\n{\n\t\"fontPath\": \"\u003cPATH_TO_YOUR_TEXTILE_TTF\u003e\",\n\t\"credentials\": {\n\t\t\"server\": \"https://\u003cYOUR_BOT_DOMAIN\u003e\",\n\t\t\"clientID\": \"\u003cYOUR_BOT_CLIENT_TOKEN\u003e\",\n\t\t\"clientSecret\": \"\u003cYOUR_BOT_CLIENT_SECRET\u003e\",\n\t\t\"accessToken\": \"\u003cYOUR_BOT_ACCESS_TOKEN\u003e\"\n\t}\n}\n```\n\nFrom there, just launch it with `iasipbot_mastodon` and it should mumble\nsomething about \"entering event loop\" and spring to life.\n\n\nYou can also build a container with the supplied Dockerfile. The container\nexpects you to mount your config to `/srv/config.json` and your font to\nwherever you told the config the font is. I personally just put them both in the\nsame directory, set `\"fontPath\": \"./textile.ttf\"`, and mount that folder to\n`/srv` directly.\n\n# Using\n\nTriggering the bot can be a little finicky - I made it so you have to be\nsomewhat deliberate when querying the bot to prevent it from generating\ntitlecards for every post in a thread. Currently it trims all the mentions from\nthe start of the message and checks to see if that list of mentions exactly\nmatches its username.\n\nAs such, to trigger the bot, type something like this:\n\n```\n@iasipbot@botsin.space \"The Gang Uses an IASIP Title Card Generator\"\n```\n\nYou can @ other people inside of a message (so long as it's surrounded in the\nusual IASIP quotes, or it's not directly next to the bot mention, i.e. separated\nby a new line or two spaces):\n\n```\n@iasipbot@botsin.space \"@Gargron@mastodon.social Breaks The Website\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbclindner%2Fiasipbot_mastodon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbclindner%2Fiasipbot_mastodon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbclindner%2Fiasipbot_mastodon/lists"}