Skip to content

Arshitha/EC500-Building-Software

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EC500C1 Building Software

Project: URL Analyser

Product Description

A quick summary of the quality of your surfing activities and different metrics to give you a complete idea about the information contained in the websites you visit. We want to help you determine whether you are accessing authentic information overall, from webpages which have been created and updated regularly so you can ensure that the source of the information you consume is authentic and give you the opportunity to fine-tune and improve the quality of way you surf the internet.

System Architecture

screen shot 2018-05-01 at 2 47 27 pm

Minimum Viable Product

Intructions to run and test

Prerequisites

Nodejs Server on local (for Mac Users):

If you already have homebrew, then the following command will install node.

brew install node

(In case you want uninstall it later. Then here is the command: brew uninstall node)

MongoDB

Extension

  1. Clone the repository to your local machine
  2. You could delete all of the folders except "URL_Analyser" (not "URL Analyser")
  3. Go to chrome://extensions/ on your chrome browser
  4. Click on load unpacked on the top navigation bar
  5. Find the folder in path to/URL_Analyser/ExtensionFiles and click "Select"
  6. If you click on it, you should be able to see a popup window with all of your current tabs listed

Before clicking on save session, you'll need to have a local nodejs server running.

  1. From the ExtensionFiles directory of the git repo, run node app.js from your terminal
  2. Go back to the extension and click on "Save Session"
  3. From the terminal, run python finalScript.py

For any other installation and other queries, you can mail me at arshitha@bu.edu

Miniproject-1

AIM: To build a library that takes as input two arguments, twitter handle and the number of tweets to be read, respectively. The code scans the given twitter handle for images and runs analysis on those images using Google Vision API. All of the images are annotated with the information obtained through Google Vision API. A video is then created using ffmpeg.

FILES STRUCTURE: The files relevant to Miniproject-1 is in the "Miniproject-1" folder. code_withoutKeys.py is the library built. "results" folder contains all of the downloaded images as well as the final video created.

USING THE LIBRARY: For testing, you will need to add your API keys before running it. While running it, you'll need to give in two arguments, i.e., the twitter handle and the count (no. of tweets to be scanned). Resized and annotated images will be saved in the "resized" folder. The originally downloaded images along with the final video will be saved in the "results" folder.

Example: python code_withoutKeys.py iamsrk 20

Miniproject-2

AIM: Build test scenarios such that a peers Miniproject-1 breaks in those scenarios. Document the observations made.

FILES STRUCTURE: Each script in the folder Miniproject-2 refers to one error case under which the peer's code breaks and throws errors.

Miniproject-3

AIM: Understanding and reviewing MoviePy software.

FILES STRUCTURE: Contains an example script that ran MoviePy and some of it's use cases. Detailed my observations in the report. Flowchart is the system architecture of MoviePy.

Miniproject-4

AIM: Understanding setting up and designing a database for a software using MongoDB. Also, detail the differences between SQL and MongoDB by performing phase 1 activity using SQL and MongoDB.

Phase 1

MongoDB set up and airport.json importing using a python script

Phase 2

Designing the database in order to fit the needs of the objectives of Miniproject-1.

Phase 3

Analytics

About

Contains all of the projects done as part of EC500C1 at Boston University.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors