Skip to content

negrel/neww

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neww - Negrel's Experimental Widgets for Wayland

neww is a lightweight library for creating standalone widgets in Lua using GTK. It enables developers to build interactive and declarative user interfaces, similar to the React library in JavaScript.

It is inspired by eww but aims to provide a more readable and turing complete alternative.

Features

  • Declarative Syntax: Write UI components in a declarative way, making it easier to understand and maintain your code.
  • Component-based Architecture: Organize your UI into reusable and composable components.
  • React-like State Management: Manage component state efficiently using hooks.
  • Luax JSX Syntax: Write your UI components using a JSX-like syntax called Luax, providing a more concise and expressive way to define UI elements.
  • Standalone Widgets

Getting started

Run one of the example under examples/:

make example/bar

example bar

Running the tests

make tests

Contributing

If you want to contribute to neww to add a feature or improve the code contact me at negrel.dev@protonmail.com, open an issue or make a pull request.

🌠 Show your support

Please give a ⭐ if this project helped you!

buy me a coffee

📜 License

MIT © Alexandre Negrel

About

Negrel's Experimental Widgets for Wayland

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published