Developers
How the stack fits together
Seven open-source pieces make up a Shellui stack. Use every piece, or start with the shell and your app and add services as you need them.
Each piece has its own repository and lifecycle, and together they serve the Shellui frontend. The graph draws every Shellui service and how they connect.
Run it yourself
Shellui is open source under the MIT license. The shell, the services, and the admin live in public repositories on GitHub.
Each service ships as a ready-made Docker image, so you can host identity, storage, hosting, and email on your own servers. The shell, admin, and file manager are static files you can serve from any host. Read the backend services docs.
Map the stack
Follow one box at a time. Pointing at a box or tabbing to it highlights what that box talks to, and each box title links to its section further down. Every arrow is also written out under the graph.
Point at a box, or tab to it, to highlight what it talks to. Arrow keys pan, + and - zoom, 0 fits the view.
Connections in this view
- Shellui shell ↔ Your app iframe + @shellui/sdk
- Shellui shell → admin iframe at /admin
- admin → Files iframe
- Shellui shell → identity-service OAuth + JWT
- Shellui shell → storage-service /storage/v1/*
- admin → identity-service users + groups
- Files → storage-service /storage/v1/*
- storage-service → identity-service JWKS verify
- storage-service → S3 or local filesystem
- identity-service → email-service events
- storage-service → email-service events
- hosting-service → email-service events
- email-service → Resend, SES, or SMTP
- hosting-service → Browser all-in temporary deploy
- hosting-service → identity-service JWKS verify
shellui Frontend
The frontend lives in the shellui monorepo, a TypeScript React runtime. @shellui/core owns navigation, layout modes, themes, i18n, modals, and drawers. @shellui/sdk lets apps in iframes talk to the shell. @shellui/cli scaffolds and serves projects. Any stack can run inside the Shellui iframe.
Stack TypeScript React React Router shadcn Tailwind Workbox Roarr Sentry
shellui/shellui (opens in a new tab)
identity-service Backend
The authentication backend is identity-service, a Django API. It covers 15 OAuth 2.0 and OpenID Connect providers, Security Assertion Markup Language (SAML) 2.0, and magic links. It issues JSON Web Token (JWT) sessions and publishes a JSON Web Key Set (JWKS).
It ships as a Docker image.
The image runs its scheduler itself, so webhook retries and data retention do not need cron. It also publishes metrics in Prometheus format.
Stack Python Django django-allauth Django REST Framework Swagger ReDoc
shellui/identity-service (opens in a new tab) shellui/identity-service (opens in a new tab)
admin Frontend
The admin panel is a Vite + React app embedded in the shell at /admin. It manages users, company access, and operational data, and it reads the same identity-service as sign-in. It ships as static files.
Stack TypeScript React React Router shadcn Tailwind
shellui/admin (opens in a new tab)
storage-service Backend
The storage-service is a Django API with a Storage REST API at /storage/v1/*. It verifies identity-service JWTs and writes blobs to S3 or the local filesystem. It ships as a Docker image.
Stack Python Django Django REST Framework django-storages Swagger ReDoc
shellui/storage-service (opens in a new tab) shellui/storage-service (opens in a new tab)
files Frontend
Files is a React file manager app. Set filesUrl and it handles browsing, upload, download, folders, permissions, and share links against storage-service. On the full stack it also embeds in the admin iframe. It ships as static files.
Stack TypeScript React React Router shadcn Tailwind
shellui/files (opens in a new tab)
hosting-service All-in temporary deploy
The hosting-service is a Django API that deploys the whole Browser group as static files - the shell, your app, and Files - under one temporary URL. It ships as a Docker image in your infrastructure. Use it while you try the product.
Stack Python Django Django REST Framework django-storages Swagger ReDoc
shellui/hosting-service (opens in a new tab) shellui/hosting-service (opens in a new tab)
email-service Backend
email-service is a Django API that sends Shellui mail. identity-service, storage-service, and hosting-service call it when EMAIL_SERVICE_API_KEY is set. An event applies that company's email rules. identity-service can also send sign-in mail directly.
The company brings its own provider: Resend, Amazon SES, or SMTP. Sign-in mail always goes out first, so a newsletter or broadcast never delays it.
It ships as a Docker image. The admin app manages rules, templates, and the provider. You can run the same image yourself.
Stack Python Django Django REST Framework Celery React Email Swagger ReDoc
shellui/email-service (opens in a new tab) shellui/email-service (opens in a new tab)