{"id":24258303,"url":"https://github.com/jamesrswift/gort","last_synced_at":"2026-05-28T13:31:10.238Z","repository":{"id":37810376,"uuid":"444879512","full_name":"jamesrswift/gort","owner":"jamesrswift","description":"A modular typescript reddit moderation tool with a rule-action paradigm as a supplement to automod","archived":false,"fork":false,"pushed_at":"2023-03-16T12:00:52.000Z","size":2549,"stargazers_count":2,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-01T18:35:41.034Z","etag":null,"topics":["moderation-bot","reddit","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jamesrswift.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"jamesxx","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2022-01-05T16:47:44.000Z","updated_at":"2023-01-17T12:27:51.000Z","dependencies_parsed_at":"2024-10-29T22:29:03.316Z","dependency_job_id":null,"html_url":"https://github.com/jamesrswift/gort","commit_stats":null,"previous_names":["jamesrswift/gort"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamesrswift/gort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesrswift%2Fgort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesrswift%2Fgort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesrswift%2Fgort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesrswift%2Fgort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesrswift","download_url":"https://codeload.github.com/jamesrswift/gort/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesrswift%2Fgort/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33611248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["moderation-bot","reddit","typescript"],"created_at":"2025-01-15T05:37:08.428Z","updated_at":"2026-05-28T13:31:10.222Z","avatar_url":"https://github.com/jamesrswift.png","language":"TypeScript","funding_links":["https://github.com/sponsors/jamesxx"],"categories":[],"sub_categories":[],"readme":"\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![GNUv3 License][license-shield]][license-url]\n\n\u003c/div\u003e\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/jamesxx/gort\"\u003e\n    \u003cimg src=\"images/gort_logo_128.png\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n\u003ch3 align=\"center\"\u003eGort\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    A modular typescript reddit moderation tool with a rule-action paradigm as a supplement to automod\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/jamesxx/gort\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/jamesxx/gort/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/jamesxx/gort/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#roadmap\"\u003eRoadmap\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\n## About The Project\n\nAn iterative improvement upon its predecessor, Gort is a typescript reddit moderation bot which can act as a supplement (or upgrade) to reddit's automoderator, born out of a need for more complicated rulesets and context-sensitive actions. Rules can be created simply using in-built helper classes, allowing non-programmers to make additions.\n\nMy aim for the future of the project is to create an easy-to-use web-interface that will allow moderators to configure the bot at runtime. Another posibility includes configuring the bot through reddit wiki pages.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n### Built With\n\n-   [NodeJS](https://nodejs.org/)\n-   [Discord.js](https://discord.js.org/)\n-   [Snoowrap](https://github.com/not-an-aardvark/snoowrap)\n-   Blood, sweat and tears\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Getting Started\n\nThis is an example of how you may give instructions on setting up your project locally.\nTo get a local copy up and running follow these simple example steps.\n\n### Prerequisites\n\nThis is an example of how to list things you need to use the software and how to install them.\n\n-   npm\n    ```sh\n    npm install npm@latest -g\n    ```\n\n### Installation\n\n1. Clone the repo\n    ```sh\n    git clone https://github.com/jamesxx/gort.git\n    ```\n2. Install NPM packages\n    ```sh\n    npm install\n    ```\n3. Configure the bot in `.env`\n    ```env\n     DISCORD_TOKEN=\n     REDDIT_USERAGENT=\n     REDDIT_CLIENTID=\n     REDDIT_CLIENTSECRET=\n     REDDIT_USERNAME=\n     REDDIT_PASSWORD=\n     REDDIT_SUBREDDIT=\n     DATABASE_URI=\n    ```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- USAGE EXAMPLES --\u003e\n\n## Usage\n\nOnce configured, Gort can be used to perform automated actions on new comments and submissions in your subreddit based on logic defined in its ruleset. This includes banning users, locking or removing comments, replying to a new comment or submission automatically (which itself can be locked and/or distinguished), adding a usernote on a user, or making a notification to a chosen Discord channel.\n\nMore niche uses include getting notified about new comments or submission made by selected users, and detecting comments made by traffic originating from other subreddits from which yours has been linked, as a means of detecting and thwarting brigading.\n\n_For more examples, please refer to the [Documentation](https://example.com)_\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ROADMAP --\u003e\n\n## Roadmap\n\n-   [ ] Detect repeat posts automatically\n-   [ ] Detect whether a user is making a comment in your subreddit for the first time\n-   [ ] Catch editted and modqueued items aswell, not only new comments/submissions\n-   [ ] Modmail notifications\n-   [ ] Call commands as a comment, to make mobile moderation easier\n-   [ ] Web interface\n    -   [ ] Persistent variables and customisation from web for rules\n    -   [ ] Stats interface to monitor subreddit health\n\nSee the [open issues](https://github.com/jamesxx/gort/issues) for a full list of proposed features (and known issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LICENSE --\u003e\n\n## License\n\nDistributed under the GPL-3.0-only License. See [LICENSE.md](https://github.com/jamesxx/gort/blob/master/LICENSE.md) for more information.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ACKNOWLEDGMENTS --\u003e\n\n## Acknowledgments\n\n-   Icons made by [Freepik](https://www.flaticon.com/authors/freepik) from [www.flaticon.com](https://www.flaticon.com/)\n-   [iMrDJAi](https://github.com/iMrDJAi/)'s maintained fork of [Snoowrap](https://github.com/iMrDJAi/snoowrap)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n\n[contributors-shield]: https://img.shields.io/github/contributors/jamesxx/gort.svg?style=for-the-badge\n[contributors-url]: https://github.com/jamesxx/gort/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/jamesxx/gort.svg?style=for-the-badge\n[forks-url]: https://github.com/jamesxx/gort/network/members\n[stars-shield]: https://img.shields.io/github/stars/jamesxx/gort.svg?style=for-the-badge\n[stars-url]: https://github.com/jamesxx/gort/stargazers\n[issues-shield]: https://img.shields.io/github/issues/jamesxx/gort.svg?style=for-the-badge\n[issues-url]: https://github.com/jamesxx/gort/issues\n[license-shield]: https://img.shields.io/github/license/jamesxx/gort.svg?style=for-the-badge\n[license-url]: https://github.com/jamesxx/gort/blob/master/LICENSE.md\n[build-shield]: https://github.com/JamesxX/gort/actions/workflows/build-and-push.yml/badge.svg?style=for-the-badge\n[build-url]: https://github.com/JamesxX/gort/actions/workflows/build-and-push.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesrswift%2Fgort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesrswift%2Fgort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesrswift%2Fgort/lists"}