ApplicationsInternal Hub
Development
How to develop Internal Hub
Clone the repository
Clone superbonfire-lab/internal-hub.
The stack is TanStack Start, Vite, and React.
Start locally
- Copy
.env.exampleto.env. - Run
npm install. - Run
npm run dev. - Open
http://127.0.0.1:5173/. The last slash is required for Feishu.
Change the catalog
Edit src/data/hub.json.
sections— groups of links. The hub hasapplicationsanddocs.- Each link needs
id,name,description,badge,icon,url, andkeywords. Icons are Phosphor names. onboarding— sign-up steps shown in the hub. It is empty for now, so the hub shows none.
Feishu application
- Create an enterprise self-built web app.
- Set the homepage URL to the public HTTPS origin. Include
/. - Add that exact homepage to Redirect URLs. Do not add a query or a hash.
- Add the host to H5 trusted domains.
- Publish the version to the organisation.
Coolify
Use Railpack and Node 22.
Set VITE_FEISHU_APP_ID at build time and at run time.
Set FEISHU_APP_ID, FEISHU_APP_SECRET, and SESSION_SECRET at run time.
Set VITE_MOCK_USER to 0 in production.
Keep secrets out of the repository.
Current deployment
The app is deployed to https://feishu-hub.superbonfire.tech through Coolify on our Tencent Cloud VPS.