On a mission to index all Ruby events.
RubyEvents.org (formerly RubyVideo.dev), inspired by pyvideo.org, is designed to index all Ruby-related events and videos from conferences and meetups around the world.
Technically the project is built using the latest Ruby and Rails goodies such as Hotwire, Solid Queue, Solid Cache.
For the front end part we use Vite, Tailwind with daisyUI components and Stimulus.
It is deployed on an Hetzner VPS with Kamal using SQLite as the main database.
For compatible browsers it tries to demonstrate some of the possibilities of Page View Transition API.
This project is open source, and contributions are greatly appreciated. One of the most direct ways to contribute at this time is by adding more content.
We also have a page on the deployed site that has up-to-date information with the remaining known TODOs. Check out the "Getting Started: Ways to Contribute" page on RubyEvents.org and feel free to start working on any of the remaining TODOs. Any help is greatly appreciated.
For more information on contributing, see the Contributing Guide.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms. More details can be found in the Code of Conduct document.
Thank you AppSignal for providing the APM tool that helps us monitor the application.
Thank you Typesense for sponsoring our Typesense Cloud instance that powers the search functionality.
RubyEvents.org is open source and available under the MIT License. For more information, please see the License file.
YAML data import: findings
https://github.com/rubyevents/rubyevents/issues/2262
Labels: None
RFC: YAML schema cleanup
https://github.com/rubyevents/rubyevents/issues/2261
Labels: None
RFC: Long-form text format
https://github.com/rubyevents/rubyevents/issues/2260
Labels: None
RFC: Schedule slots per day and stage, referenced by talks
https://github.com/rubyevents/rubyevents/issues/2258
Labels: None
Welcome to RubyEvents.org, and thank you for contributing your time and energy to improving the platform. We're on a mission to index all ruby events and video talks, and we need your help to do it!
A great way to get started is adding new events and content. We have a page on the deployed site that has up-to-date information with the remaining known TODOs. Check out the "Getting Started: Ways to Contribute" page on RubyEvents.org and feel free to start working on any of the remaining TODOs. Any help is greatly appreciated.
All contributors are expected to abide by the Code of Conduct.
We have tried to make the setup process as simple as possible so that in a few commands you can have the project with real data running locally.
In addition to the local development flow described below, we support devcontainers and codespaces. If you open this project in VS Code and you have the dev containers extension installed, it will prompt you and ask if you want to reopen in a dev container. This will set up the dev environment for you in docker, and reopen your editor from within the context of the rails container, so you can run commands and work with the project as if it was local. All file changes will be present locally when you close the container.
Clone RubyEvents with https, it tends to behave better, and new gh auth login commands won't generate new ssh keys.
If you cannot fetch or push, use gh auth login to auth with GitHub.
If you cannot push and get this error:
/opt/homebrew/bin/gh auth git-credential erase: 1: /opt/homebrew/bin/gh: not found
remote: Invalid username or token. Password authentication is not supported for Git operations.
use gh auth setup-git.
After the container is set up, run bin/dev in the terminal to start the development server. The application will be forwarded to localhost:3000.
To run system tests, use HEADLESS=true bin/rails test. The HEADLESS=true environment variable ensures Chrome runs in headless mode, which is required in the container environment.
If the ruby version is updated, or you start running into issues, feel free to toss and rebuild the container.
npm install -g yarn)Dependencies of the application will require some operating system development packages to be installed.
On Debian, you can install these packages by running the following command:
apt-get install -y libssl-dev libyaml-dev
To install dependencies and prepare the database run:
bin/setup
This will seed the database with all speakers, meetups, the last 6 months of events, and all future events.
To load all historical data, run:
bin/rails db:seed:all
You can use the .env.sample file as a guide for the environment variables required for the project.
However, there are currently no environment variables necessary for simple app exploration.
The following command will start Rails, SolidQueue and Vite (for CSS and JS).
bin/dev
The CI performs these checks:
Before committing your code you can run bin/lint to detect and potentially autocorrect lint errors and validate schemas.
The application uses Typesense for enhanced search functionality (spotlight search). Typesense is optional for local development. The app works without it, falling back to SQLite FTS5 for search.
Devcontainers / Docker Compose: Typesense is included and starts automatically.
Local development: Run Typesense with Docker:
docker compose -f docker-compose.typesense.yml up -d
Check the status of the search backends and if you can connect.
bundle exec rake search:status
Once running, you can reindex the data:
bin/rails search:reindex
Useful search commands:
bin/rails search:status # Show status of all search backends
bin/rails typesense:health # Check if Typesense is running
bin/rails typesense:stats # Show Typesense index statistics
bin/rails typesense:reindex # Full reindex of Typesense collections
bin/rails sqlite_fts:reindex # Rebuild SQLite FTS indexes
Configure Typesense via environment variables in your .env file:
Local development (single node):
| Variable | Default | Description |
|---|---|---|
TYPESENSE_HOST | localhost | Typesense server host |
TYPESENSE_PORT | 8108 | Typesense server port |
TYPESENSE_PROTOCOL | http | Protocol to use |
TYPESENSE_API_KEY | xyz | Your Typesense API key |
Typesense Cloud with Search Delivery Network (SDN):
| Variable | Default | Description |
|---|---|---|
TYPESENSE_NODES | - | Comma-separated list of node hosts (e.g., xxx-1.a1.typesense.net,xxx-2.a1.typesense.net,xxx-3.a1.typesense.net) |
TYPESENSE_NEAREST_NODE | - | SDN nearest node hostname (e.g., xxx.a1.typesense.net) |
TYPESENSE_PORT | 443 | Typesense server port |
TYPESENSE_PROTOCOL | https | Protocol to use |
TYPESENSE_API_KEY | - | Your Typesense Admin API key |
Other options:
| Variable | Default | Description |
|---|---|---|
SEARCH_INDEX_ON_IMPORT | true | Whether to update search indexes when importing data from YAML files. Set to false to skip indexing during imports (useful for bulk imports followed by a full reindex) |
For local development with Docker, the defaults