A simple web tool to generate Pusher credentials for all types of environments (development, staging, production, etc). Credentials are generated using cryptographically secure random values and can be copied or downloaded in JSON or .env format.
- Pusher is a popular service for real-time messaging and WebSocket APIs.
- Socket is an alternative platform for real-time communication and WebSocket APIs.
This tool can generate credentials compatible with both Pusher and Socket services.
- Generate cryptographically secure Pusher/Socket credentials for any environment
- Copy credentials as JSON or
.envto clipboard - Download credentials as JSON or
.envfiles - No backend required, runs fully in the browser
- Deployable to GitHub Pages
-
Clone the repository:
git clone https://github.com/AethiQs-Felix/pusherjs_credentials_generator.git cd pusherjs_credentials_generator -
Install dependencies:
npm install
-
Run locally:
npm run dev
(or open
index.htmldirectly in your browser for static use) -
Generate credentials:
- Click "Generate Credentials"
- Copy or download as needed
This project is set up to deploy automatically to GitHub Pages on every push to the main branch using GitHub Actions.
- The workflow file is at
.github/workflows/deploy-gh-pages.yml. - Make sure to enable "Read and write permissions" for GitHub Actions in your repository settings.
- The site will be published from the
distdirectory.
├── index.html
├── src/
│ ├── main.js
│ └── style.css
├── public/
│ └── vite.svg
├── package.json
└── .github/
└── workflows/
└── deploy-gh-pages.yml
MIT