Giter Club home page Giter Club logo

browserversions's Introduction

BrowserVersions

An API for fetching the latest browser versions

Motivation

Some services focus on supporting only a limited set of browsers (preferably) using up to date or at least ESR versions. However, updating the up to date browser version for every browser every half or year (or every release cycle, as it should be) is tedious. This project aims to solve this by offering a unified API to request different versions of the (currently) three major browsers, Firefox, Chrome and Edge (Firefox comes first because it's awesome <3). Support for more browsers is planned in future versions.

API

This is currently work in progress. I need to figure out why Azure App Service doesn't like my app and only displays the "Welcome Developer" screen, please bear with me. Whenever this is done, you can find the Swagger doc at https://browserversions.azurewebsites.net/swagger/index.html Requests should be easy to construct as the only thing you need to specify are the browsers you want (if none are specified, all are returned) and the channels you need (ESR, Nightly, you name it) Both are enums so you can either use numbers or string based indexers (all hail the .NET modelbinder! Seriously, this is pretty damn cool) TODO: Add some more API spec

Future plans

There's actually quite a few things I have in mind! As most thing I do, this is an experiment that very few people except me might find practical but the more features the merrier, eh? Anyway, here's a list off the top of my hat if you're really interested in those sort of things:

  1. Add more browsers: This is mostly out of curiosity and based on what APIs I manage to dig up. Brave or Vivaldi are used frequently by some people so that might be worth looking into. Also did I mention Opera? (If they all follow the same version spec, because Chromium, this would be easy)
  2. Add historical data: Would be cool to have some small database that has all the versions and their releases saved. Especially for when you want to support all browsers with a version released a year ago at most.
  3. Implement saving versions: Currently the API makes a web request once for every browser (except IE because, well, it's IE). Automating this and updating the versions every day or so would save traffic and be more stable
  4. Implement the same thing in some more languages. Yes that's right. This is an experiment after all. Since C# is my daily driver, I plan on doing the same thing over and over with different programming languages. Don't worry, the main branch will stay the way it is. That being said, I am currently mainly interested in Rust and Kotlin but also NodeJS to see how well they perform against what I'm used to. Also might look at Python and some functional thingy later on.

License

Currently MIT, might change to EUPL later on. Still have to think about it

browserversions's People

Contributors

curtisy1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.