2023-01-11 14:01:06 -07:00
|
|
|
# ![tomo](assets/banner.png)
|
|
|
|
|
2023-01-17 15:36:11 -07:00
|
|
|
Please note: Tomo is in early development. Some features may not work properly,
|
|
|
|
and its API may change without notice.
|
|
|
|
|
2023-01-17 15:40:01 -07:00
|
|
|
Tomo is a retro-looking GUI toolkit written in pure Go. It is designed with
|
|
|
|
these goals in mind:
|
2023-01-17 15:36:11 -07:00
|
|
|
|
2023-01-17 15:40:01 -07:00
|
|
|
- Modularity: the core of Tomo is mostly composed of interfaces—and the
|
2023-01-17 15:36:11 -07:00
|
|
|
overwhelming majority of its code resides in pluggable modules. If you don't
|
|
|
|
need it, then dont import it—and you can be assured it won't be there.
|
2023-01-17 15:40:01 -07:00
|
|
|
- Extendability: during the design of Tomo's API, use cases such as creating
|
|
|
|
custom backends, elements, and layouts were given just as much importance as
|
2023-01-17 15:36:11 -07:00
|
|
|
normal application building. Your custom element is a first-class citizen.
|
2023-01-17 15:40:01 -07:00
|
|
|
- Independence: Tomo is minimally dependent on code outside of the Go
|
2023-01-17 15:36:11 -07:00
|
|
|
standard library. Because of this, the file size of a compiled Tomo application
|
|
|
|
is typically very small.
|
2023-01-17 15:40:01 -07:00
|
|
|
- Frugality: Tomo foregoes things like animations and anti-aliasing in order to
|
2023-01-17 15:36:11 -07:00
|
|
|
use a minimal amount of system resources without even having to touch the GPU.
|
2023-01-17 15:40:01 -07:00
|
|
|
- Consistency: Tomo's design is not only consistent within itself, but also
|
|
|
|
with the Go standard library. If you've worked with Go in the past, Tomo will
|
|
|
|
feel pleasantly familliar.
|
2023-01-11 14:01:06 -07:00
|
|
|
|
|
|
|
You can find out more about how to use it by visiting the examples directory,
|
2023-01-17 15:14:21 -07:00
|
|
|
or pull up its documentation by running `godoc` within the repository. You can
|
|
|
|
also view it on the web on
|
|
|
|
[pkg.go.dev](https://pkg.go.dev/git.tebibyte.media/sashakoshka/tomo).
|