Bike Index
Bike registration that works: online, powerful, free.
https://github.com/bikeindex/bike_index
Category: Consumption
Sub Category: Mobility and Transportation
Keywords from Contributors
activejob activerecord mvc
Last synced: about 21 hours ago
JSON representation
Repository metadata
All the code for Bike Index, because we love you
- Host: GitHub
- URL: https://github.com/bikeindex/bike_index
- Owner: bikeindex
- License: agpl-3.0
- Created: 2013-07-25T21:52:26.000Z (about 13 years ago)
- Default Branch: main
- Last Pushed: 2026-08-08T00:09:46.000Z (4 days ago)
- Last Synced: 2026-08-08T02:58:21.228Z (4 days ago)
- Language: Ruby
- Homepage: https://bikeindex.org
- Size: 247 MB
- Stars: 308
- Watchers: 14
- Forks: 76
- Open Issues: 26
- Releases: 1
-
Metadata Files:
- Readme: README.markdown
- Funding: .github/FUNDING.yml
- License: LICENSE
- Agents: AGENTS.md
- Claude: CLAUDE.md
- Copilot: .github/copilot-instructions.md
README.markdown
Bike registration that works: online, powerful, free.
Registering a 🚲 only takes a few minutes and gives 🚴♀️ a permanent record linked to their identity that proves ownership in the case of a theft.
We're an open source project. Take a gander through our code, report bugs, or download it and run it locally.
Dependencies
We recommend mise for managing versions of Ruby and Node. Check the .tool-versions file to see the versions of required versions of:
Bike Index also requires some additional libraries. We recommend installing them via your system package manager / homebrew
-
PostgreSQL
-
Redis
-
libvipsandimagemagickfor image manipulation- Eventually,
imagemagickwill only be required for testing (via chunky_png), but we're not there yet
- Eventually,
Running Bike Index locally
Follow the Getting Started guide for a complete set up. Or if you're familiar with developing Ruby on Rails applications start with these steps and a local Postgresql installation:
-
bin/setupsets up the application and seeds:- Three test user accounts: admin@example.com, member@example.com, user@example.com (all have password
pleaseplease12) - Gives user@example.com 50 bikes
- Three test user accounts: admin@example.com, member@example.com, user@example.com (all have password
-
bin/devstart the server. It starts redis in the background and runs foreman with the dev procfile. If you need/prefer something else, do that. If your "something else" isn't running at localhost:3042, change the appropriate values in Procfile.dev and .env -
Go to localhost:3042
| Toggle in development | command | default |
|---|---|---|
| Caching | bundle exec rails dev:cache |
disabled |
| letter_opener | bin/rake dev:letter_opener |
enabled |
| logging with lograge | bin/rake dev:lograge |
enabled |
Localization
See the localization docs for details (we use translation.io for localization).
Testing
We use RSpec and
Guard for testing.
-
Run the test suite continuously in the background with
bin/guard(watches for file changes/saves and runs those specs) -
You may have to manually add the
fuzzystrmatchextension, which we use for
near serial searches, to your databases. The migration should take care of
this but sometimes doesn't. Open the databases in postgres
(psql bikeindex_developmentandpsql bikeindex_test) and add the extension.CREATE EXTENSION fuzzystrmatch;
We use turbo_tests to run the test suite in parallel. By default, this will spawn one process per CPU in your computer.
-
Run all the tests in parallel with
bin/turbo_tests -
Run
bin/rake parallel:prepareto synchronize the test db schema after migrations (rather thandb:test:prepare). -
Run specific files or test directories with
bin/turbo_tests <FILES_OR_FOLDERS> -
Run Guard with parallelism
bin/guard -G Guardfile_parallel
Code Hygiene
We use the following tools to automate code formatting and linting:
Run bin/lint to automatically lint the files and/or add auto formatters to your text editor (e.g. prettier-standard)
EditorConfig
EditorConfig ensures whitespace consistency. See the Download a
Plugin section of the EditorConfig docs to find a plugin
appropriate to your editor.
StandardRB
StandardRB is an opinionated Ruby style guide, linter, and formatter - it is "a spiritual port of StandardJS".
See the how do I run standard in my editor section of the StandardRB docs to find an appropriate plugin for on-the-fly linting.
StandardJS
standard is configured to run on project JavaScript.
Install it with npm install
Run it with npm run lint.
Bug tracker
Have a bug or a feature request? Open an issue.
Community
Keep track of development and community news.
- Follow @bikeindex on Twitter.
- Read the Bike Index Blog.
Contributing
Open a Pull request!
Don't wait until you have a finished feature before before opening the PR, unfinished pull requests are welcome! The earlier you open the pull request, the earlier it's possible to discuss the direction of the changes.
Once the PR is ready for review, request review from the relevant person.
If your pull request contains Ruby patches or features, you must include relevant Rspec tests.
... and go hard
Owner metadata
- Name: Bike Index
- Login: bikeindex
- Email:
- Kind: organization
- Description:
- Website: https://bikeindex.org
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/4251544?v=4
- Repositories: 17
- Last ynced at: 2024-04-14T19:14:24.822Z
- Profile URL: https://github.com/bikeindex
GitHub Events
Total
- Delete event: 702
- Pull request event: 827
- Fork event: 5
- Issues event: 34
- Watch event: 21
- Issue comment event: 55
- Push event: 3231
- Pull request review event: 18
- Pull request review comment event: 17
- Create event: 674
Last Year
- Delete event: 444
- Pull request event: 326
- Issues event: 32
- Watch event: 1
- Issue comment event: 29
- Push event: 2078
- Pull request review comment event: 10
- Pull request review event: 11
- Create event: 427
Committers metadata
Last synced: 2 days ago
Total Commits: 5,467
Total Committers: 39
Avg Commits per committer: 140.179
Development Distribution Score (DDS): 0.142
Commits in past year: 1,102
Committers in past year: 7
Avg Commits per committer in past year: 157.429
Development Distribution Score (DDS) in past year: 0.151
| Name | Commits | |
|---|---|---|
| Seth Herr | s****r@g****m | 4689 |
| Jake Romer | 4****r | 247 |
| dependabot[bot] | 4****] | 138 |
| Robert Gervais | R****2@g****m | 108 |
| Jake Romer | j****e@b****g | 91 |
| Tim Kelly | t****y | 21 |
| github-actions[bot] | 4****] | 18 |
| Jake Romer | m****l@j****m | 17 |
| Chris Olin | c****t@c****m | 13 |
| Seyamack Afzali | s****k@g****m | 13 |
| runt2pb | r****b | 13 |
| Andrew Herr | l****s@g****m | 11 |
| Geoff Ereth | g****b@g****m | 11 |
| Jack Alto | 3****k | 10 |
| Will Barrett | w****l@t****m | 10 |
| bikeindex-translations-sync[bot] | 2****] | 7 |
| G. Torres | g****y@o****m | 7 |
| Patrick D. Kelly | e@p****o | 6 |
| Josh Chernoff | d****s@g****m | 4 |
| Andrew Herr | a****r@g****m | 4 |
| Londerson | l****n@g****m | 3 |
| Steve Piercy | w****b@s****m | 3 |
| Josh Chernoff | j****c@d****s | 3 |
| Bruno Almeida | w****o | 2 |
| Grey Baker | g****l@g****m | 2 |
| Steven Buccini | s****i | 2 |
| Mateus Pereira | m****s@o****m | 2 |
| laraferroni | l****a@p****m | 1 |
| ackime | a****x@b****g | 1 |
| Amit Kapadia | a****t@z****g | 1 |
| and 9 more... | ||
Committer domains:
- ombulabs.com: 2
- bikeindex.org: 2
- github.com: 1
- samwhited.com: 1
- zooniverse.org: 1
- project529.com: 1
- digitalcak.es: 1
- stevepiercy.com: 1
- pdk.to: 1
- tallgreentree.com: 1
- geoffereth.com: 1
- chrisolin.com: 1
- jakeromer.com: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 333
Total pull requests: 3,024
Average time to close issues: over 1 year
Average time to close pull requests: 18 days
Total issue authors: 50
Total pull request authors: 49
Average comments per issue: 1.38
Average comments per pull request: 0.29
Merged pull request: 2,681
Bot issues: 0
Bot pull requests: 60
Past year issues: 3
Past year pull requests: 190
Past year average time to close issues: about 15 hours
Past year average time to close pull requests: 1 day
Past year issue authors: 2
Past year pull request authors: 6
Past year average comments per issue: 0.67
Past year average comments per pull request: 0.35
Past year merged pull request: 138
Past year bot issues: 0
Past year bot pull requests: 21
Top Issue Authors
- sethherr (185)
- jmromer (22)
- runt2pb (20)
- appsforartists (14)
- moleon (13)
- realchrisolin (12)
- joshchernoff (10)
- adherr (4)
- stevepiercy (4)
- braaar (3)
- blske101 (2)
- timlkelly (2)
- pqhf5kd (2)
- stevevance (2)
- jmcelroy5 (2)
Top Pull Request Authors
- sethherr (2,220)
- jmromer (418)
- Robertgervais (129)
- dependabot[bot] (59)
- torresga (22)
- willbarrett (18)
- aokj4ck (16)
- timlkelly (15)
- realchrisolin (14)
- gadogado (13)
- runt2pb (12)
- eld120 (11)
- adherr (10)
- joshchernoff (6)
- londerson (5)
Top Issue Labels
- Ruby (52)
- Enhancement (45)
- Small (25)
- Medium (19)
- bug (19)
- Priority (11)
- Javascript (10)
- Large (6)
- Authentication (5)
- Visual (4)
Top Pull Request Labels
- dependencies (59)
- Ruby (48)
- Javascript (7)
- github_actions (3)
- security (1)
Dependencies
- bullet >= 0 development
- database_cleaner >= 0 development
- dotenv-rails >= 0 development
- factory_bot_rails >= 0 development
- foreman >= 0 development
- guard >= 0 development
- guard-rspec >= 0 development
- i18n-tasks >= 0 development
- i18n_generators >= 0 development
- letter_opener >= 0 development
- parallel_tests >= 0 development
- pry-byebug >= 0 development
- pry-rails >= 0 development
- rails-controller-testing >= 0 development
- rb-fsevent ~> 0.10.3 development
- rerun >= 0 development
- rspec ~> 3.4 development
- rspec-rails ~> 4.0 development
- rspec-sidekiq >= 0 development
- rspec_junit_formatter >= 0 development
- simplecov >= 0 development
- standard >= 0 development
- terminal-notifier >= 0 development
- vcr >= 0 development
- webmock >= 0 development
- MailchimpMarketing >= 0
- active_model_serializers ~> 0.8.3
- api-pagination >= 0
- axlsx ~> 3.0.0.pre
- bcrypt ~> 3.1.7
- bootsnap >= 0
- bootstrap = 4.0.0.alpha4
- carrierwave ~> 0.11.2
- carrierwave_backgrounder ~> 0.4.2
- chartkick >= 0
- coderay >= 0
- coffee-rails >= 0
- doorkeeper ~> 5.2.5
- doorkeeper-i18n >= 0
- eventmachine >= 0
- facebookbusiness >= 0
- faraday_middleware >= 0
- fast_blank ~> 1.0
- flamegraph >= 0
- flipper >= 0
- flipper-active_record >= 0
- flipper-ui >= 0
- fog-aws >= 0
- geocoder >= 0
- grape ~> 1.3.0
- grape-swagger = 0.11
- grape_logging >= 0
- groupdate >= 0
- hamlit >= 0
- hashie >= 0
- honeybadger >= 0
- httparty >= 0
- i18n-country-translations >= 0
- i18n-js >= 0
- jquery-rails >= 0
- kaminari >= 0
- kramdown = 2.3.1
- kramdown-parser-gfm >= 0
- lograge >= 0
- logstash-event >= 0
- memory_profiler >= 0
- mini_magick >= 0
- money-rails ~> 1.11
- multi_json >= 0
- oj >= 0
- omniauth ~> 1.6
- omniauth-facebook >= 0
- omniauth-globalid >= 0
- omniauth-strava >= 0
- omniauth-twitter >= 0
- paranoia >= 0
- pg ~> 1.0
- pg_search >= 0
- postmark-rails >= 0
- premailer-rails >= 0
- puma >= 0
- rack = 2.2.3
- rack-mini-profiler >= 0
- rack-throttle >= 0
- rails ~> 6.0
- rails-assets-Stickyfill ~> 1.1.3
- rails-assets-jquery ~> 3.4.1
- rails-assets-jquery.dirtyforms ~> 2.0.0
- rails-assets-lodash ~> 4.9.0
- rails-assets-mailcheck ~> 1.1.2
- rails-assets-moment ~> 2.18.1
- rails-assets-moment-timezone ~> 0.5.13
- rails-assets-mustache ~> 2.2.1
- rails-assets-select2 ~> 4.0.3
- rails-assets-selectize ~> 0.12.1
- rails-assets-tether ~> 1.1.0
- rails-assets-waypoints ~> 3.1.1
- rails-i18n >= 0
- redis >= 0
- responders >= 0
- rqrcode = 0.10.1
- sass-rails >= 0
- secure_headers ~> 2.5.0
- sidekiq >= 0
- sidekiq-failures >= 0
- sitemap_generator ~> 6
- skylight >= 0
- soulheart >= 0
- sprockets = 4.0.0
- sprockets-rails >= 0
- stackprof >= 0
- stripe >= 0
- swagger-ui_rails >= 0
- thor >= 0
- translation >= 0
- twilio-ruby >= 0
- twitter >= 0
- uglifier >= 0
- webpacker >= 0
- 281 dependencies
- actions/github-script v9 composite
- actions/checkout v7 composite
- actions/setup-node v7 composite
- docker.io/library/ruby $RUBY_VERSION-slim build
- actions/cache v6 composite
- actions/checkout v7 composite
- docker/build-push-action v7 composite
- docker/login-action v4.6.0 composite
- docker/setup-buildx-action v4 composite
- reproducible-containers/buildkit-cache-dance v3 composite
- ruby/setup-ruby v1 composite
- webfactory/ssh-agent v0.10.0 composite
- base latest build
- docker.io/library/ruby $RUBY_VERSION-slim build
- actions/cache v6 composite
- actions/cache/restore v6 composite
- actions/cache/save v6 composite
- actions/checkout v7 composite
- actions/create-github-app-token v3 composite
- actions/setup-node v7 composite
- actions/upload-artifact v7 composite
- docker/build-push-action v7 composite
- docker/login-action v4.6.0 composite
- docker/setup-buildx-action v4 composite
- ruby/setup-ruby v1 composite
- mirror.gcr.io/library/postgres 16-alpine docker
- mirror.gcr.io/library/redis 7-alpine docker
- actions/checkout v7 composite
- actions/setup-node v7 composite
- ruby/setup-ruby v1 composite
- postgres 16-alpine docker
- redis * docker
- actions/checkout v7 composite
- actions/upload-artifact v7 composite
Score: 9.474702639106347