Overview
Discover what makes AsmBB powerful
AsmBB is a lightweight, self‑hosted communication platform that blends forum, chat, and social‑network features into a single PHP application. It is designed for developers who want full control over their data, easy deployment on Linux or Windows servers, and the ability to extend functionality through a modular plugin system. At its core, AsmBB is written in **PHP 8** and follows a traditional MVC pattern, making it familiar to developers accustomed to frameworks like Laravel or Symfony. The application ships with a built‑in REST‑like API that exposes core entities (users, posts, threads, attachments) and supports authentication via OAuth2 or API keys, enabling integration with external services such as Discord bots, CI pipelines, or custom dashboards.
Language & Runtime
Web Server
Database
Templating & Frontend
Overview
AsmBB is a lightweight, self‑hosted communication platform that blends forum, chat, and social‑network features into a single PHP application. It is designed for developers who want full control over their data, easy deployment on Linux or Windows servers, and the ability to extend functionality through a modular plugin system. At its core, AsmBB is written in PHP 8 and follows a traditional MVC pattern, making it familiar to developers accustomed to frameworks like Laravel or Symfony. The application ships with a built‑in REST‑like API that exposes core entities (users, posts, threads, attachments) and supports authentication via OAuth2 or API keys, enabling integration with external services such as Discord bots, CI pipelines, or custom dashboards.
Technical Stack
- Language & Runtime: PHP 8.x (CLI and FPM)
- Web Server: Compatible with Apache, Nginx, Hiawatha, or any server that can serve PHP through FastCGI
- Database: Supports MySQL/MariaDB and SQLite (via PDO) for lightweight installations; optional support for PostgreSQL through community patches
- Templating & Frontend: Blade‑style templating engine, with optional Tailwind CSS or Bulma for rapid UI tweaks; the core theme is responsive and mobile‑first
- Dependency Management: Composer for PHP libraries; optional Docker images are provided (Dockerfile + docker‑compose) for containerized deployments
- Caching: File‑based cache with optional Redis or Memcached support for high‑traffic scenarios
Core Capabilities & APIs
- User Management: Registration, email confirmation, password reset, role‑based permissions (admin, moderator, member)
- Thread & Post System: Nested replies, BBCode/Markdown parsing, attachment handling (images, PDFs), voting/upvote system
- Real‑time Chat: Lightweight WebSocket support via Ratchet or an external Pusher service; fallback to AJAX polling
- RESTful API: CRUD endpoints for users, threads, posts, and attachments; supports JSON payloads and pagination
- Webhooks: Trigger external HTTP callbacks on events such as new post, user join, or moderator action
- Internationalization: Full i18n support with .po/.mo files; community‑maintained translations in multiple languages
Deployment & Infrastructure
AsmBB is intentionally minimalistic, allowing it to run on a single VPS with 512 MB RAM. The bundled Docker images make it trivial to spin up instances on Kubernetes, ECS, or any container orchestration platform. For larger deployments, the application scales horizontally by sharing a common database and Redis instance; session data is stored in Redis to keep the statelessness of individual containers. Systemd unit files are provided for quick service management on Debian/Ubuntu, and the Docker images expose environment variables for database credentials, secret keys, and mail server configuration.
Integration & Extensibility
- Plugin Architecture: Plugins are PHP classes that hook into predefined events (e.g.,
onPostCreated,onUserRegistered). The core provides a plugin manager that scans the/pluginsdirectory and loads them at runtime. - SDKs & Client Libraries: The REST API can be consumed via any HTTP client; community libraries exist for Node.js, Python, and Go.
- Custom Themes: Developers can override templates by placing files in
/themes/custom/; the templating engine supports inheritance, allowing deep customization without touching core code. - Authentication Backends: LDAP, OAuth2 providers (Google, GitHub), and SAML are supported through configuration files; third‑party modules can extend these backends.
Developer Experience
The codebase is well‑structured, with clear separation of concerns: src/Controllers, src/Models, src/Views. Documentation is available in Markdown format, covering installation, configuration, and plugin development. A public GitHub repository hosts the source code, issue tracker, and a mailing list for community support. The licensing model is GPL‑3.0+, ensuring that any derivative work remains open source, which appeals to developers building internal tools or community platforms.
Use Cases
- Internal Knowledge Base – Teams can host a forum with threaded discussions, file sharing, and real‑time chat for onboarding or project coordination.
- Community Forum – Small to medium-sized hobbyist communities can deploy AsmBB on a VPS, customize the UI with Tailwind, and expose an API for mobile apps.
- Event Management – Organizers can use AsmBB’s threaded discussions and attachments to run Q&A sessions, polls, and live updates during conferences.
- Educational Platforms – Instructors can create class forums with grading hooks, integrate with LMS via webhooks, and provide students with a single sign‑on experience.
Advantages Over Alternatives
- Performance: Lightweight PHP code with optional Redis caching delivers sub‑200 ms response times even on modest hardware.
- Flexibility: Full control over database schema and templating; no proprietary backend services required.
- Licensing: GPL‑3.0+ guarantees that the software remains free and modifiable, avoiding vendor lock‑in.
- Extensibility: Built‑in plugin system and webhooks make it straightforward to add features like Slack notifications, GitHub issue sync, or custom analytics dashboards.
- Community & Support: Active mailing list and GitHub issues channel ensure rapid bug fixes and feature requests.
AsmBB offers a robust, developer‑friendly foundation for building self‑hosted communication hubs that can grow from a single‑user testbed to a full
Open SourceReady to get started?
Join the community and start self-hosting AsmBB today
Related Apps in apis-services
Mastodon
Decentralized, real‑time social networking
Discourse
Open‑source community forum platform with real‑time chat and AI
Rocket.Chat
Secure, open‑source team communication platform
Novu
Unified notification platform for multi‑channel delivery
Mattermost
Secure, self‑hosted team collaboration with chat, voice, and AI
Jitsi Meet
Free, encrypted video conferencing for everyone
Weekly Views
Repository Health
Information
Tags
Explore More Apps

Yarn.social
Decentralized, privacy‑first microblogging for the modern web

OneDev
All-in-one DevOps platform for code, CI/CD, and task management
HomelabOS
Your offline-first privacy‑centric personal data center
OliveTin
Secure web interface for predefined shell commands
BookStack
Self‑hosted wiki for easy knowledge organization
Redmine
Flexible project management for teams of any size