github_ara

1.0.0 • Public • Published

auto-replies

Auto-replies-adder is a tool to autoamtically add replies from TSV file to any github account. It's helpful for those who review codes a lot and use the same replies always with some minor changes!

How to use it:

from repo

  • Clone this repo to your local PC.
  • run npm install to install the needed packages.
  • node index.js FILEPATH write your TSV path to start.

How it works:

1- parses the TSV file 2- Ask the user for username/password 3- log in to github and navigate to replies settings 4- start adding the replies!

Technologies:

Imporvments/todo:

The tool is just wokring fine right now but it's not handling any error that may happen or mistakes. For that reason the imrpovements to the tool could be the next:

  • [ ] Handling empy file, wrong file inputs.
  • [ ] Handling wrong password/username.
  • [ ] Changing the file type from CLI (CSV,TSV,TXT, Specific type).
  • [ ] Handling unexpected errors.
  • [ ] Removing all saved replies.
  • [ ] Removing replies with specific words.
  • [ ] Handling path errors for puppeteer.
  • [ ] Adding a fancy TUI (text user interface).

Known issues:

Path error

If the headless browser could not work, you may need to give the chrome agent file by yourself.

Debugging:

Just unccomment the commented lines to start debugging the file :)

Package Sidebar

Install

npm i github_ara

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

4.65 kB

Total Files

4

Last publish

Collaborators

  • a0m0rajab