Skip to content

AethiQs-Felix/pusherjs_credentials_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Pusher Credential Generator (Secure)

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.

About Pusher and Socket

  • 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.

Features

  • Generate cryptographically secure Pusher/Socket credentials for any environment
  • Copy credentials as JSON or .env to clipboard
  • Download credentials as JSON or .env files
  • No backend required, runs fully in the browser
  • Deployable to GitHub Pages

Usage

  1. Clone the repository:

    git clone https://github.com/AethiQs-Felix/pusherjs_credentials_generator.git
    cd pusherjs_credentials_generator
  2. Install dependencies:

    npm install
  3. Run locally:

    npm run dev

    (or open index.html directly in your browser for static use)

  4. Generate credentials:

    • Click "Generate Credentials"
    • Copy or download as needed

GitHub Pages Deployment

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 dist directory.

Project Structure

├── index.html
├── src/
│   ├── main.js
│   └── style.css
├── public/
│   └── vite.svg
├── package.json
└── .github/
    └── workflows/
        └── deploy-gh-pages.yml

License

MIT

About

Generate secure credentials for pusherjs.

Resources

Stars

Watchers

Forks

Contributors