{"id":18655026,"url":"https://github.com/hmlendea/mastodon-random-facts-bot","last_synced_at":"2026-05-01T03:37:17.908Z","repository":{"id":74299367,"uuid":"581571386","full_name":"hmlendea/mastodon-random-facts-bot","owner":"hmlendea","description":"Mastodon bot that posts random facts from a predefined list","archived":false,"fork":false,"pushed_at":"2024-03-21T09:42:19.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-13T13:49:51.481Z","etag":null,"topics":["bot","mastodon"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hmlendea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":null,"patreon":"hmlendea","open_collective":null,"ko_fi":"hmlendea","tidelift":null,"community_bridge":null,"liberapay":"HMlendea","issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":"https://hmlendea.go.ro/fund.html"}},"created_at":"2022-12-23T15:30:01.000Z","updated_at":"2022-12-23T15:57:13.000Z","dependencies_parsed_at":"2023-11-20T05:03:41.005Z","dependency_job_id":"82e967ba-2f60-4f6a-bcd7-1f682b26263d","html_url":"https://github.com/hmlendea/mastodon-random-facts-bot","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":"0.17647058823529416","last_synced_commit":"ddac4594440a7a39cff4b9eb4be985b320ee85e3"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fmastodon-random-facts-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fmastodon-random-facts-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fmastodon-random-facts-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmlendea%2Fmastodon-random-facts-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmlendea","download_url":"https://codeload.github.com/hmlendea/mastodon-random-facts-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239412485,"owners_count":19634016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","mastodon"],"created_at":"2024-11-07T07:17:29.721Z","updated_at":"2025-11-05T18:30:20.067Z","avatar_url":"https://github.com/hmlendea.png","language":"Python","funding_links":["https://patreon.com/hmlendea","https://ko-fi.com/hmlendea","https://liberapay.com/HMlendea","https://hmlendea.go.ro/fund.html"],"categories":[],"sub_categories":[],"readme":"[![Donate](https://img.shields.io/badge/-%E2%99%A5%20Donate-%23ff69b4)](https://hmlendea.go.ro/fund.html)\n\n# About\n\nThis is Python bot that posts a random fact to Mastodon from a predefined list of facts.\n\nThe facts are stored in a file and the bot selects a one to post.\n\nIt's designed to keep Mastodon users informed and entertained by posting a new fact on a regular basis.\n\n# Usage\n\n## Running in the background\n\n### Using `systemd`\n\n`/usr/lib/systemd/system/mastodon-random-facts-bot.timer`:\n```gitconfig\n[Unit]\nDescription=Periodically activates the random facts bot for Mastodon\n\n[Timer]\nOnBootSec=15min\nOnUnitActiveSec=25min\n\n[Install]\nWantedBy=timers.target\n```\n\n`/usr/lib/systemd/system/mastodon-random-facts-bot.service`:\n```gitconfig\n[Unit]\nDescription=RSS bot for Mastodon\nAfter=network.target\n\n[Service]\nWorkingDirectory=/home/horatiu/bots/mastodon-rss-bot\nExecStart=/bin/bash /home/horatiu/bots/mastodon-rss-bot/run.sh\nUser=horatiu\nRuntimeMaxSec=60\n\n[Install]\nWantedBy=multi-user.target\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmlendea%2Fmastodon-random-facts-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmlendea%2Fmastodon-random-facts-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmlendea%2Fmastodon-random-facts-bot/lists"}