{"id":21283635,"url":"https://github.com/pangoraweb/link-bot","last_synced_at":"2025-07-26T11:34:08.619Z","repository":{"id":207078948,"uuid":"718374043","full_name":"PangoraWeb/link-bot","owner":"PangoraWeb","description":"A pangora/lemmy/kbin bot that replies with recommended communities based on keywords it finds in post titles","archived":false,"fork":false,"pushed_at":"2023-11-15T02:28:14.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-22T04:42:46.812Z","etag":null,"topics":["bot","bots","fediverse","fediverse-bot","javascript","kbin","lemmy","lemmy-bot","pangora","pangora-bot","sublinks","sublinks-bot"],"latest_commit_sha":null,"homepage":"https://matrix.to/#/#pangora:matrix.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PangoraWeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-14T00:10:09.000Z","updated_at":"2024-01-29T12:41:36.000Z","dependencies_parsed_at":"2023-11-14T01:30:55.665Z","dependency_job_id":"bb1d1379-0925-4032-a5ae-e504adbebe5b","html_url":"https://github.com/PangoraWeb/link-bot","commit_stats":null,"previous_names":["pangoraweb/link-bot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PangoraWeb%2Flink-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PangoraWeb%2Flink-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PangoraWeb%2Flink-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PangoraWeb%2Flink-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PangoraWeb","download_url":"https://codeload.github.com/PangoraWeb/link-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746130,"owners_count":20341203,"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","bots","fediverse","fediverse-bot","javascript","kbin","lemmy","lemmy-bot","pangora","pangora-bot","sublinks","sublinks-bot"],"created_at":"2024-11-21T11:10:36.447Z","updated_at":"2025-03-15T14:42:38.735Z","avatar_url":"https://github.com/PangoraWeb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \n![GitHub tag (latest SemVer)](https://img.shields.io/github/release/PangoraWeb/link-bot.svg?style=for-the-badge)\n[![GitHub issues](https://img.shields.io/github/issues-raw/PangoraWeb/link-bot.svg?style=for-the-badge)](https://github.com/PippitWeb/pippit/issues)\n[![License](https://img.shields.io/github/license/PangoraWeb/link-bot.svg?style=for-the-badge)](LICENSE)\n![GitHub stars](https://img.shields.io/github/stars/PangoraWeb/link-bot.svg?style=for-the-badge)\n\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/PangoraWeb/link-bot/assets/73616169/6bdf131b-d311-4b2e-b0c8-1bf2e3464f0a\" width=200px height=200px\u003e\u003c/img\u003e\n  \u003ch3 align=\"center\"\u003e\u003ca href=\"\"\u003eLink Bot\u003c/a\u003e\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n\n    A bot for Pangora, Lemmy, and Kbin to post recommended communities based on keywords in the post title.\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## About the Bot\nThis bot looks at post names in given communities and sees if any contain any keywords youve defined. If so it replies with a comment on that post it found it in with all of the matching communities to the keywords it found.\n\n![image](https://github.com/PangoraWeb/link-bot/assets/73616169/289e3424-2eb9-4329-b2e7-ddd77dac640f)\n\n## Self-Hosting Setup\nYou need node.js downloaded to run this\n\n1. Clone the repository (`git clone https://github.com/PangoraWeb/link-bot.git` in a terminal)\n2. Create an account in the instance you want the bot to have as its home (just make a regular user)\n3. Create a file called .env in the bot folder and give it values in this format with the data in the quotes (dont add the slashes or the part after the slashes)\n```\nLEMMY_INSTANCE=\"\" // The instance the bot account is in\nLEMMY_USERNAME=\"\" // The bot username\nLEMMY_PASSWORD=\"\" // The bot password\n```\n4. Change the data in config.yaml based on what you want set\n5. Open a terminal in the bot folder and run `npm install` to install dependendies and then `node main.js` to run the bot (whenever you want to start the bot again you can just do ctrl+c to interrupt the process and node main.js to start the bot)\n\nI recommend installing something like [forever.js](https://www.npmjs.com/package/forever) for running it in the background on your server\n\nIf you run into issues feel free to dm me on Matrix [here](https://matrix.to/#/@ategon:matrix.org)\n\n## Contributing\nIf you want to contribute to add some sort of feature feel free to make a pull request with it added\n\n[This repository](https://github.com/firstcontributions/first-contributions) has some info on how to do development in a repository and make a pull request\n\n## Credits\nIcon base by [Lorc]([https://delapouite.com/](https://lorcblog.blogspot.com)) under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/) with modifications to add a gradient\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpangoraweb%2Flink-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpangoraweb%2Flink-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpangoraweb%2Flink-bot/lists"}