Skip to content
GitHub·

💻Shirei Shirei: Cross-Platform GUI Framework for Go

Write once, run anywhere with Go's new UI framework

TL;DR

Shirei Shirei is a cross-platform GUI framework for Go that allows developers to write UIs in Go without HTML and JavaScript. It produces identical-looking programs across MacOS, Windows, and Linux.

Shirei Shirei is a new Cross-Platform GUI framework for Go, allowing developers to build user interfaces using pure Go code instead of HTML and JavaScript. This means you can write once and run your application on MacOS, Windows, and Linux without any changes. If you're tired of maintaining different UI codebases or dealing with platform-specific quirks, Shirei is a game-changer. It's especially useful for those who want to create self-contained GUI programs that don't require additional dependencies. The framework supports international text, including complex shaping and bidirectional layout, making it ideal for global applications.

Shirei Shirei: Cross-Platform GUI Framework for Go — GitHub

Key Points

1

Shirei Shirei is a GUI framework that supports MacOS, Windows, and Linux with the same codebase.

2

The immediate mode API never requires maintaining UI widgets or syncing data with widget state, simplifying development.

3

It features native real executable programs with typical binary sizes around 10MB, making it easy to distribute.

4

Shirei Shirei supports international text and complex shaping for East Asian languages, enhancing global usability.

5

The framework includes several example programs under the 'examples' directory, such as 'haystack', a good starting point.

Why It Matters

If you're building cross-platform GUI applications in Go, Shirei Shirei simplifies your workflow by allowing you to write UIs using pure Go code. This eliminates the need for HTML and JavaScript, reducing maintenance overhead and improving consistency across platforms.

gocross-platformguiimmediate-mode-api

Frequently Asked Questions

Why does this matter?

If you're building cross-platform GUI applications in Go, Shirei Shirei simplifies your workflow by allowing you to write UIs using pure Go code. This eliminates the need for HTML and JavaScript, reducing maintenance overhead and improving consistency across platforms.

What happened?

Shirei Shirei is a cross-platform GUI framework for Go that allows developers to write UIs in Go without HTML and JavaScript. It produces identical-looking programs across MacOS, Windows, and Linux.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 2,073 builders reading daily.