Re-taking voice conversations to the moon 🚀
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
This folder is called pixie (/ˈpɪksi/), it is currently used for our Next.js frontend.
It's live on 👉 shibhouse.tv
Here you find how we organize our files and folders
| Folder | Description |
|---|---|
| auth | Contains everything related to Authentication, such as Firebase config, Private/Public routes and the AuthContext |
| components | Contains various page components such as Navbar, Footer, LoadingScreen ... |
| contexts | Contains the most used React.Contexts like PeerContext |
| forms | Contains Login/Register forms components |
| hooks | Contains various hooks like usePeer hook |
| interface | Contains TypeScript common used interfaces |
| lib | Contains various most used functions like createRoom, isChatCommand, getBrightColor and much more |
| modules | Contains various organised page components such as sidebars |
| pages | Contains the whole website pages (Default Next.JS Folder for routing) |
| styles | Contains the CSS files |
| utils | Contains other useful components like SEO.tsx |
Clone the repository
git clone https://github.com/azizbecha/shibhouse.gitInstall dependencies
npm installAdd Firebase app config:
- Go to
/authfolder and create a file namedconfig.tsthen add this piece of code and don't forget to replace thexxxxxxxxxxxxxxxxxxxxxxxxxxxxx's with your credentials
export const firebaseConfig = {
apiKey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
authDomain: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
projectId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
storageBucket: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
messagingSenderId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
appId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
measurementId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
};- On the same file, you need to add hCaptcha site key which you can get it from https://hcaptcha.com and add it like the following:
export const hCaptchaConfig = {
siteKey: "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx", // replace this with yours
devKey: "10000000-ffff-ffff-ffff-000000000001" // this will be used when working in localhost only
}Run the project
cd shibhouse
cd pixieOr
npm run webif you are in the /shibhouse folder.