{"id":18083044,"url":"https://github.com/malisipi/mfb","last_synced_at":"2025-04-05T23:14:46.778Z","repository":{"id":192261731,"uuid":"686307027","full_name":"malisipi/mfb","owner":"malisipi","description":"Frame buffer graphic (mouse, keyboard) library for V","archived":false,"fork":false,"pushed_at":"2023-09-09T11:29:16.000Z","size":998,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T05:37:40.392Z","etag":null,"topics":["2d","2d-graphics","framebuffer","graphics","mui","vlang"],"latest_commit_sha":null,"homepage":"","language":"V","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/malisipi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-09-02T11:03:25.000Z","updated_at":"2024-05-27T18:34:35.000Z","dependencies_parsed_at":"2023-09-03T20:32:21.323Z","dependency_job_id":"75bc05e4-fba1-43a2-867c-d6e0182b93c8","html_url":"https://github.com/malisipi/mfb","commit_stats":null,"previous_names":["malisipi/mfb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malisipi%2Fmfb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malisipi%2Fmfb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malisipi%2Fmfb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malisipi%2Fmfb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malisipi","download_url":"https://codeload.github.com/malisipi/mfb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411238,"owners_count":20934654,"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":["2d","2d-graphics","framebuffer","graphics","mui","vlang"],"created_at":"2024-10-31T14:06:47.039Z","updated_at":"2025-04-05T23:14:46.759Z","avatar_url":"https://github.com/malisipi.png","language":"V","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A framebuffer graphic library\n\n\u003e The library is unstable atm!\n\n* 2D Graphic support (compatible with gg)\n* Keyboard support (a little buggy)\n* Mouse support\n\n## Why MFB is exist while we have V's GG library?\n\n| GG  | MFB |\n|-----|-----|\n| GG is a graphic library for designed desktop applications. It can be used any way as a desktop application. | MFB is designed a framebuffer graphic library for Linux. |\n| Designed for desktop applications | Designed for Linux TTY |\n| Require a (X11) display server    | Don't require a display server |\n| GG is not written in Pure V. (GG is a wrapper for sokol graphic library) | MFB is written in Pure V |\n| Supports unicode input/mouse | Supports only english layout (for now)/mouse |\n| GG is not support framebuffer\u003csup\u003e1\u003c/sup\u003e | MFB's first goal is supporting frambuffer |\n| GG has more powerful API | MFB has less powerful API |\n\n\u003csup\u003e1\u003c/sup\u003e: It doesn't seems like GG will supported in future. [floooh/sokol #702](https://github.com/floooh/sokol/issues/702)\n\n\u003e After all, You can understand MFB is not enemy of GG. MFB's goal is making applications that made with GG have more platform and user.\n\n## Support\n\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\n            \u003cvideo src=\"https://github.com/malisipi/mfb/assets/87281783/166ad588-44aa-48f5-82ec-94332d64f749\"\u003e\u003c/video\u003e\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cimg src=\"./docs/2048.png\"/\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003e\n            \u003cimg src=\"./docs/mui_demo.png\"/\u003e\n        \u003c/td\u003e\n        \u003ctd\u003e\n            \u003cimg src=\"./docs/tetris.png\"/\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n* MUI (UI Kit) is supported by [`mfb-backend` branch](https://github.com/malisipi/mui/tree/mfb-backend)\n* MUIMPV (The video player widget for MUI) is supported by [`mfb-backend` branch](https://github.com/malisipi/muimpv/tree/mfb-backend). (Requires MUI)\n* Most basic gg application can be ported with changing `import gg` with `import malisipi.mfb as gg`. (Also `mfb.context` must be mutable as different than gg to draw.)\n\n## Flags\n\n|Flag|Description|\n|-|-|\n|`-d show_fps`| Shows fps count |\n|`-d unlimited_fps`| Removes fps limit (It can be cause HIGH CPU usage) |\n\n## License\n\n* This project was licensed by Apache 2.0 License (`./LICENSE`)\n* VPNG module was licensed by MIT License (`./vpng`) (The module was edited for making maximum compatibility with the library. The original module is [here](https://github.com/Henrixounez/vpng))\n* `./examples/ported/mit` was licensed by MIT License (`./examples/ported/mit`)\n* [Phinger Cursors](https://github.com/phisch/phinger-cursors/) is licensed by CC-BY-SA-4.0 (Author: phisch (Philipp Schaffrath) on GitHub) (`./assets/cursor`)\n* [Google Icons](https://fonts.google.com/icons) is licensed by Apache 2.0 (`./examples/mfb-player/assets`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalisipi%2Fmfb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalisipi%2Fmfb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalisipi%2Fmfb/lists"}