VersionTracker is a webapp where you can search softwares and know whether the version you are using is outdated or not. The app will list the various versions of the software that has been released and the number of versions which has been relaased after the version you are using. The app also suggests you alternative softwares which you may consider using.
- Flask : Webframework in Python
- Postgres : Database
- BeautifulSoup : Webscraping
- Jinja : Templating language
- flask-admin : For craeting admin
- flask-login : For creating auth system
- SQLAlchemy : ORM
- MaterialiseCSS : For UI
- gunicorn : Web Server
- Heroku : Deployment
VersionTracker provides a RESTful service. The following endpoint is provided -
METHOD : GET
For example:
https://version-tracker.herokuapp.com/version_track/api?name=firefox&version=55
Output
{
"initial_release": "Released: 03 May 2013 (4 years 7 months ago)\r\n",
"latest_version": "Skype 7.40.0.103",
"name": "skype",
"number_of_versions": 78,
"similar_softwares": [
"skype for business",
"discord",
"facetime",
"hangouts",
"viber",
"zoom",
"whatsapp",
"google voice",
"webex",
"slack"
],
"software_found": "FOUND",
"version_found": "NOT_FOUND",
"versions": [
"Skype 7.40.0.103",
"Skype 7.39.0.102",
"Skype 7.38.0.101",
"Skype 7.37.0.103",
"Skype 7.36.0.101",
"Skype 7.35.0.103",
"Skype 7.35.0.102",
"Skype 7.35.0.101",
"Skype 7.34.0.103",
"Skype 7.34.0.102",
"Skype 7.34.0.102",
"Skype 7.33.0.105",
"Skype 7.32.0.104",
"Skype 7.32.0.103",
"Skype 7.30.80.105",
"Skype 7.30.85.103",
"Skype 7.29.0.102",
"Skype 7.28.0.101",
"Skype 7.27.0.101",
"Skype 7.26.0.101",
"Skype 7.25.0.106",
"Skype 7.25.0.106",
"Skype 7.25.0.103",
"Skype 7.24.0.104",
"Skype 7.23.0.105",
"Skype 7.23.0.104",
"Skype 7.22.0.109",
"Skype 7.22.0.108",
"Skype 7.22.0.107",
"Skype 7.22.0.104",
"Skype 7.21.0.100",
"Skype 7.18.0.112",
"Skype 7.18.0.112",
"Skype 7.18.0.111",
"Skype 7.18.0.109",
"Skype 7.18.0.103",
"Skype 7.17.0.106",
"Skype 7.17.0.105",
"Skype 7.17.0.104",
"Skype 7.16.0.102",
"Skype 7.16.0.101",
"Skype 7.15.0.103",
"Skype 7.15.0.102",
"Skype 7.15.0.102",
"Skype 7.14.0.105",
"Skype 7.14.0.104",
"Skype 7.13.0.101",
"Skype 7.12.0.101",
"Skype 7.11.0.102",
"Skype 7.10.0.101",
"Skype 7.9.0.103",
"Skype 7.8.0.102",
"Skype 7.7.0.103",
"Skype 7.7.0.102",
"Skype 7.7.0.102",
"Skype 7.6.0.105",
"Skype 7.6.0.103",
"Skype 7.5.0.102",
"Skype 7.5.0.101",
"Skype 7.4.0.102",
"Skype 7.3.0.101",
"Skype 7.2.0.103",
"Skype 7.1.0.105",
"Skype 7.0.0.102",
"Skype 7.0.0.100",
"Skype 7.0.0.100",
"Skype 6.22.64.107",
"Skype 6.22.64.106",
"Skype 6.22.81.105",
"Skype 6.22.81.104",
"Skype 6.21.0.104",
"Skype 6.20.0.104",
"Skype 6.18.0.106",
"Skype 6.18.0.105",
"Skype 6.16.0.105",
"Skype 6.14.0.104",
"Skype 6.14.0.104",
"Skype 6.5.0.107 Beta"
]
}
![]() |
![]() |
Enter the name of your software and version in the respective fields and press search. Wait for some time as it may take a while to generate your result. Once the result is generated, it will be displayed on screen. You will be informed whether version is obsolete or not. How many new versions have been released. What was the initial release date of the software. What is the latest version available.
You can also view all the versions of the software relased by pressing on View all releases.
![]() |
![]() |
The application internally scrapes information from the web, structures the informations, stores it in its own database and then presents it to the user.
Let us see the workflow of the app. Let us consider you have searched skype on the app. The app will scrape information about skype from web. It will scrape information like, all the releases of the software, its initial relelease date, latest version of the app, similar softwares. After collecting all these data it will structure them and at first store them in its own data base so that if another user searched for the same software, app will not have to scrape the web for a second time. Next the server will present the collected data in JSON format to the front end client which will display it to the user.
Users can contribute to the app by adding software versions, similar softwares and other versions. The main purpose of this feature is to buld a community of VersionTracker users who will contribute to this app and build a rich data store of software info
Contributing to this app is really simple. Press on the contribute option present on the top right corner on the main page. You will need to signup in order to contribute. VersionTracker presently has a very basic auth system via email and password. This will be extended in future for notification, email and admin purposes.
After you are logged in, on pressing contribute you will be presented with a simple UI to enter software information. After filling up all the information press submit and your info will be recored in our database. Now others will be able to get information about the software whose data you have contributed.
Note that the data which you have added is subject to admin's review. This is done mainly for validation and sanitisation purposes. These will be automated in future.
VersionTracker has got a basic admin system. Since the app is is testing phase, as of now the admin is open for exhibition purpose. Admin mailid: admin@admin.com Password: admin123 Use the credentials for exploring the admin section. The admin section provides an interface to add software data, view the database, edit tables, etc. The admin can review the both the data which has been scraped and structured from the internet as well as the data which has been contributed by the user. He/she can edit or remove the data if he/she finds any thing wrong or invalid.
Admin URL: https://version-tracker.herokuapp.com/admin
The app has been developed on Ubuntu 16.04 platform. The following instructions having given keeping Ubuntu OS in mind. However with some changes the app can easily be setup on other platforms like Arch or rpm based systems
Please follow the below given instructions to build the app locally
- Clone this repository using
git clone https://github.com/djmgit/VersionTracker.git
-
This project is developed using python3. Make sure you have python3 installed.
-
Open the repository in your terminal. Make sure you are in the root of the repo. Execute the following-
pip install -r requirements.txt
This will install all the dependencies for this app.
If you encounter permission issues, please execute the above command with superuser access. For debian based systems like Ubuntu the command will be-
sudo pip install -r requirements.txt
You may use virtualenv for building this app if you do not want to install dependencies in your global space.
Execute the following to install Postgres on your system-
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib
This will install Postgres on your system. Next you need to create a database where you will be creating tables for this project. By default Postgres creates a role (user) named after your system username (the username by which you are currently logged in) and a database names postgres. In order to create a new database and get familiar with Postgres follow this article- Setting up Postgres onn Ubuntu
After Postgres is up and running you will have to apply migrations for your app and create tables. For this execute the following from the project root.
python app/manage.py db init
python app/manage.py db migrate
python app/manage.py db upgrade
This will create tables and apply migrations.
Finally run the app using the following:
python app/main.py
This will start the development server at 127.0.0.1 (localhost) and port 5000
Now visit the following URL in your browser:
htttp://127.0.0.1:5000
The fron end has been tested on Google Chrome and Firefox
This repository also contains a Chrome extension for VersionTracker Follow the steps below to run the extension.
Note:You will require Google Chrome for running this
- Open Google Chrome
- Select More tools from chrome menu, that is, the three dots present at the top right corner of Google Chrome
- Select Extensions from the submenu
- Check Developer mode
- Press on Load unpacked extension and select manifest.json present inside VersionTrackerChromeExtension directory present in this repository.
- VersionTecker icon will appear on browser. Now you are ready to use the extension!
-
app/ : Contains the web API, web app and the scrapers
-
app/VersionScraper.py : Code to scrape data from web
-
app/AlternateScraper.py : Collects names of alternate software
-
app/main.py : API and Web server
-
app/static : Static files like JS and CSS files
-
app/templates : App templates, HTML files
-
VersionTrackerChromeExtension : Contains a chrome extension for VersionTracker
-
VersionTrackerChromeExtension/popup : Contains code for the popup