Giter Site home page Giter Site logo

mesutseyhan / dropspy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tylrha/dropspy

0.0 0.0 0.0 35.92 MB

This is a bot for spying sales on shopify stores, using alihunter chrome extension and saving the results in a MongoDB database for latter consultation.

Shell 0.56% JavaScript 0.14% TypeScript 98.21% Dockerfile 1.09%

dropspy's Introduction

Dropspy

Repository size GitHub last commit Repository issues

Description    |    Features    |    Technologies   |    How to edit it?   |    How it works?

ℹ️ Description

This is a bot for spying sales on shopify stores, using alihunter chrome extension and saving the results in a MongoDB database for latter consultation.

ℹ️ Features

  • Spying on shopify stores that do not have an alihunter extension blocker.
  • Allows bot maintenance by accessing specific routes.
  • API that show important informations of current instance.
  • Automatic-release at each project commit, from github-actions.
  • Automatically ping the server to avoid heroku auto-idle.

ℹ️ Technologies

This project uses the following technologies and tools:

Scope Technologies
engine
secondary
dev tools

ℹ️ How to edit it

To clone this repository and make changes in the source code, you'll need Git and Nodejs in your computer.

# Clone this repository
$ git clone https://github.com/lucasvtiradentes/dropspy

# Go into the repository folder
$ cd dropspy

# Install dependencies
$ npm install

# Run the code in devlopment mode
$ npm run dev

ℹ️ How it works

Clustering

The application is permeated by a clustering process that allows greater control over the instance through the access of specific routes, the application being divided into:

Cluster Action
MASTER Main cluster responsible for creating the website server.
WORKER Secondary cluster responsible for creating and maintaining the spy bot.

In theory, an instance of DROPSPY can create N bots to spy on Y stores, however the heroku server has a RAM memory limitation, in which the recommended thing is to use only one instance.

Project files structure

The project was structured as it follows:

./dropspy
|-- src        # main sorce code folder
|-- utils      # utils functions folder
|-- scripts    # aux scripts to build and release
|-- configs/   # configs files folder
|   |-- app-configs.json   # main app config file
|-- .env       # environmental variable file setup

The only files that need to be changed by the user are the last 2 in the list above, in order to adapt the application to the specifics of its operation.

App routes

DROPSPY allows interactive control from the access of the following routes:

Route Action
/ Droppy-bot instance server splash screen.
/api API where it shows relevance information about dropspy-bot instance.
/restart Send the command for the bot to restart.
/quit Send the command for the bot to close.

Made with ♥ by Lucas Vieira.

Get it touch: github | linkedin | [email protected]

dropspy's People

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.