Code Monkey home page Code Monkey logo

hritikmunde / sphinx-tribes-frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stakwork/sphinx-tribes-frontend

0.0 0.0 0.0 8.64 MB

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.

Home Page: https://community.sphinx.chat/bounties

Shell 0.01% JavaScript 0.10% TypeScript 98.38% CSS 1.33% HTML 0.15% Dockerfile 0.02%

sphinx-tribes-frontend's Introduction

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 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! ๐ŸŒŸ

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! ๐ŸŒŸ

sphinx-tribes-frontend's People

Contributors

abdul-rahman33 avatar abdulwahab3181 avatar adeel-ahmad-sh avatar aliraza556 avatar arimusdev avatar bilalshaikh292 avatar chetankarwa avatar ecurrencyhodler avatar elraphty avatar evanfeenstra avatar fog3211 avatar gaurav-gaikwad-1 avatar gouravmpk avatar hangman32 avatar hritikmunde avatar jordan-ae avatar kevkevinpal avatar khaalid-oh avatar kumarnayan avatar mahtabbukhari avatar manyrios avatar mirzahanan avatar nightrider0098 avatar saithsab877 avatar tobi-bams avatar vayras avatar vishnu552 avatar vividhpandey003 avatar wright-eric avatar yleight avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.