jeffstieler / rest-api-console2
Fork of Automattic/rest-api-console2, 'a better REST console'.
Installs: 21
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 9
Language:JavaScript
pkg:composer/jeffstieler/rest-api-console2
This package is not auto-updated.
Last update: 2025-11-08 23:02:20 UTC
README
A better REST console. See it in action.
Development
Hacking requires node.js, install node.js for your system. (e.g. brew install node).
To get up and running:
-
Clone the repository
git clone https://github.com/beaucollins/wpcom-console2.git -
Install dependencies
npm install -
Run the dev server
npm start
Visit http://localhost:4000 in your browser.
Tip: You can change the port using the PORT environment variable:
sudo PORT=80 npm start
WordPress.com's App settings do not allow CORS URI's with ports in them.
Configure
Visit WordPress.com Developer Resources and create an application.
Copy config.sample.json to config.json and use your WordPress.com App ID and Redirect URI for the values.
You will also need to add your host to the CORS whitelist in the Application's settings.
Building
To create a static package you can use anywhere (e.g. Github pages):
npm run build
The static site is located in build/dist/wpcom-console/public along with a tarball.
License
All source code licensed under the MIT open source license.