Skip to content

voidcode/nshare-demon.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#nshare-demon.js

A background demon for the nshare project.

This can receive packets from other nshare-apps.

#How to install.

  1. Install NodeJS(https://nodejs.org/download/)
  2. Then do: npm install nshare-demon -g

#Start it.

Windows.

Start->Run->Cmd (Run as admin)

cd %APPDATA%\npm\node_modules\nshare-demon && npm start

Ubuntu. cd /usr/local/lib/node_modules/nshare-demon && sudo npm start

...Then you are DONE.. :)

Now to can try the nshare-chrome-extension

#How to use the nshare-demon.js rest API.

RestServer / httpServer runs by default on port 12340.

(GET) [URL]:12340/packets -> get all packet send to this nshare client.

(POST) [URL]:12340/clear -> Delete all packet send to this nshare client.

(POST) [URL]:12340 with key and value(fromip, url) -> new create a new packet.

#Other related apps.

nshare-chrome-extension

nshare-on-android

About

Nshare Demon for nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published