Thanks for considering a contribution to browserapis.wtf ⚡!
There are many ways you can get involved with contributing here. But first, read our Code of Conduct.
- Fork the Repository
bundle install
bundle exec middleman
- Go to localhost:4567 in your browser 👀
Bugs happen 🐛. If you've spotted a bug on the browsersapi.wtf website then please feel free to log it in our issue tracker, and thank you in advance 💖.
If you know of an API that belongs on browserapis.wtf but aren't able to implement it yourself: submit a request to the issue tracker, where the title of the issue is the API you'd like to add. e.g. Add Ambient light API
.
It's dangerous to go alone, take this: 🔥. These instructions will show you the basics of creating an submitting an API to this repository.
- Fork the Repository
- Create the file for the new API
- All APIs are found in the source/browserapis folder of this repository.
- Make a copy of
example.html.md
and rename it to the name of the API you want to add. e.g.ambient.html.md
.
- Commit your changes with a succinct commit message, explaining what you have added. If your API addition is linked to a request in the issue tracker, consider adding the number of the PR to the commit message. e.g.
Adds Ambient API: Closes #98
. - Push your changes up to your fork.
- Make a Pull Request for this repository.