Skip to content

avicoder/ShareTOTP

Repository files navigation

ShareTOTP

Enable seamless sharing of 2FA codes within teams.

Laravel React MySQL TailwindCSS Docker

image

This project is a compact solution designed to facilitate the sharing of TOTP codes typically found in apps like Google Authenticator and Authy, with tailored customizations in its development.

Preparing the project

  • Clone the repository:

    git clone https://github.com/avicoder/ShareTOTP.git
    cd ShareTOTP
  • Create an environment file:

    cp .env.example .env
  • Install NodeJS on your machine and run:

    npm i && npm run build

Running the app in local machine

  • Install Docker on your local machine and ensure the following ports are free:

    • 33061
    • 8000
    • 8081
  • Run the following command in the project root:

    docker compose up -d
  • Run Migrations through the webpage.

Accessing Services

Homepage

  • The homepage will display all the service codes in a grid.
  • Click on the code to copy it to the clipboard

Homepage

Admin Login

Admin Login

Dashboard

  • List the TOTPs and other customizations using /dashboard Dashboard

OTPs

  • Create, Edit, or Delete the OTPs using /otps page OTPs

  • It also supports major protocols for generating the OTPs OTPs Protocol)

Services

  • Create services and customize the logo and name using /services page Services Services Customization

Manage Team Members

  • Add, delete, or update the users using /users page Manage Team Members

Settings

  • Add the org name and Logo using /settings page Settings

Security

While authorization is required to access the Admin page, if you want to add an extra layer of protection to the homepage, consider using OAuth2proxy or Cloudflare Access. Feel free to implement either of these solutions to enhance security.


Contributing

We welcome contributions from the community! If you'd like to contribute to ShareTOTP, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and ensure they are properly tested.
  4. Commit your changes with clear and descriptive messages.
  5. Push your changes to your fork.
  6. Submit a pull request, explaining the changes you've made and why they are valuable.

Thank you for considering contributing to ShareTOTP. Together, we can make it even better!


Feel free to adjust the language or steps as needed for this project!

About

Enable seamless sharing of 2FA codes within teams.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages