Skip to content

Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.

Notifications You must be signed in to change notification settings

aliraza556/sphinx-tribes-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sphinx Tribes 🌐

Tribes

Welcome to Sphinx Tribes - a decentralized message broker designed for public groups in Sphinx Chat. Empowering users to run their own Sphinx Tribes server, this platform seamlessly routes group messages for various applications such as sphinx-relay nodes, apps, websites, or IoT devices.

Additionally, a subset of Sphinx Tribes is the Bounties Platform - a global marketplace for work paid out in bitcoin bounties.

How it Works 🚀

Sphinx Tribes

Sphinx Tribes operates as an MQTT broker that any node can subscribe to. Message topics always consist of two parts: {receiverPubKey}/{groupUUID}. Only the group owner has the privilege to publish messages, and all messages from group members are required to be submitted to the owner as a Lightning keysend payment. The group uuid is essentially a timestamp signed by the owner.

Tribes

Bounties Platform

The sphinx-tribes-frontend also contains the frontend for the bounties platform website. In order to run the website locally on your computer, you'll need to run sphinx-tribes-frontend as a whole. You can find the backend repo at sphinx-tribes.

Authentication 🔒

The authentication process is seamlessly handled by sphinx-auth.

Running Against Sphinx-Stack 🏃

To run the tribes frontend locally, utilize the following ports:

  • Tribes: yarn start:tribes:docker (localhost:23000)
  • People: yarn start:people:docker (localhost:23007)

Running Frontend Against people.sphinx.chat Locally 🌐

If you wish to run only the frontend, follow these steps:

  1. Modify line 10 in src/config/ModeDispatcher.tsx:
  • Change 'localhost:3000': AppMode.TRIBES to 'localhost:3000': AppMode.COMMUNITY
  1. Modify line 27 in src/config/ModeDispatcher.tsx:
  • Change return hosts[host] || AppMode.TRIBES; to return hosts[host] || AppMode.COMMUNITY;
  1. Modify line 10 in src/config/host.ts:
  • Change return host; to return 'people-test.sphinx.chat';
  1. Open the terminal. Locate your folder and then run:
  • yarn install to install the dependencies
  • yarn start to run the frontend locally

Contributing Guidelines 🤝

All code contributions, including those of people having commit access, must go through a pull request and be approved by a core developer before being merged. This is to ensure a proper review of all the code.

We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.

Community and Support 💬

Join our community on Forum/Chat to connect with other users and get support.

Feel free to explore the potential of sphinx-tribes and contribute to its vibrant ecosystem! 🌟

Authentication 🔒

The authentication process is seamlessly handled by sphinx-auth.

Running Against Sphinx-Stack 🏃

To run the tribes frontend locally, utilize the following ports:

  • Tribes: yarn start:tribes:docker (localhost:23000)
  • People: yarn start:people:docker (localhost:23007)

Running Frontend Against people.sphinx.chat Locally 🌐

If you wish to run only the frontend, follow these steps:

  1. Modify line 10 in src/config/ModeDispatcher.tsx:
  • Change 'localhost:3000': AppMode.TRIBES to 'localhost:3000': AppMode.COMMUNITY
  1. Modify line 27 in src/config/ModeDispatcher.tsx:
  • Change return hosts[host] || AppMode.TRIBES; to return hosts[host] || AppMode.COMMUNITY;
  1. Modify line 6 in src/config/host.ts:
  • Change return host; to return 'people-test.sphinx.chat';
  1. Open the terminal. Locate your folder and then run:
  • yarn install to install the dependencies
  • yarn start to run the frontend locally

Contributing Guidelines 🤝

All code contributions, including those of people having commit access, must go through a pull request and be approved by a core developer before being merged. This is to ensure a proper review of all the code.

We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.

Community and Support 💬

Join our community on Forum/Chat to connect with other users and get support.

Feel free to explore the potential of sphinx-tribes and contribute to its vibrant ecosystem! 🌟

Cypress Testing

To write cypress test, read the cypress guide for setting up your environment for cypress testing cypress guide.

About

Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.9%
  • Other 1.1%