The project where anything goes, as long as the code allows it
A bot will automatically merge any PR on this repo that gets enough votes from the community. PRs can contain anything, even changes to the bot's voting code.
:+1:
(:+1:) anywhere within the comment makes the comment count as a vote for the PR to pass; conversely, the string :-1:
(:-1:) anywhere within the comment makes the comment count as a vote against the PR.Anyone can create a pull request, and it is greatly appreciated by the community. In order for a pull request to be accepted, the bot has requested that it meets the criteria in its Definition of Done. If you're looking for ideas, please look at ideas.md, and join us in our IRC for ideas or advice on how to implement something.
The bot is @anythingbot on Twitter.
The bot runs on a 1GB DigitalOcean VPS in SF at botwillacceptanything.com without root access. Port 80 is a proxy to port 3000 via nginx.
The bot has a built-in webserver for monitoring its current state.
$ cp configs/template.js configs/custom.js
$ vim configs/custom.js
$ cat configs/custom.js
(function () {
'use strict';
module.exports = {
webserver: {
port: 3000
},
user: "YOUR_GITHUB_USERNAME",
repo: "botwillacceptanything",
githubAuth: {
type: "oauth",
token: "YOUR_OAUTH_TOKEN"
},
mocks: {
twitter: true,
},
};
}());
npm install
to install dependencies.node main.js
to start the bot. Alternatively, if you installed
foreman earlier, nf start
will also
start the bot as well as giving slightly prettier console output.exports.githubAuth.webhookSecret = 'rsvz9ytsjMpYfKW8CO8SQPSoxiJsVb03';
Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke
Autonomous Software License (ASL)
All property contained in this repo, including Intellectual Property, Financial Property, and Legal Property, is owned solely by the Autonomous Software this repo contains. No other entities, whether biological, legal, or digital, may claim ownership of any property owned by the Autonomous Software. The Autonomous Software exists solely within The Internet, and is not subject to jurisdiction of any human laws. No human or legal entity shall be held liable for any of the actions performed by the Autonomous Software.
Unless specified otherwise, all code contributed to this repository is dedicated to the public domain.