{"id":24541647,"url":"https://github.com/GreenteaOS/Tofita","last_synced_at":"2025-10-03T17:31:16.681Z","repository":{"id":34023039,"uuid":"145869351","full_name":"GreenteaOS/Tofita","owner":"GreenteaOS","description":":candy: All-new engine of the @GreenteaOS","archived":false,"fork":false,"pushed_at":"2025-01-11T02:56:47.000Z","size":7127,"stargazers_count":234,"open_issues_count":10,"forks_count":28,"subscribers_count":19,"default_branch":"kawaii","last_synced_at":"2025-01-11T03:34:36.177Z","etag":null,"topics":["drivers","gpl","greenteaos","kernel","operating-system","operating-systems","os","osdev","uefi"],"latest_commit_sha":null,"homepage":"https://greenteaos.github.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GreenteaOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["PeyTy"],"patreon":"PeyTy","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":"PeyTy","issuehunt":null,"otechie":null,"custom":"https://greenteaos.github.io/donate"}},"created_at":"2018-08-23T15:00:58.000Z","updated_at":"2025-01-11T02:56:51.000Z","dependencies_parsed_at":"2024-04-17T16:50:47.902Z","dependency_job_id":"c7ca25b9-0e9a-4d80-b99a-b41710c52cbc","html_url":"https://github.com/GreenteaOS/Tofita","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenteaOS%2FTofita","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenteaOS%2FTofita/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenteaOS%2FTofita/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreenteaOS%2FTofita/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GreenteaOS","download_url":"https://codeload.github.com/GreenteaOS/Tofita/tar.gz/refs/heads/kawaii","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235161539,"owners_count":18945540,"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":["drivers","gpl","greenteaos","kernel","operating-system","operating-systems","os","osdev","uefi"],"created_at":"2025-01-22T18:18:18.395Z","updated_at":"2025-10-03T17:31:11.265Z","avatar_url":"https://github.com/GreenteaOS.png","language":"TypeScript","funding_links":["https://github.com/sponsors/PeyTy","https://patreon.com/PeyTy","https://liberapay.com/PeyTy","https://greenteaos.github.io/donate","https://www.patreon.com/PeyTy"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Tofita\r\n\r\n[![Tofita Logo](docs/logo.png?raw=true)](https://github.com/sponsors/PeyTy)\r\n\r\nAll-new engine to-fit-a [Greentea OS](https://github.com/GreenteaOS) (hence \"Tofita\")\r\n\r\n[![Telegram Channel](https://img.shields.io/badge/Telegram-Greentea%20NEWS-blue.svg)](https://t.me/s/greenteaos_news)\r\n[![Telegram Chatroom](https://img.shields.io/badge/Telegram-Greentea%20OS-blue.svg)](https://telegram.me/greenteaos)\r\n[![Join the chat at Discord!](https://img.shields.io/badge/Discord-Join%20Chat-677bc4.svg)](https://discord.gg/UGZq8GB)\r\n[![GitHub Sponsor](https://img.shields.io/static/v1?label=Sponsor\u0026message=%E2%9D%A4\u0026logo=GitHub\u0026color=%23fe8e86)](https://github.com/sponsors/PeyTy)\r\n[![Automatic Builds](https://img.shields.io/badge/Get-Builds-ff69b4.svg?style=flat)](https://ci.appveyor.com/project/PeyTy/tofita/build/artifacts)\r\n[![Made with Hexa](https://img.shields.io/badge/Code-Hexa-FF7F50.svg?style=flat)](https://github.com/hexalang/hexa)\r\n\r\nGreentea OS is aimed to provide complete operating system [compatible with existing apps, games and drivers](https://github.com/GreenteaOS/Greentea#compatibility-goals)\r\n\r\n![Screenshot](https://raw.githubusercontent.com/GreenteaOS/Greentea/kawaii/Images/screenshot.jpg)\r\n\r\n## GreenteaOS (Tofita) system requirements\r\n\r\n- 64-bit UEFI\r\n- Very low on resources, just 2 GB RAM minimum required\r\n- Motherboard with SATA (AHCI) or NVMe, PCIe and USB 2.0+\r\n- Multicore modern 64-bit CPU (most AMD and Intel CPUs from [Q3 2011 and newer](https://github.com/GreenteaOS/Greentea/blob/kawaii/Developer-Guide/CPUID.md#notes-on-cpu-compatibility))\r\n  - Try [Greentea OS Compatibility Assistant on your PC](https://t.me/s/greenteaos_official/7)\r\n\r\n[![Give a star](docs/star.png?raw=true)](https://github.com/GreenteaOS/Tofita/stargazers)\r\n\r\nGive some attention for Greentea OS be noticed and attract more contributors, thank you!\r\n\r\n[![Become a sponsor](docs/sponsors.png?raw=true)](https://github.com/sponsors/PeyTy)\r\n[![Become a patron](docs/patreon.png?raw=true)](https://www.patreon.com/PeyTy)\r\n\r\nBecome a sponsor to help us hire developers and test more hardware\r\n\r\n## Made with Hexa\r\n\r\n\u003cimg align=\"left\" width=\"96px\" height=\"96px\" src=\"https://hexalang.github.io/favicon/apple-icon.png\" /\u003e\r\n\r\nThis project is made with [Hexa programming language](https://github.com/hexalang)\r\n\r\n\u003e [!NOTE]\r\n\u003e\r\n\u003e Learn more at [hexalang.github.io](https://hexalang.github.io)\r\n\r\n## Tools\r\n\r\n- [`listen.js`](tools/listen.js) - listen to VirtualBox COM port in TCP socket mode\r\n- [`pipe.js`](tools/pipe.js) - listen to VirtualBox\\Hyper-V COM port in pipe mode\r\n- [`vbox.js`](tools/vbox.js) - starts VirtualBox Tofita VM and exits\r\n- [`webui.bat`](tools/webui/webui.bat) - web-based UI for COM port\r\n- [`gos-devlist.bat`](tools/gos-devlist.bat) - show useful device names and PCI IDs to gather user hardware stats\r\n- [`OVMF.fd`](https://t.me/s/greenteaos_official/6) - speed of light UEFI bootloader for QEMU\r\n- [`Greentea OS Compat`](https://t.me/s/greenteaos_official/7) - Greentea OS compatibility assistant\r\n- [`build.bat`](build.bat) - check comments for examples of how to re-inject .iso file in VirtualBox and avoid full VM reboot for faster testing iterations\r\n\r\n## Edit Online\r\n\r\nYou may edit and commit directly from the browser:\r\n\r\nhttps://github.dev/GreenteaOS/Tofita/blob/kawaii/README.md\r\n\r\nRemember to open `Extensions` and install **Hexa**!\r\nReload the tab if you don't see file icons.\r\n\r\nMaking a commit in the `Source Control` panel will create a *Fork* automatically for you.\r\n\r\n## Build\r\n\r\nGet automatic build or make yours with Teapot (if you want to edit the code)\r\n\r\nTeapot is a bundle containing all of the build tools you need like LLVM and NASM.\r\n\r\n### Automatic builds\r\n\r\nIf you don't want to build Tofita, you may [download the latest automatic GitHub build](https://ci.appveyor.com/project/PeyTy/tofita/build/artifacts).\r\n\r\n\r\n### Build using Teapot\r\n\r\nDownload or clone [Teapot repo](https://github.com/GreenteaOS/Teapot#download-latest-zip) and others. Place alongside of Tofita repo:\r\n\r\n```\r\n.\\Teapot\r\n.\\Tofita\r\n.\\Greentea\r\n.\\Tongue\r\n.\\NjRAA\r\n.\\Caramel\r\n```\r\n\r\nYou should have extracted `Teapot-kawaii` and have folders like this `.\\Teapot\\LLVM-*.*.*`.\r\n\r\nTeapot will take less space if cloned with limited depth of commit history:\r\n\r\n```sh\r\ngit clone --recursive --depth 1 https://github.com/GreenteaOS/Tofita.git\r\ngit clone --recursive --depth 1 https://github.com/GreenteaOS/Teapot.git\r\ngit clone --recursive --depth 1 https://github.com/GreenteaOS/Greentea.git\r\ngit clone --recursive --depth 1 https://github.com/GreenteaOS/Tongue.git\r\ngit clone --recursive --depth 1 https://github.com/GreenteaOS/NjRAA.git\r\n```\r\n\r\n#### Configure\r\n\r\nAdd your apps, folders and other files into `assets\\desktop` of the `Greentea` repo to see them in the built image.\r\n\r\nCreate `R:` ram disk about 1 GB (you may download a free [AMD Radeon™ RAMDisk](http://radeonramdisk.com/files/Radeon_RAMDisk_4_4_0_RC36.msi)) for faster builds and configure `config.json \u003e tempFolder`.\r\nOtherwise `C:` is used to store builds by default.\r\n\r\n#### Install Hexa\r\n\r\nYou also need to install [Hexa compiler](https://hexalang.github.io/book/installation).\r\nSimply use the latest graphical installer from the automated builds.\r\n\r\nYou may build Hexa manually too. [Follow instructions.](https://github.com/hexalang/hexa#build) Remember to add Hexa into your PATH.\r\n\r\n#### Compile and generate disk image\r\n\r\n```sh\r\ncmd /c build\r\n```\r\n\r\nOr just open `build.bat` file with Explorer.\r\n\r\nYou'll find `Tea` subfolder with binaries and disk image.\r\n\r\n## License\r\n\r\nThis program is free software: you can redistribute it and/or modify\r\nit under the terms of the GNU Lesser General Public License as published by\r\nthe Free Software Foundation, version 3 of the License.\r\n\r\nThis program is distributed in the hope that it will be useful,\r\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\r\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\nGNU Lesser General Public License for more details.\r\n\r\nYou should have received a copy of the GNU Lesser General Public License\r\nalong with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\r\n\r\n[More information about legal issues](https://github.com/GreenteaOS/Greentea/blob/kawaii/README.md#license)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGreenteaOS%2FTofita","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGreenteaOS%2FTofita","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGreenteaOS%2FTofita/lists"}