Overview
Postiz is built with modern, production-ready technologies focusing on developer experience, performance, and maintainability.Core Technologies
Node.js Runtime
Version: Node.js
Package Manager: pnpm
>=22.12.0 <23.0.0Package Manager: pnpm
10.6.1package.json
Frontend Stack
React Ecosystem
| Technology | Version | Purpose |
|---|---|---|
| React | 18.3.1 | UI library |
| Next.js | 14.2.35 | App framework and routing |
| Vite | 6.3.5 | Build tool and dev server |
| TypeScript | 5.5.4 | Type safety |
State Management & Data Fetching
SWR (2.2.5) - React Hooks for data fetching
Postiz uses SWR exclusively for all data fetching. Each SWR hook must be in a separate function to comply with React hooks rules.
Styling
Tailwind CSS (3.4.17)
Key configuration files:
/apps/frontend/src/app/colors.scss- Color variables/apps/frontend/src/app/global.scss- Global styles/apps/frontend/tailwind.config.js- Tailwind configuration
tailwind-scrollbar- Custom scrollbar stylingtailwindcss-rtl- RTL language supportsass(1.89.2) - SCSS preprocessing
Form Management
- React Hook Form (7.58.1) - Form state management
- @hookform/resolvers (3.3.4) - Validation resolvers
- Yup (1.4.0) - Schema validation
- Zod (3.25.76) - Alternative schema validation
UI Components & Libraries
| Library | Purpose |
|---|---|
| @mantine/core (5.10.5) | Component primitives |
| @mantine/dates | Date pickers |
| @mantine/modals | Modal management |
| emoji-picker-react | Emoji selection |
| react-dropzone | File uploads |
| react-tooltip | Tooltips |
| sweetalert2 | Alert dialogs |
| @uiw/react-md-editor | Markdown editor |
| @tiptap/react | Rich text editor |
File Upload
Uppy - File upload frameworkInternationalization
- i18next (25.2.1)
- react-i18next (15.5.2)
- i18next-browser-languagedetector (8.1.0)
- i18n-iso-countries (7.14.0)
Analytics & Monitoring
- Sentry (
@sentry/react,@sentry/nextjs) - Error tracking - PostHog (
posthog-js) - Product analytics - Plausible (
next-plausible) - Privacy-friendly analytics
Backend Stack
Framework
NestJS (10.0.2) - Progressive Node.js framework
@nestjs/core- Core framework@nestjs/common- Common utilities@nestjs/platform-express- Express adapter@nestjs/swagger(7.3.0) - API documentation@nestjs/schedule(4.0.0) - Task scheduling@nestjs/microservices(10.3.1) - Microservices support
Database
Prisma (6.5.0) - Next-generation ORM
Schema location:
libraries/nestjs-libraries/src/database/prisma/schema.prismaCaching & Storage
Redisioredis(5.3.2) - Redis client@nest-lab/throttler-storage-redis- Rate limiting storage
@aws-sdk/client-s3(3.787.0)@aws-sdk/s3-request-presigner(3.787.0)
Authentication & Authorization
| Library | Purpose |
|---|---|
| jsonwebtoken (9.0.2) | JWT generation/validation |
| bcrypt (5.1.1) | Password hashing |
| @casl/ability (6.5.0) | Permissions/authorization |
| cookie-parser (1.4.7) | Cookie parsing |
API Clients & Integrations
Social Media:twitter-api-v2(1.24.0) - X/Twitterfacebook-nodejs-business-sdk(21.0.5) - Facebook@atproto/api(0.15.15) - Bluesky@neynar/nodejs-sdk(3.112.0) - Farcastergoogleapis(137.1.0) - Google/YouTube
stripe(20.4.0) - Payment processingresend(3.2.0) - Email servicenodemailer(7.0.11) - Email sending@dub/analytics(0.0.32) - Link analytics
Rate Limiting
@nestjs/throttler (6.3.0)Orchestrator Stack
Workflow Engine
Temporal (1.14.0) - Durable execution framework
@temporalio/workflow- Workflow definitions@temporalio/activity- Activity implementations@temporalio/worker- Worker runtime@temporalio/client- Client SDKnestjs-temporal-core(3.2.0) - NestJS integration
AI & Agent Features
AI SDKs
- OpenAI (6.2.0) - GPT models
- @ai-sdk/openai (2.0.52) - Vercel AI SDK
- @langchain/openai (0.5.5) - LangChain integration
- @langchain/core (0.3.44) - LangChain core
- @langchain/langgraph (0.2.63) - Graph workflows
Agent Framework
Mastra (0.13.2)@mastra/core(0.20.2)@mastra/memory(0.15.6)@mastra/pg(0.17.2)
@copilotkit/react-core@copilotkit/react-textarea@copilotkit/react-ui@copilotkit/runtime
Media Processing
Image Processing
Sharp (0.33.4) - High-performance image processingVideo Processing
music-metadata(7.14.0) - Audio/video metadatasubtitle(4.2.2-alpha.0) - Subtitle handling
File Handling
multer(1.4.5-lts.1) - File upload middlewaremime-types(2.1.35) - MIME type detectiontransloadit(3.0.2) - Media processing serviceimage-to-pdf(3.0.2) - PDF generation
Utilities & Helpers
Date & Time
dayjs (1.11.10)Data Processing
- lodash (4.17.21) - Utility functions
- axios (1.7.7) - HTTP client
- fast-xml-parser (4.5.1) - XML parsing
- rss-parser (3.13.0) - RSS feed parsing
- simple-statistics (7.8.3) - Statistical functions
Validation & Transformation
- class-validator (0.14.1)
- class-transformer (0.5.1)
- class-validator-jsonschema (5.1.0)
Security
- crypto-hash (3.0.0) - Cryptographic hashing
- sha256 (0.2.0) - SHA-256 hashing
- md5 (2.3.0) - MD5 hashing
- tweetnacl (1.0.3) - Cryptography library
Build Tools
TypeScript
TypeScript (5.5.4)ts-node(10.9.2) - TypeScript executiontsup(8.5.0) - TypeScript bundler@swc/core(1.5.7) - Fast TypeScript compiler
Bundlers & Build Tools
- Vite (6.3.5) - Frontend build tool
- @vitejs/plugin-react (4.2.0)
- vite-tsconfig-paths (5.1.4)
Testing
- Jest (29.7.0) - Testing framework
@testing-library/react(15.0.6)jest-environment-jsdom(29.7.0)jest-mock-extended(4.0.0-beta1)- Vitest (3.1.4) - Alternative test runner
Code Quality
ESLint (8.57.0)eslint-config-next(15.2.1)eslint-config-prettier(9.0.0)eslint-plugin-react(7.32.2)eslint-plugin-react-hooks(4.6.0)
Development Tools
- nodemon (3.1.9) - Auto-restart server
- PM2 - Process manager (production)
- Docker - Containerization
- dotenv (16.5.0) - Environment variables
Browser Extension
- webextension-polyfill (0.12.0)
- @crxjs/vite-plugin (2.0.0-beta.32)
- hot-reload-extension-vite (1.0.13)
Additional Features
Blockchain/Web3
- @solana/wallet-adapter-react (0.15.35)
- viem (2.22.9) - Ethereum library
- bs58 (6.0.0) - Base58 encoding
- nostr-tools (2.18.2) - Nostr protocol
Design Tools
- Polotno (2.10.5) - Design editor
- Chart.js (4.4.1) - Charts and graphs
Version Constraints
Next Steps
Backend Development
Learn backend architecture and patterns
Frontend Development
Explore frontend development