Skip to content

Check open shares, fill them and much more..., Written as a project to learn some rust!

Notifications You must be signed in to change notification settings

pokhrelashok/meroshare-cli

Repository files navigation

Meroshare CLI written in RUST

Are you tired of having to manually fill shares. Well this project has you covered. You can check list of open shares, fill one and come back and view the results and much more.

How to use?

Clone the repo or download the executable from the releases pages and run the executable.

Use with Docker

To use with docker you can simply run:

docker build -t ipo .
docker run -it --name ipo ipo

After building the container once, you can simply use docker run for subsequent use.

docker run -i ipo

Users List

The script requires a JSON file containing the details about the users. If a users.json file is found in the same directory as the executable, the JSON is automatically picked and used, if not, the script prompts you to enter a path of the JSON file on starting.

[
  {
    "dp": "xxx",
    "username": "xxxxx",
    "password": "xxxxxxxx",
    "crn": "xxxxx",
    "pin": "xxxx",
    "name": "xxxxxx",
    "asbaBankIndex": 1,
    "tags":["family"]
  },
  {
    "dp": "xxx",
    "username": "xxxxx",
    "password": "xxxxxxxx",
    "crn": "xxxxx",
    "pin": "xxxx",
    "name": "xxxxxx",
  },
]
  • dp is the code of the capital that can be found in login page of meroshare. Example: 16700 for Mahalaxmi Bikas Bank.
  • username is the username used for logging in using meroshare.
  • password password is the password used to login to meroshare.
  • crn and pin are self describable.
  • name is used for logging purpose and is the name of the person you will latter see in the results.
  • asbaBankIndex (optional) if you have multiple banks linked, this indicates the index of the bank to be used. Leave the default to be
  • tags (optional) Often times we want to calculate total assets and profits of multiple users at once. We can do that with tags. Currently only the family tag is supported.

Download data.json.example, and rename it as users.json. Fill all the user's info and you are ready to roll.

About

Check open shares, fill them and much more..., Written as a project to learn some rust!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published