Skip to content

A blazing-fast, customizable dashboard powered by Rust πŸ¦€. Featuring a templating engine, parallelized rendering, and a shared cache for ultra-smooth performance ⚑. Keep all your essentials in one placeβ€”your Singularity. 😌

License

Notifications You must be signed in to change notification settings

AMS003010/Singularity

Repository files navigation

Singularity

Singularity

Have all your stuff in one place. That's right 😌 β€” all in your Singularity.

Dashboard Preview

Singularity is a customizable dashboard powered by a templating engine with data injection and built-in parallelism for faster rendering πŸ˜…. It features a shared cache for even greater speed ⚑ β€” all crafted in Rust πŸ¦€.


πŸ“Œ Table of Contents


πŸ”₯ Features

πŸ“Œ Widgets

  • Weather 🌀️
  • Clock ⏰
  • Calendar πŸ—“οΈ
  • Header Widget
  • More widgets coming soon!

⚑ Shared Cache

Singularity features a shared cache enabled by default, with a Time-To-Live (TTL) of 5 minutes. This improves performance by reducing redundant fetches.

πŸ› οΈ Configuring TTL in singularity.yaml

theme: neo-noir
theme_background_color: "black"
widget_heading: "white"
footer: "yellow"
cache: 5m

βœ… Supported Formats:

  • 10m β†’ 10 minutes
  • 2h β†’ 2 hours
  • 0.5h β†’ 30 minutes
  • 0.5m β†’ 30 seconds

⚠️ NOTE: Minimum TTL is 10 seconds. If set below this, the system defaults to 5 minutes.

πŸ“Š Header Widget

A special monitoring widget that displays system stats. Enable it for each page with:

header-widget: true

πŸ“‘ Displays:

  • CPU Usage πŸ–₯
  • Number of Cores πŸ§‡
  • Wi-Fi Status πŸ›œ
  • OS Info πŸ’½
  • Username πŸ–₯️
  • Available Mounts & Disk Space

System Stats


πŸ“₯ Installation

πŸͺŸ Windows

Prerequisites

  • rustc
  • Cargo
  • rustup

Install & Run

git clone https://github.com/AMS003010/Singularity.git
cd Singularity
cargo r -r

🐧 Linux (Tested on Ubuntu 24.04 LTS)

Install & Run

git clone https://github.com/AMS003010/Singularity.git
cd Singularity/scripts/
chmod +x install-linux.sh
mv install-linux.sh ../
cd ..
./install-linux.sh

Then, run:

singularity

πŸ“¦ Run as a Container

Prerequisites

  • Docker

Install & Run

git clone https://github.com/AMS003010/Singularity.git
cd Singularity
docker compose up

πŸ“Š Activity

Repobeats


🐎 Profiling

Optimize performance with samply:

cargo install samply --locked
cargo build && samply record target/release/singularity

⚠️ Caution

This project is under active development. Expect occasional breakages πŸ˜‘.

🌟 Inspired by Glance


πŸ‘¨β€πŸ’» Maintainers This project is maintained by @AMS003010.

🀝 Contributing We welcome contributions to Twilight! To contribute:

Fork the repository. Create a new branch (feature-branch). Commit your changes. Push to your branch and open a pull request. πŸ“ License This project is licensed under the MIT License.

πŸ“© Contact For any queries or issues, feel free to reach out via GitHub Issues.

Happy Coding! πŸš€

About

A blazing-fast, customizable dashboard powered by Rust πŸ¦€. Featuring a templating engine, parallelized rendering, and a shared cache for ultra-smooth performance ⚑. Keep all your essentials in one placeβ€”your Singularity. 😌

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •