{"id":18668999,"url":"https://github.com/mightycreak/mesamatrix","last_synced_at":"2025-04-05T14:03:02.351Z","repository":{"id":19990722,"uuid":"23257969","full_name":"MightyCreak/mesamatrix","owner":"MightyCreak","description":"PHP script that parse the text file from the mesa git tree and format it in HTML.","archived":false,"fork":false,"pushed_at":"2024-12-15T19:01:03.000Z","size":1633,"stargazers_count":124,"open_issues_count":20,"forks_count":29,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-29T13:03:46.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mesamatrix.net","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MightyCreak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","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":"MightyCreak","custom":["https://mesamatrix.net/donate.php","paypal.me/romainfailliot"]}},"created_at":"2014-08-23T14:34:17.000Z","updated_at":"2025-01-04T03:38:53.000Z","dependencies_parsed_at":"2023-02-19T10:05:18.531Z","dependency_job_id":"215df6b8-7b98-4d0b-92d7-ac2d9437d2ac","html_url":"https://github.com/MightyCreak/mesamatrix","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MightyCreak%2Fmesamatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MightyCreak%2Fmesamatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MightyCreak%2Fmesamatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MightyCreak%2Fmesamatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MightyCreak","download_url":"https://codeload.github.com/MightyCreak/mesamatrix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345848,"owners_count":20924102,"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":[],"created_at":"2024-11-07T08:45:37.908Z","updated_at":"2025-04-05T14:03:02.321Z","avatar_url":"https://github.com/MightyCreak.png","language":"PHP","funding_links":["https://github.com/sponsors/MightyCreak","https://mesamatrix.net/donate.php","paypal.me/romainfailliot"],"categories":[],"sub_categories":[],"readme":"# Mesamatrix\n\nMesamatrix is a PHP application that parses information from a text file in the\nMesa Git repository ([features.txt](https://gitlab.freedesktop.org/mesa/mesa/blob/main/docs/features.txt))\nand formats it in HTML.\n\nOfficial website: \u003chttps://mesamatrix.net/\u003e\n\n## Installation\n\n### Prerequisites\n\nMesamatrix requires the following software:\n\n* [Composer](https://getcomposer.org/)\n* [Git](https://git-scm.com)\n* [PHP](https://www.php.net/) 7.4 or higher, with these packages:\n  * [php-json](https://www.php.net/manual/book.json.php)\n  * [php-xml](https://www.php.net/manual/book.simplexml.php)\n\n### Install steps\n\nClone the Mesamatrix repository:\n\n```sh\ngit clone git@github.com:MightyCreak/mesamatrix.git\n```\n\nJump into the directory and install the dependencies with Composer:\n\n```sh\ncd mesamatrix\ncomposer install\n```\n\n### Configuration (optional)\n\nThere is a default config file in [`config/config.default.php`](./config/config.default.php).\nIt provides default values for the application, but is overridden by the\noptional `config/config.php`.\n\nFor instance, to change the log level: create a `config/config.php` file and\ncopy this contents:\n\n```php\n\u003c?php\n\nuse Monolog\\Logger as Log;\n\n$CONFIG = array(\n    \"info\" =\u003e array(\n        \"log_level\" =\u003e Log::DEBUG,\n    ),\n);\n```\n\n### Initial setup\n\nFor the initial setup, run the `mesamatrixctl` tool to clone the Mesa Git\nrepository and generate the XML file:\n\n```sh\n./mesamatrixctl setup\n```\n\n### Update Mesa information\n\nOnce setup is done, you can run the two commands that are needed to get the\nlatest information from Mesa:\n\n```sh\n./mesamatrixctl fetch\n./mesamatrixctl parse\n```\n\nThese commands can be put into a crontab or similar scheduling facility, for\nautomated operation of your Mesamatrix installation.\n\n### Set up the web server\n\n#### For developers\n\nAs a developer, an easy way to spawn up a PHP server is by running this\ncommand:\n\n```sh\nphp -S 0.0.0.0:8080 -t public\n```\n\n#### For deployment\n\nIn order to deploy Mesamatrix on a server, the web server root must point to\nthe `public` directory. Be aware not to give access to more than just this\ndirectory.\n\nAt this point, you are done! Open your site in a web browser, and hopefully you\nwill see the matrix of Mesa features!\n\n## CLI tool\n\nThe `mesamatrixctl` tool can be used to administer your Mesamatrix\ninstallation. It outputs very little by default, but can become more verbose\nwhen passed `-v`, `-vv` or `-vvv` for normal output, verbose output or debug\noutput respectively.\n\nRun `./mesamatrixctl list` to see the available commands, or\n`./mesamatrixctl help` for more detailed help.\n\n## License\n\nMesamatrix is available under the AGPLv3, a copy of which is available in the\n[`LICENSE`](./LICENSE) file.\n\n### Third-party code libraries\n\n* [jQuery](https://jquery.com/) is available under the MIT License.\n* [jQuery Tipsy](http://onehackoranother.com/projects/jquery/tipsy/) is\n  available under the MIT License.\n* PSR Log is available under the MIT License.\n* [Symfony](https://symfony.com/) is available under the MIT License.\n\n### Media files\n\nThe Mesamatrix banner image was created by Robin McCorkell, and is licensed\nunder the Creative Commons Attribution-ShareAlike 4.0 International license.\nGo tweak it, and send us your improvements!\n\nThe RSS feed icon is freely available from the Mozilla Foundation at\n\u003chttp://www.feedicons.com/\u003e.\n\nThe GitHub 'Fork me' ribbon is available under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmightycreak%2Fmesamatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmightycreak%2Fmesamatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmightycreak%2Fmesamatrix/lists"}