Home

Awesome

Tofita

Tofita Logo

All-new engine to-fit-a Greentea OS (hence "Tofita")

Telegram Channel Telegram Chatroom Join the chat at Discord! GitHub Sponsor Automatic Builds Made with Hexa

Greentea OS is aimed to provide complete operating system compatible with existing apps, games and drivers

Screenshot

GreenteaOS (Tofita) system requirements

Give a star

Give some attention for Greentea OS be noticed and attract more contributors, thank you!

Become a sponsor Become a patron

Become a sponsor to help us hire developers and test more hardware

Made with Hexa

<img align="left" width="96px" height="96px" src="https://hexalang.github.io/favicon/apple-icon.png" />

This project is made with Hexa programming language

[!NOTE]

Learn more at hexalang.github.io

Tools

Edit Online

You may edit and commit directly from the browser:

https://github.dev/GreenteaOS/Tofita/blob/kawaii/README.md

Remember to open Extensions and install Hexa! Reload the tab if you don't see file icons.

Making a commit in the Source Control panel will create a Fork automatically for you.

Build

Get automatic build or make yours with Teapot (if you want to edit the code)

Teapot is a bundle containing all of the build tools you need like LLVM and NASM.

Automatic builds

If you don't want to build Tofita, you may download the latest automatic GitHub build.

Build using Teapot

Download or clone Teapot repo and others. Place alongside of Tofita repo:

.\Teapot
.\Tofita
.\Greentea
.\Tongue
.\NjRAA
.\Caramel

You should have extracted Teapot-kawaii and have folders like this .\Teapot\LLVM-*.*.*.

Teapot will take less space if cloned with limited depth of commit history:

git clone --recursive --depth 1 https://github.com/GreenteaOS/Tofita.git
git clone --recursive --depth 1 https://github.com/GreenteaOS/Teapot.git
git clone --recursive --depth 1 https://github.com/GreenteaOS/Greentea.git
git clone --recursive --depth 1 https://github.com/GreenteaOS/Tongue.git
git clone --recursive --depth 1 https://github.com/GreenteaOS/NjRAA.git

Configure

Add your apps, folders and other files into assets\desktop of the Greentea repo to see them in the built image.

Create R: ram disk about 1 GB (you may download a free AMD Radeon™ RAMDisk) for faster builds and configure config.json > tempFolder. Otherwise C: is used to store builds by default.

Install Hexa

You also need to install Hexa compiler. Simply use the latest graphical installer from the automated builds.

You may build Hexa manually too. Follow instructions. Remember to add Hexa into your PATH.

Compile and generate disk image

cmd /c build

Or just open build.bat file with Explorer.

You'll find Tea subfolder with binaries and disk image.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

More information about legal issues