reBB is a PHP application that allows users to create and share customizable forms which convert user input into formatted text output using BBCode, HTML, or any text template format. It's designed to simplify the creation of structured content for forums, websites, or any platform that uses formatted text.
reBB provides a drag-and-drop form builder interface for creating custom forms with various input types. Forms can be shared via unique URLs, and when users fill them out, their input is automatically formatted according to a predefined template. This makes it perfect for creating consistent forum posts, pre-formatted messages, or structured content.
- Drag-and-Drop Form Builder: Create forms without coding
- Custom Templates: Define output templates using wildcards
- Multiple Form Styles: Choose from different visual styles (Default, Paperwork, Vector, Retro, Modern)
- Shareable Forms: Each form gets a unique URL that can be shared
- Custom Shareable Links: Create memorable branded URLs for your forms
- User Management: User accounts with form ownership and management
- Browser Storage: Form data saved in browser cookies for convenience
- Mobile Responsive: Works on desktop and mobile devices
- Dark Mode: Toggle between light and dark interface
- Admin Panel: Manage forms, users, and view system statistics
- Documentation System: Built-in markdown documentation
- Analytics System: Track form usage, views, and submissions
- Backend: PHP 7.4+
- Database: NoSQL (SleekDB) - No traditional SQL database required
- Frontend: HTML5, CSS3, JavaScript, Bootstrap
- Form Building: FormIO library
- Storage: File-based storage for forms and configurations
-
Clone the repository:
git clone https://github.com/booskit-codes/reBB.git -
Set up your web server with PHP 7.4+ support
- Ensure mod_rewrite is enabled for Apache
- Set document root to the application's root directory
- For Nginx, configure URL rewriting accordingly
-
Create a configuration file:
- Copy
includes/config.example.phptoincludes/config.php - Update the settings to match your environment
- Copy
-
Ensure the web server has write permissions for these directories:
/storage(stores form definitions, logs, etc.)/db(stores NoSQL database files)/lib(stores libraries)
-
Access the application through your web browser and go to your setup page via
https://domain.com/setup- The setup will guide you through creating an admin account on first run
- Click "Create a form" on the homepage
- Use the drag-and-drop interface to add form elements
- Give your form a name and choose a style
- Create a template using wildcards that correspond to your form fields
- Click "Save Form" to generate a shareable link
- Access a form using its unique URL
- Fill out the form fields
- Submit the form to see the generated output
- Copy the output for use in your forum, website, etc.
Templates use curly braces to insert field values:
- Single fields:
{field_name} - Data grids (repeating sections): Use
{@START_gridname@}...{@END_gridname@}to define repeatable content
Example template:
[b]Character Name:[/b] {character_name}
[b]Race:[/b] {race}
[b]Class:[/b] {class}
[b]Equipment:[/b]
{@START_equipment@}
- {item} ({quantity})
{@END_equipment@}
[b]Background:[/b]
{background}
reBB includes a complete user management system:
- Authentication: Secure user login and session management
- Role-Based Access: Admin and regular user roles
- Form Ownership: Users can create, edit, and manage their own forms
- Custom Links: Create memorable branded URLs for forms
- Analytics: View usage statistics for your forms
Admin panel features include:
- View all created forms and their usage statistics
- Manage user accounts
- Create and share user credentials
- Monitor system logs and usage
- Track analytics for forms, components, and themes
- Delete or modify any content as needed
reBB includes a built-in documentation system with:
- Markdown support
- Admin editing interface
- Automatic ordering of documentation pages
- Mobile-responsive layout
- CSRF protection
- Rate limiting
- Input validation
- XSS prevention
- Form submission logging
- Blacklist support for malicious IPs
- Session timeout controls
reBB uses SleekDB, a NoSQL document store that operates directly with the file system:
- No database server required
- Simple JSON-based document storage
- Fast and lightweight
- Easy to backup (just copy the files)
- Straightforward to deploy without complex configuration
reBB works in all modern browsers:
- Chrome
- Firefox
- Safari
- Edge
reBB is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Created by booskit Feel free to support this project by considering a donation