Giter VIP home page Giter VIP logo

daily-scraper's Introduction

Daily Scraper

Fetches information about every webpage ๐Ÿค–

Build Status License StackShare

The service uses Puppeteer, a headless Chrome, to scrape webpages. Currently it's only purpose is to provide information when a user suggests a new source. The scraper can find the icon, rss feed, name, and other relevant information for every page.

Stack

  • Node v12.19.0 (a .nvmrc is presented for nvm users).
  • NPM for managing dependencies.
  • Fastify as the web framework

Project structure

  • __tests__ - There you can find all the tests and fixtures. Tests are written using jest.
  • helm - The home of the service helm chart for easily deploying it to kubernetes.
  • src - This is obviously the place where you can find the source files.
    • scrape - Stores many utility functions to scrape information from a webpage.

Local environment

Daily Scraper requires nothing to run. It doesn't need any database or a service.

.env is used to set the required environment variables. It is loaded automatically by the project.

Finally run npm run dev to run the service and listen to port 5001.

Want to Help?

So you want to contribute to Daily Scraper and make an impact, we are glad to hear it. ๐Ÿ˜

Before you proceed we have a few guidelines for contribution that will make everything much easier. We would appreciate if you dedicate the time and read them carefully: https://github.com/dailydotdev/.github/blob/master/CONTRIBUTING.md

daily-scraper's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar idoshamun 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.