Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Browser Compat Data | 4,602 | 2,191 | 55 | 21 hours ago | 143 | October 29, 2020 | 583 | cc0-1.0 | JSON | |
This repository contains compatibility data for Web technologies as displayed on MDN | ||||||||||
Compat Report | 107 | 5 years ago | 15 | JavaScript | ||||||
🔌 A Developer Tools panel for flagging browser compatibility issues | ||||||||||
Es Compat | 48 | 1 | 3 | 4 months ago | 6 | January 14, 2022 | 9 | mit | JavaScript | |
Check JavaScript code compatibility with target runtime environments | ||||||||||
Web Directions Talk | 43 | 10 years ago | JavaScript | |||||||
Copy Image Clipboard | 42 | 3 months ago | 5 | mit | TypeScript | |||||
Lightweight library to copy PNG and JPG images to clipboard | ||||||||||
Compat Tester | 21 | 7 months ago | 12 | April 26, 2018 | 9 | JavaScript | ||||
NPM package to statically analyze the compatibility of a web page across a given browser scope | ||||||||||
Mdn Compat Data Explorer | 18 | 3 years ago | 28 | mit | Ruby | |||||
A simple Rails app for exploring MDN Browser Compatibility Data | ||||||||||
Browsercompat | 18 | 6 years ago | mpl-2.0 | Python | ||||||
API for browser compatibility data on developer.mozilla.org | ||||||||||
Browizard | 7 | a year ago | 7 | January 14, 2020 | 5 | mit | TypeScript | |||
A javascript browser compatibility checker based on MDN API data | ||||||||||
Hexo Compat Report | 7 | 8 months ago | 8 | JavaScript | ||||||
Renders an MDN compatibility table on your hexo page. |
This is a Rails app that lets the user explore the browser compatibility data that MDN is collecting in the browser-compat-data
repo.
This was hard to update consistently and has been essentially dormant for nearly two years. If you'd like to update it, feel free to fork it :) It is now deprecated and archived, and the Heroku app has been taken offline.
You'll need:
Run the following commands:
gem install bundler
bundle install
yarn install
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails s
With that, the site should be up at localhost:3000
.
mdn-browser-compat-data
packageYou can update the mdn-browser-compat-data
package using bundle exec rake update:update_mdn_package
. This Rake task will walk you through the steps of updating the package. Alternatively, you can update it manually, described below.
You can update the mdn-browser-compat-data
package manually by doing the following:
mdn-browser-compat-data
package version in package.json
and run yarn install
.config.mdn_bcd_version
variable in config/application.rb
to the current version.node lib/build.js
to regenerate the public/data.json
file.You can update the database (where all the data is stored) by running
bundle exec rake db:seed
. Note that this will delete the database and fill it with
whatever data is in public/data.json
based on db/seeds.rb
.
The application essentially uses a static data set. It uses a database simply because I wanted to learn more about databases and wanted an easier means of querying the data.
You can use data from public/data-test.json
by running
USE_TEST_DATA=true bundle exec rake db:seed
. This is useful for ensuring
accuracy, since you can manipulate the JSON and will know, e.g. how many
features should be listed as true.
This project uses GitLab CI.
To regenerate and push the Docker container up to the GitLab Container Registry:
docker login registry.gitlab.com
(you'll need to use a Personal Access Token as your password).docker build -f Dockerfile -t registry.gitlab.com/connorshea/mdn-compat-data-explorer .
docker push registry.gitlab.com/connorshea/mdn-compat-data-explorer
to push the container to the GitLab Container Registry.The live site currently uses Heroku, and is available at mdn-compat-data-explorer.herokuapp.com.
Deployment involves the following:
master
branch.bundle exec rake db:migrate
and bundle exec rake db:seed
from the Heroku Web Console or with the Heroku CLI.This should update the site to the current codebase and recreate the database from the db/seeds.rb
file.
This project uses:
To view all dependencies used in this project, see the Gemfile
and package.json
.