A remake of the original xkpasswd.net.
Check out the source code on GitHub.
You can use this as an API by sending a POST request to http://xkpasswd.maxcutlyp.com/api with the Content-Type header set to application/json and the JSON body structured as below:
POST
http://xkpasswd.maxcutlyp.com/api
Content-Type
application/json
{ "n": 3, // the number of passwords to generate "config": { // your config, as shown under the Save/Load Config section } }
You can embed this API (above) into another webpage by wrapping http://xkpasswd.maxcutlyp.com/embed in an <iframe>, with the query parameter r set to the URL encoded version of the same JSON you would have used for the API. The passwords will be generated when the page loads.
http://xkpasswd.maxcutlyp.com/embed
<iframe>
r
<iframe src="http://xkpasswd.maxcutlyp.com/embed?r=your%20%json%20as%20above"></iframe>
An easy way to URL encode a string is to use the encodeURIComponent function in the JavaScript console (via dev tools).
encodeURIComponent