Code Monkey home page Code Monkey logo

miner_preview's Introduction

⛏️ miner_preview

Code style: black Donate with Ethereum

Get 💰 wallet 📈 balance from 💻Ethermine, ☁️Cryptoatcost and 💻Nicehash ⛏️ mining 🚧 process.


It shows the progress of mining in the amount obtained and the value of the coin at that moment, as well as the differences with the last update, it can also indicate progress goals in the amount of the coin and / or value in dollars. This information can be viewed interactively or added to a scheduled process to be carried out at specified times and then send the results to an ✉️ email or 🤖 telegram bot.


💻 Usage

  1. Mode: 💡 Help
    • Command: ./preview.py -h
    • Example:
  2. Mode: 💻 Interactive
    • Command: ./preview.py -c
    • Example:
  3. Mode: 📺 Big
    • Command: ./preview.py -c -b
    • Example:
  4. Mode: 📈 Graph
    • Command: ./server.bash.bat
    • Example:
  5. Mode: 📷 Save
    • Command: ./preview.py -c -s ~/OUTPUT
    • Example: NOTE: You need to install the package: wkhtmltopdf
  6. Mode: 📧 Mail
    • Command: ./preview.py -c -m
    • Example:
  7. Mode: 🤖 Telegram Bot
    • Command: ./preview.py -c -t
    • Example:

🔩 Install

  1. Get from github

    • Clone the project
      git clone https://github.com/nelbren/miner_preview.git
    • Update the project every so often
      git pull
  2. Configure the setup with your own credentials

    • Take a copy of config

      • 🚪 Windows

        copy secret.cfg.EXAMPLE .secret.cfg
      • 🐧 Linux | 🍎 Mac

        cp secret.cfg.EXAMPLE .secret.cfg
    • Change the data inside of file .secret.cfg

      • 💻 ETHERMINE (section)

        Key Value Description
        ADDRESS your eth address Ethereum Address
        GOAL_USD amount of usd Goal in dollars
        GOAL_ETH amount of eth Goal in ethereum
      • ☁️ CRYPTOATCOST (section)

        Key Value Description
        USERNAME your username Credentials of access
        PASSWORD your password Credentials of access
        CODE_2FA secret code 2FA Credentials of access
        GOAL_USD amount of usd Goal in dollars
        GOAL_BTC amount of btc Goal in bitcoin
      • 💻 NICEHASH (section)

        Key Value Description
        ORG your org Credentials of access
        KEY your key Credentials of access
        SECRET your secret Credentials of access
        GOAL_USD amount of usd Goal in dollars
        GOAL_BTC amount of btc Goal in bitcoin
      • ✉️ MAIL (section)

        Key Value Description
        FROM your sender mail The sender's email
        TO your receive mail The recipient's address
      • 🤖 TELEGRAM (section)

        Key Value Description
        TOKEN your telegram token The token for use the bot
        ID your telegram id The id of bot
  3. Install python and modules

  4. Run the script

    • Run the script through python
      python3 preview.py
    • Or run it directly
      ./preview.py
    • See the Usage described above
  5. Feedback:


miner_preview's People

Contributors

nelbren avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.