https://github.com/benjaminmedia/wa-shell-node
https://github.com/benjaminmedia/wa-shell-node
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/benjaminmedia/wa-shell-node
- Owner: BenjaminMedia
- Created: 2016-03-10T12:44:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T09:41:12.000Z (over 6 years ago)
- Last Synced: 2025-05-21T00:43:45.915Z (about 1 year ago)
- Language: HTML
- Size: 247 KB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wa-shell-node
For installation of required node modules, run
npm install
##For testing the White Album Shell API
cd whitealbum
node shell.js
When you see the server is runnig from console - simply visit your browser on http://localhost:5000/ and click a site you want to test.
A browser window should open, making it easy for you to continue.
*Note: You need a file in the root folder named token.json.*
It should contain a single value (basic64 encoded string)
{
"basic": "Basic ..."
}
It should contain the Base64 encryption of the combined token and secret key - this is required in order to use the shell test script.
It can be found by: node -e "require('crypto').randomBytes(48, function(ex, buf) { console.log(buf.toString('hex')) });".