Update README.md

master
89wc 2023-09-04 20:12:05 +00:00
parent 139d31b823
commit b19b3e908e
1 changed files with 10 additions and 0 deletions

View File

@ -7,19 +7,29 @@ I'll hand code an ecommerce in wasm before I learn python
All standard utilities that come pre-installed on debian except jq (and maybe curl?) All standard utilities that come pre-installed on debian except jq (and maybe curl?)
::$ chmod +x run getlink linkloc reply_post ::$ chmod +x run getlink linkloc reply_post
::$ ./run ::$ ./run
If you comment out the post API call and remove the link regex, If you comment out the post API call and remove the link regex,
this bot can get you a list of all links posted, this bot can get you a list of all links posted,
as well as which are text-posts and unauthorized (e.g. deleted) as well as which are text-posts and unauthorized (e.g. deleted)
Instead of Instead of
::$ ./run ::$ ./run
just just
::$ nohup ./run & ::$ nohup ./run &
and exit the terminal. All outputted code will go into nohup.out and you can close the ssh session. and exit the terminal. All outputted code will go into nohup.out and you can close the ssh session.
::$ ps -e | grep run ::$ ps -e | grep run
to get the process id to cancel it to get the process id to cancel it
::$ kill #### ::$ kill ####
15000 post id checks hardcoded in the while loop, just in case 15000 post id checks hardcoded in the while loop, just in case