{"id":13570969,"url":"https://github.com/botwiki/fediverse-bot","last_synced_at":"2025-04-04T07:32:33.660Z","repository":{"id":40794771,"uuid":"150863263","full_name":"botwiki/fediverse-bot","owner":"botwiki","description":"A self-hosted fediverse bot.","archived":false,"fork":false,"pushed_at":"2022-12-10T15:46:07.000Z","size":953,"stargazers_count":31,"open_issues_count":19,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-23T04:40:56.564Z","etag":null,"topics":["activitypub","bots","fediverse","indieweb","mastodon"],"latest_commit_sha":null,"homepage":"https://fediverse-bot.glitch.me/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/botwiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-29T12:42:29.000Z","updated_at":"2024-03-19T22:31:36.000Z","dependencies_parsed_at":"2023-01-26T08:31:55.766Z","dependency_job_id":null,"html_url":"https://github.com/botwiki/fediverse-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botwiki%2Ffediverse-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botwiki%2Ffediverse-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botwiki%2Ffediverse-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/botwiki%2Ffediverse-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/botwiki","download_url":"https://codeload.github.com/botwiki/fediverse-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247139252,"owners_count":20890196,"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":["activitypub","bots","fediverse","indieweb","mastodon"],"created_at":"2024-08-01T14:00:57.009Z","updated_at":"2025-04-04T07:32:28.652Z","avatar_url":"https://github.com/botwiki.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"![Fediverse bot feed](https://cdn.glitch.com/a4825d5c-d1d6-4780-8464-8636780177ef%2Ffeed-comb.png)\n\n# Fediverse bot\n\nMake creative online bots that anyone [in the fediverse](https://en.wikipedia.org/wiki/Fediverse) can follow! This project is [under active development](https://github.com/botwiki/fediverse-bot/issues) and contributions and feature suggestions are welcome.\n\n- [Import to Glitch](https://glitch.com/#!/import/github/botwiki/fediverse-bot) ([Learn more](https://glitch.com/about))\n\n## Bot administration\n\nYou can log into the admin panel by going to `/admin` and logging in using the password set inside your `.env` file. This will allow you to delete your bot's posts one by one. (Multi-post deletion is coming!)\n\n## Bot logic (the back end)\n\n1. Update your bot's main script in `bot/script.js`.\n2. Set up your bot's schedule in `server.js`.\n\n```\n(new CronJob(cronSchedules.EVERY_SIX_HOURS, () =\u003e {bot.script()})).start();\n```\n\nSee `helpers/cron-schedules.js` for common schedules, or the cron package documentation at https://www.npmjs.com/package/cron to create your own.\n\n## The look of your bot's page (the front end)\n\nYou can update the style files inside `src/styles`. You can use [sass](https://sass-lang.com/guide), it will be compiled using [node-sass-middleware](https://github.com/sass/node-sass-middleware). Update the scripts inside `src/scripts`.\n\nYou can use [ES6](http://es6-features.org/#Constants), you script files will be compiled using [express-babelify-middleware](https://github.com/luisfarzati/express-babelify-middleware). All templates are inside the `views` folder and use [handlebars.js](http://handlebarsjs.com/).\n\n## TO-DO:\n\n[See issues on GitHub.](https://github.com/fourtonfish/fediverse-bot/issues)\n\n## Resources:\n\n- [ActivityPub documentation](https://github.com/w3c/activitypub) (github.com)\n- [How to implement a basic ActivityPub server](https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/) (blog.joinmastodon.org)\n- [What is necessary for Mastodon to be able to fetch my profile and a list of posts from my blog?](https://github.com/tootsuite/mastodon/issues/1441) (github.com)\n- [express-activitypub](https://github.com/dariusk/express-activitypub) (github.com)\n\n## Debugging/testing\n\n- [webfinger output](https://fediverse-bot.glitch.me/.well-known/webfinger?resource=acct:bot@fediverse-bot.glitch.me)\n- [the Actor object](https://fediverse-bot.glitch.me/bot?debug=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotwiki%2Ffediverse-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotwiki%2Ffediverse-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotwiki%2Ffediverse-bot/lists"}