--- layout: home pageClass: home-page hero: name: AGS text: A framework for crafting Wayland Desktop Shells image: https://aylur.github.io/astal/icon.svg actions: - theme: brand text: Get Started link: /guide/install - theme: alt text: Resources link: /guide/resources features: - title: Initialize projects details: With ags init you can initialize a project, which generates a basic template - title: Generate TypeScript types details: With ags types you can generate types from GObject based libraries - title: Bundle projects details: With ags bundle you can bundle your project into a single executable script - title: Run projects details: With ags run you can run projects without bundling them first --- ## Features

Use a familiar language

AGS uses the world's most used langauge: JavaScript/TypeScript. The rendering library which let's you use an XML like syntax in JavaScript is inspired by web frameworks such as React and Solid.
```tsx function Bar() { const [counter, setCounter] = createState(0) const date = createPoll("", 1000, `date "+%H:%M - %A %e."`) return ( ) } ```

Batteries included

Most common operations and queries you want to do are available from Astal libraries. With most of the backend code provided, all you have to worry about is building the UI.
```tsx function BatteryLabel() { const percentage = createBinding(Battery.get_default(), "percentage") return

Styled with css

GTK supports styling with CSS. AGS also provides support for SASS. Although it's only a subset of what you can do on the web, most things you'd want are supported, such as CSS variables, keyframes, transforms, and more.
```css button { animation: wiggle 2s linear infinite; } @keyframes wiggle { 0% { transform: rotateZ(0); } 7% { transform: rotateZ(0); } 15% { transform: rotateZ(-15deg); } 20% { transform: rotateZ(10deg); } 25% { transform: rotateZ(-10deg); } 30% { transform: rotateZ(6deg); } 35% { transform: rotateZ(-4deg); } 40% { transform: rotateZ(0); } 100% { transform: rotateZ(0); } } ```
## Showcases
![delta-shell](https://i.imgur.com/rnEX49B.png)
[Delta Shell](https://github.com/Sinomor/delta-shell) by Sinomor
![epik-shell](https://raw.githubusercontent.com/Aylur/astal/f5c1d29a37d6404999aee9210cdbf09ed6a278be/docs/public/showcase/ezerinz.webp)
[Epik Shell](https://github.com/ezerinz/epik-shell) by ezerinz
![colorshell](https://raw.githubusercontent.com/retrozinndev/colorshell/238fde6e287c79dbcbe5df9f478aa4b71c602e37/repo/shots/center-window-control-center.png)
[colorshell](https://github.com/retrozinndev/colorshell) by retrozinndev
![OkPanel](https://raw.githubusercontent.com/JohnOberhauser/OkPanelScreenshots/refs/heads/main/menu.png)
[OkPanel](https://github.com/JohnOberhauser/OkPanel) by John Oberhauser
![marble-shell](https://marble-shell.pages.dev/full.png)
[Marble Shell](https://github.com/Aylur/marble-shell) by Aylur