{"id":27720642,"url":"https://github.com/hirotakadango/hdboard","last_synced_at":"2026-04-25T23:37:43.031Z","repository":{"id":289250440,"uuid":"970624020","full_name":"HirotakaDango/HDBoard","owner":"HirotakaDango","description":"4chan clone in php and sqlite database with only single file.","archived":false,"fork":false,"pushed_at":"2025-04-26T08:30:09.000Z","size":243,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T09:59:04.649Z","etag":null,"topics":["4chan-clone","anonymous","booru","forum","imageboard","php","sqlite"],"latest_commit_sha":null,"homepage":"http://hdboard.rf.gd","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HirotakaDango.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-22T09:39:13.000Z","updated_at":"2025-04-26T08:30:13.000Z","dependencies_parsed_at":"2025-04-22T11:04:42.547Z","dependency_job_id":null,"html_url":"https://github.com/HirotakaDango/HDBoard","commit_stats":null,"previous_names":["hirotakadango/hdboard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HirotakaDango%2FHDBoard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HirotakaDango%2FHDBoard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HirotakaDango%2FHDBoard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HirotakaDango%2FHDBoard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HirotakaDango","download_url":"https://codeload.github.com/HirotakaDango/HDBoard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251119571,"owners_count":21539194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["4chan-clone","anonymous","booru","forum","imageboard","php","sqlite"],"created_at":"2025-04-27T09:59:11.394Z","updated_at":"2026-04-25T23:37:43.025Z","avatar_url":"https://github.com/HirotakaDango.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HDBoard\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/86b8fd56-cc5f-46a7-bc15-ba88dd096f8f\" alt=\"HDBoard Logo\"\u003e\n\u003c/p\u003e\n\n**HDBoard** is a lightweight and customizable PHP-based message board system inspired by 4chan, designed to be simple, fast, and easy to deploy. Ideal for small communities, personal projects, or internal team boards, HDBoard runs as a single PHP file and uses SQLite for storage.\n\n---\n\n## Features\n\n- **Single File**: Just one `index.php` file to deploy.\n- **Easy Installation**: No dependencies besides PHP 7+; SQLite DB is created automatically.\n- **Multiple Boards**: Supports dozens of boards/channels, grouped by category.\n- **User Accounts \u0026 Legacy Posting**: Register/login or post as a legacy/anonymous user.\n- **Media Uploads**: Supports image, video, and audio attachments (with previews).\n- **BBCode Formatting**: Rich text support with BBCode (bold, italics, spoiler, code, quote, etc).\n- **Role-Based Moderation**: Admin, moderator, janitor, and user roles; users can be banned/unbanned.\n- **Post Management**: Edit and delete your own posts; moderators can manage others.\n- **Security**: CSRF protection, session security, basic input validation.\n- **Responsive UI**: Minimal, mobile-friendly interface with dark mode and quick navigation.\n- **Customizable**: Change board titles, categories, and appearance by editing the file.\n\n---\n\n## Getting Started\n\n### Requirements\n\n- PHP 7.0 or higher\n- A web server (Apache, Nginx, etc.)\n\n### Installation\n\n1. **Download:**\n   - Clone the repository or download the `index.php` file.\n\n   ```bash\n   git clone https://github.com/HirotakaDango/HDBoard.git\n   # or download index.php from GitHub directly\n   ```\n\n2. **Deploy:**\n   - Place `index.php` in your web server's root directory.\n\n3. **Access:**\n   - Open your browser and navigate to your site (e.g., `http://localhost/index.php`).\n\n4. **First run:**\n   - The SQLite database (`board.db`) and uploads directory are created automatically on first use.\n\n### Optional Configuration\n\nYou can edit `index.php` directly to modify:\n\n- Board title and categories\n- Storage path and file size limits\n- Posting rules and board/channel names\n- UI appearance (CSS is included in the file)\n- User role hierarchy and permissions\n\n---\n\n## Folder Structure\n\n```\n/HDBoard\n├── index.php\n└── (Optional) uploads/\n```\n- **index.php** – Main application file (all logic/UI)\n- **uploads/** – Where user uploads are stored (auto-created)\n\n---\n\n## Usage\n\n- **Browse boards:** Click any board from the index to view threads.\n- **Register/Login:** Optional – registered users get enhanced features and protections.\n- **Post Threads/Replies:** Fill out the form, attach files if desired, and submit.\n- **Edit/Delete:** Available for your own posts; moderators/admins can manage all posts.\n- **Moderation:** Ban/unban users (janitor+), edit/delete posts, manage users.\n\n---\n\n## Security\n\n- **CSRF protection** for all forms.\n- **Sessions** use secure cookie settings.\n- **Passwords** stored as bcrypt hashes.\n- **Input validation** for usernames, comments, and uploads.\n\n---\n\n## Customization\n\n- **Adding Boards:** Edit the `ALLOWED_CHANNELS`, `CHANNEL_NAMES`, and `$channel_categories` sections in `index.php`.\n- **Appearance:** All CSS is in the file; tweak to your liking.\n- **Limits:** Adjust `MAX_FILE_SIZE`, allowed file extensions, etc.\n\n---\n\n## Credits\n\n- Inspired by [4chan](https://4chan.org/) and classic imageboards.\n- Created by [HirotakaDango](https://github.com/HirotakaDango).\n- Contributions and feedback are welcome!\n\n---\n\n## Disclaimer\n\nUse responsibly. Some channels may be NSFW. You are responsible for the content and moderation on your deployed instance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirotakadango%2Fhdboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirotakadango%2Fhdboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirotakadango%2Fhdboard/lists"}