psn-account-id
v1.0.0
Published
Get your PlayStation Network Account ID for Chiaki.
Downloads
18
Maintainers
Readme
psn-account-id
A tiny, zero-dependency CLI that gets the PlayStation Network Account ID required by Chiaki and Chiaki-ng.
Use
Node.js 18 or newer is required. Nothing needs to be installed globally:
npx psn-account-idThe CLI opens Sony's sign-in page. After signing in, copy the full URL from the browser's address bar and paste it into the terminal. The resulting Base64 value is the Account ID to enter in Chiaki.
If the browser cannot be opened automatically:
npx psn-account-id --no-openSecurity
Your username and password are entered only on PlayStation's website. The temporary authorization code and access token are held in memory only, are sent only to Sony's authentication service, and are never printed or saved.
Development
npm test
node bin/psn-account-id.js --helpThis is a JavaScript implementation of Chiaki's
psn-account-id.py
OAuth flow.
License
MIT
