Coder Social home page Coder Social logo

screamman-ssh / football-live-score-chrome-extension Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.3 MB

Football Live Score is a Chrome extension that reports football match fixtures, match results, match stats and live scores.

HTML 8.46% JavaScript 74.23% Dockerfile 6.85% Shell 0.92% CSS 9.55%
chrome-extension data-scraping expressjs football football-live javascript live-scores manifest-v3 nodejs puppeteer

football-live-score-chrome-extension's Introduction

Football Live Score (Chrome Extension)

Football Live Score is a Chrome extension that reports football match fixtures, match results, match stats and live scores. The extension is made by Manifest V3 and uses the data scrapped from goal.com , which contains more than 100 football leagues, using Puppeteer and delivers the data by Node.js and Express.

How to install

1. Clone the respository

Using command line:

# Clone this repository
git clone https://github.com/Stormbooster-sudo/football-live-score-chrome-extension

2. Import the project to your Chrome extension

The chrome extenion is the folder "football-live-score-chrome-extenion". To import extension, follow these steps.

  1. Go to your Extensions menu on your Chrome browser and click to "Manage extensions".
  2. Click select "Deverloper mode".
  3. Click "Load unpacked" and select the folder name "football-live-score-chrome-extenion".
  4. Click "Select folder".

Or following this video https://www.youtube.com/watch?v=hIRX1dpfqHc

3. Run backend on local

The backend is the folder name "football-live-score-scraper-backend" and will be run in the container using Docker. If you have Docker on your machine you can run the bash script to run the container.
Before create the image and run the container -> Make sure that timezone is correct to your local, You can set the timezone in Dockerfile inside the folder. (Default is Asia/Bangkok)

# Set TZ environment variable
ENV TZ Asia/Bangkok

Then, create the image and run the container using command line:

# Make sure you working in "football-live-score-scraper-backend" directory 
bash script.sh

Suggestion: Set your Docker to run on start-up, if you don't want to run it by manual.
If you didn't have Docker on your machine, you can run it using command:

# Install dependencies
npm install

# Run the backend
npm start

Done!, The extension should work properly.

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.