Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seleniumhq/selbot2
bot for #selenium on freenode
https://github.com/seleniumhq/selbot2
Last synced: about 1 month ago
JSON representation
bot for #selenium on freenode
- Host: GitHub
- URL: https://github.com/seleniumhq/selbot2
- Owner: SeleniumHQ
- Created: 2011-02-20T22:01:55.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2023-05-31T11:01:55.000Z (over 1 year ago)
- Last Synced: 2024-10-07T10:17:42.182Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 257 KB
- Stars: 14
- Watchers: 25
- Forks: 30
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selbot2
IRC bot for the #selenium channel on freenode.## Database
The bot utilizes a PostgreSQL database for persisting data.
Follow the [installation guides](https://wiki.postgresql.org/wiki/Detailed_installation_guides) for help getting setup locally.A database needs to be created and the DATABASE_URL environment variable needs to be set. Typically, localhost is used for development:
DATABASE_URL=postgres://localhost/database
For use in production, the url should be in the form:DATABASE_URL=postgres://user:password@host:port/database
Required tables will be genereted automatically by the app.
## Startup
To run the bot locally, try:
$ bundle install
$ SELBOT_CHANNEL=#my-test-channel bundle exec ruby -I lib bin/selbot2.rb
Note that startup is for unknown reasons quite slow. Disabling plugins may or may not help this.In production, use:
$ OPEN_ISSUE_INTERVAL=1800 bundle exec ruby -Ilib bin/selbot2.rb
For use with youtube one needs to create an [API Key](https://developers.google.com/youtube/registering_an_application) and set that as "youtube.conf" environment variable.