wpidentity
v0.5.6
Published
Implements OAuth identity, a simple verb set with wordpress.com for Node.js apps, and a storage system for drafts and other user data.
Downloads
889
Readme
wpIdentity
A package that implements OAuth identity and a simple verb set with wordpress.com for Node.js apps.
It works
You can try it out here.
You can log on, and see a list of your sites, when each was created and modified.
Here's a screen shot.
How to set up a server
Download the folder.
Throw away everything but the shell folder. In the shell folder you can throw away source.opml.
Move the shell folder to your server.
Edit the config.json file with the credentials you got from WordPress.com.
npm install
node wpidentity.js
If you want to use the storage feature, you'll need to set up the database.
History
In October 2024, I wrote a brief doc about the history of wpIdentity, its purpose, where it came from , how to explore.
Check out worknotes
I've been narrating my work in the worknotes.
Automattic docs
These docs proved useful at different points in this project.
https://github.com/Automattic/wpcom.js/tree/master/docs -- docs for the routines we call
https://developer.wordpress.com/apps/
https://developer.wordpress.com/docs/oauth2/
https://github.com/Automattic/node-wpcom-oauth
https://github.com/Automattic/wp-calypso
https://github.com/Automattic/wp-calypso/tree/trunk/packages/wpcom.js
https://github.com/Automattic/wp-calypso/tree/trunk/packages/wpcom.js/docs
https://github.com/Automattic/wpcom-connect-examples
Other pointers
I am using this site for testing. https://scripting4.wordpress.com/