{"id":22665237,"url":"https://github.com/volkansah/minigrex","last_synced_at":"2025-04-12T08:43:39.902Z","repository":{"id":79455822,"uuid":"605817403","full_name":"VolkanSah/MiniGreX","owner":"VolkanSah","description":"MiniGreX will be designed with security in mind, and the code will be written to minimize the risk of SQL injection attacks and other security vulnerabilities. To ensure maximum security, we recommend keeping the CMS up-to-date with the latest security patches and using strong passwords for all user accounts.","archived":false,"fork":false,"pushed_at":"2024-09-17T07:38:56.000Z","size":993,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"dev_16.09.2024","last_synced_at":"2024-12-06T12:40:37.863Z","etag":null,"topics":["authentication","cms","cms-backend","cms-framework","codeigniter","content-management","content-management-system","hacker","mariadb","mysql","php","pod","posgresql","prepared-statements","security","security-audit","security-tools","user-interface","usermanagement","xss-filter"],"latest_commit_sha":null,"homepage":"","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/VolkanSah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["VolkanSah"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-02-24T00:45:25.000Z","updated_at":"2024-09-17T07:38:59.000Z","dependencies_parsed_at":"2024-06-12T21:47:12.830Z","dependency_job_id":"d333a7dc-c512-46ac-9027-f03c891ad0e3","html_url":"https://github.com/VolkanSah/MiniGreX","commit_stats":null,"previous_names":["volkansah/minigrex"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolkanSah%2FMiniGreX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolkanSah%2FMiniGreX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolkanSah%2FMiniGreX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolkanSah%2FMiniGreX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VolkanSah","download_url":"https://codeload.github.com/VolkanSah/MiniGreX/tar.gz/refs/heads/dev_16.09.2024","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228898113,"owners_count":17988621,"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":["authentication","cms","cms-backend","cms-framework","codeigniter","content-management","content-management-system","hacker","mariadb","mysql","php","pod","posgresql","prepared-statements","security","security-audit","security-tools","user-interface","usermanagement","xss-filter"],"created_at":"2024-12-09T13:29:42.219Z","updated_at":"2024-12-09T13:29:42.808Z","avatar_url":"https://github.com/VolkanSah.png","language":"PHP","funding_links":["https://github.com/sponsors/VolkanSah","https://github.com/sponsors/volkansah"],"categories":[],"sub_categories":[],"readme":"\n# MiniGreX - Content Management Framework\n### DO NOT USE IT, STILL DEVLOP!\n\n![MiniGreX Logo](docs/header_minigrex.png)\n\n## Table of Contents\n- [Security](#security)\n- [Introduction](#introduction)\n- [Installation](#installation)\n- [Features](#features)\n- [Admin Panel](#admin-panel)\n- [User Panel](#user-panel)\n- [Usage](#usage)\n- [Changelog](#changelog)\n- [Contributing](#contributing)\n- [Credits](#credits)\n- [License](#license)\n\n\n\u003e **IMPORTANT**  \n\u003e ⚠️ MiniGreX is still in development.  Want to help? The smallest high-secure multi-CMS for DevOps 👮\n\u003e Update 12.06.24 i kill it today. Later! not yet please!\n\n## Security\nMiniGreX is designed with security in mind, minimizing the risk of SQL injection and other vulnerabilities. Keep MiniGreX up-to-date with the latest patches and use strong passwords for all accounts.\n\n## Introduction\nMiniGreX is a lightweight and secure system \"not only\" for sharing links, images, videos, and comments. It supports MySQL, MariaDB, and PostgreSQL, and uses PHP PDO with prepared statements for security.\n\n[Documentation for this project](docs/)\n\n## Installation\nTo install MiniGreX CMS, follow these steps:\n\n1. Install a web server (Apache or Nginx).\n2. Install PHP 7.4 or higher.\n3. Install MySQL, PostgreSQL, or MariaDB.\n4. Clone the repository from GitHub.\n5. Create a database for MiniGreX CMS.\n6. Import the SQL file `sql.txt` into your database.\n7. Update `init.php` with your database credentials.\n8. Upload the files to your server.\n9. Change file and folder permissions.\n10. Navigate to `index.php` to view the CMS.\n\n## Features\n- [x] User authentication\n- [x] Admin panel for managing site information and user accounts\n- [x] Share links, images, and videos\n- [x] Comment system\n- [x] SQL injection prevention with prepared statements\n- [x] Supports MySQL, MariaDB, and PostgreSQL\n- [x] Force SSL\n- [x] Role Manager\n- [x] Caching\n- [x] Some \"Test tools\"\n- [ ] Lazyload + Image Customizer \n- [ ] Image \u0026 Video Database \n- [ ] SEO Tools\n- [ ] Deep/Dark Web mode\n- [x] Some admin stuff\n- [ ] Profile Manager\n- [ ] Some secrets 😃\n\n## Admin Panel\nThe admin panel allows admins to manage site information and user accounts, including:\n- Changing site title and description\n- Changing admin/user passwords\n- Viewing and deleting user accounts\n- Managing roles and permissions\n\n## User Panel\nThe user panel allows users to manage their accounts and content, including:\n- Changing user passwords\n- Creating posts, links, comments, and uploading images and videos\n- Update Profile\n\n## Public Files and Functions\n- `login.php` and `register.php` with prepared statements and CSRF protection\n\n## Security Enhancements\n- Content Security Policy (CSP) and other security headers\n- Enhanced SQL injection prevention with PDO and prepared statements\n- CSRF protection mechanisms\n- Session security with session regeneration to prevent session fixation\n\n## Modular Architecture\n- `plugin_loader.php` for modular plugin integration\n- `theme_loader.php` for modular theme integration\n\n## Role Manager\n- Manage roles and permissions\n- Admins can create, delete, and assign roles to users\n\n## Coming Soon\n- Lazyload + Image Customizer\n- Image \u0026 Video Database\n- SEO Tools\n- Gateway Tools\n- Deep/Dark Web mode for enhanced security and privacy (for DevOps)\n- Profile Manager\n\n## Changelog\n### Latest Updates \n###### 06/2024\n1. **Role Manager**:\n    - New plugin for managing roles and permissions.\n    - Admins can create, delete, and assign roles to users.\n\n2. **Security Enhancements**:\n    - Added Content Security Policy (CSP) and other security headers.\n    - Enhanced SQL injection prevention using PDO and prepared statements.\n    - Implemented CSRF protection mechanisms.\n\n3. **Session Security**:\n    - Added a function to regenerate session IDs to prevent session fixation.\n\n4. **Modular Architecture**:\n    - Introduced `plugin_loader.php` for modular integration of plugins.\n\n5. **Improvements in `login.php` and `register.php`**:\n    - Usage of PDO and prepared statements.\n    - Integration of CSRF protection.\n\nThese changes and enhancements significantly improve the security, modularity, and administrative capabilities of the CMS.\n\n## Usage\nOnce installed, MiniGreX CMS allows you to share links, images, and videos. The main page shows all posts and comments. To add a new post, click \"Add Post\" and fill in the form.\n\nTo comment on a post, log in or register a new account. Admins can change site settings and passwords from the admin panel.\n\n## Contributing\n\nWe welcome contributions to MiniGreX CMS, including bug fixes, feature requests, and translations. To contribute, please create a new branch and submit a pull request.\n\n## Support\n\nYour support is greatly appreciated. If you find MiniGreX CMS useful, consider ⭐ the project on GitHub or becoming a [Sponsor](https://github.com/sponsors/volkansah).\n\n## Credits\n\nMiniGreX CMS is developed and maintained by:\n- [Volkan Kücükbudak](https://github.com/volkansah)\n- [Source of MiniGreX](https://github.com/VolkanSah/MiniGreX/)\n\n## License\n\nMiniGreX CMS is licensed under a \"MIT\" [LICENSE](LICENSE). Feel free to use it for personal purposes and commercial purposes!\n\n### DATA\n```\nMiniGreX-dev_05.09.2024/\n└── .htaccess\n├── _logs/\n│   └── .htaccess\n├── assets/\n│   ├── css/\n│   │   └── README.md\n│   ├── js/\n│   │   └── README.md\n├── cache/\n│   └── .htaccess\n│   └── cache_db.php\n│   └── index.php\n├── error/\n│   └── 400.html\n│   └── 401.html\n│   └── 403.html\n│   └── 404.html\n│   └── 500.html\n├── includes/\n│   └── .htaccess\n│   └── cms.php\n│   └── functions.php\n│   └── images.php\n│   └── init.php\n│   └── loader.php\n│   └── security.php\n│   └── upload.php\n└── index.php\n└── login.php\n├── panel/\n│   └── admin.php\n│   ├── css/\n│   │   └── dashboard.css\n│   └── dashboard.php\n│   └── footer.php\n│   └── header.php\n│   └── navi.php\n│   └── option_settings.php\n│   └── user_settings.php\n├── plugins/\n│   ├── gateway_manager/\n│   │   └── README.md\n│   │   └── core.php\n│   └── image_db/\n│   │   └── README.md\n│   │   └── core.php\n│   │   └── imgdb_token.php\n│   └── plugin_loader.php\n│   ├── profile_manager/\n│   │   └── profile_manager.php\n│   ├── role_manager/\n│   │   └── core.php\n│   │   └── role_manager.php\n└── register.php\n└── sql.txt\n├── tests/\n│   └── test_cache.php\n│   └── test_db_connection.php\n├── themes/\n│   ├── default/\n│   │   ├── css/\n│   │   │   └── default.css\n│   │   ├── js/\n│   │   │   └── default.js\n│   │   ├── public/\n│   │   │   └── footer.php\n│   │   │   └── home.php\n│   │   │   └── sidebar.php\n└── theme_loader.php\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolkansah%2Fminigrex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvolkansah%2Fminigrex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolkansah%2Fminigrex/lists"}