back to home

zlgopen / awtk

AWTK = Toolkit AnyWhere(a cross-platform embedded GUI)

View on GitHub
3,293 stars
792 forks
420 issues
CC++ReScript

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing zlgopen/awtk in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/zlgopen/awtk)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

AWTK = Toolkit AnyWhere > 中文用户请看这里 I. Introduction AWTK , the abbreviation of Toolkit AnyWhere, is an open source GUI engine developed by ZLG. It is a cross-platform GUI engine for embedded systems, WEB, mini programs, mobile phones and PC. It is a powerful, efficient, reliable and easy-to-use GUI engine for users to design beautiful GUI applications. > Welcome developers to join us in our development:Joint Ecology Building Plan AWTK has two implications as follows: • Toolkit AnyWhere.• As the built-in GUI of AWorksOS, which is the ZLG IoT operating system. AWTK source code repositories:• Main source code repository: https://github.com/zlgopen/awtk• Mirrored source code repository:https://gitee.com/zlgopen/awtk• Stable version pack: https://pan.baidu.com/s/1_oRgj67M-I4kivk-YzwFWA Access code:1cmi AWTK Designer - the UI design tool:• It is no longer necessary to write XML by yourself.• Design the UI by dragging and dropping. What you see is what you get.• Support quick preview and pack resources with one-click.• Registration and download: https://awtk.zlg.cn Screenshots: II. Ultimate Objectives• To support development of embedded applications.✔• To support development of Linux applications.✔• To support development of MacOS applications.✔• To support development of Windows applications.✔• To support development of Web applications.✔• To support development of Android applications.✔• To support development of iOS applications.✔• To support development of HarmonyOs applications.✔• To support development of 2D mini games. III. Main Features• Cross-platform AWTK is a cross-platform GUI engine , which has two meanings as follows:• AWTK's code is cross-platform. At present, it is compatible with platforms such as ZLG AWorksOS, Windows, Linux, MacOS, embedded Linux, Android, iOS, HarmonyOS, Web and embedded raw systems. It can be easily ported to variety of different RTOS. In the future, AWTK can be also run as mini programs. • In addition, AWTK has a cross-platform library of basic tools, which includes lists, arrays, strings (UTF8 and widechar), event emitters, values, objects, file system, mutex, threads, formulas and string analysis, in order that the applications you develop with AWTK can really run across platforms.• Efficient AWTK ensure efficiency through the following operations: • Update changed parts using dirty rectangles algorithms.• Support 3 FrameBuffer to make the UI run at the highest frame rate (optional).• UI description files and theme files are stored in efficient binary formats, in order that they can be analyzed more fast.• Support different GPU acceleration interfaces, including OpenGL, DirectX, Vulkan and Metal and so on.• Support 2D acceleration interfaces of embedded platforms, such as NXP's PXP interfaces and STM32's DMA2D interfaces, user can easy to adapt to other acceleration interfaces.• Stable AWTK makes codes as stable and reliable as possible in following ways: • Perform static checks using cppcheck and facebook infer.• Dynamically check memory with valgrind.• With approximately 20,000 lines of codes for unit testing.• With support from the powerful GUI team of ZLG.• Has been validated in multiple practical projects.• Has been validated by multiple platforms and compilers.• With excellent architecture design.• Code Review.• Manual test.• Powerful • Abundant widgets (being add more widgets).• Support multiple image formats (png/jpg/gif/svg).• Support multiple font formats (bitmap and vector fonts).• Support window animation function.• Support widget animation function.• Support HD screen.• Support UI layout description file.• Support UI theme file.• Support switch themes in runtime.• Support custom rule for widget layout.• Support custom rule for highlighting dialogs.• With many auxiliary tools.• Support different CPU from low-end (such as Cortex M3) to high-end.• Support no-filesystem platform and custom filesystem.• Support raw systems platform and RTOS.• Easy-to-use• With many demonstration codes.• With complete API document and user guide document.• With technical support from the powerful team of ZLG.• With the UI designer, which also developed with AWTK (https://awtk.zlg.cn). • Use declarative UI description language. user can enable widget animation, window animation, and image display (png/jpg/svg/gif) with one line code.• Customizable • Support extend custom widgets.• Support extend custom animations.• Support implement custom main loop.• Support extend custom soft keyboard.• Support extend custom image loader.• Support extend custom font loader.• Support extend custom input method engine.• Support extend custom layout algorithms for widgets.• Support extend custom rule for highlighting dialogs.• Support implement custom LCD interface.• Support extend custom vector engines (e.g.skia/cairo).• All extended and built-in widgets are treated the same.• Multiple Development Languages AWTK is been developed in the C Program Language. Scripts in different languages can be generated by the IDL. The binding code generated not only simply mapping the C API to the target script language, but also with the native code styles of the target script language. At present, following languages are supported (More languages will be added): • C• Go• C++• lua• java• python• Javascript on jerryscript• Javascript on nodejs• Javascript on quickjs• Internationalization • Support Unicode. • Support input methods.• Support translate strings. • Support translate images.• Support text bidirectional algorithms.• The MVVM framework for embedded software thoroughly separate user interfaces from business logic • High performances. • Low memory usage.• More thorough isolation.• Portable to other GUI.• Less codes (~5,000 lines).• No need for learning API of AWTK.• Support multiple programming languages (support C/JS at present). > For details, please see https://github.com/zlgopen/awtk-mvvm• Open source codes are freely available for commercial purposes (LGPL) IV. Simulatio…