Uncategorized

[Release] shuthost — Self-hosted Standby Manager (Wake-on-LAN, Web GUI, API, Energy-Saving)

Wake Up When You Need To: A Self-Hosted Standby Manager for Your Devices

As someone who’s always looking for ways to save energy and make my life easier, I was excited to come across a project called shuthost. It’s a self-hosted standby manager that lets you put your devices to sleep when they’re not in use, and wake them up again when you need them. In this post, I’ll dive into what shuthost is, how it works, and why it’s a great tool for anyone looking to reduce their energy consumption.

Why Do We Need a Standby Manager?

We’ve all been there – leaving our devices on 24/7, even when we’re not using them. It’s easy to forget to turn them off, and before we know it, we’ve wasted a lot of energy. That’s where shuthost comes in. By putting your devices to sleep when they’re not in use, you can save a significant amount of energy. And with shuthost, you can wake them up again when you need them, making it a convenient and energy-efficient solution.

How Does shuthost Work?

Shuthost is a self-hosted web GUI that lets you send Wake-On-LAN packets and manage standby/shutdown for your devices. It supports Linux and macOS hosts, and you can define different shutdown commands per host. One of the coolest features of shuthost is its “serviceless” agent mode, which makes it flexible across init systems. This means you can use it with a variety of devices, without having to worry about compatibility issues.

Convenience Features

So, what makes shuthost so convenient? For starters, the web UI is PWA-installable, which means it feels like an app on your phone. You can access it from the web, and it’s designed to be reachable from external auth for GUI. Shuthost also provides configs for Authelia, traefik-forwardauth, and Nginx Proxy Manager, making it easy to integrate with your existing setup. And, you can run the coordinator in Docker or on bare metal, giving you the flexibility to choose what works best for you.

Integration and Flexibility

One of the things that really impressed me about shuthost is its integration and flexibility. It exposes an m2m API for scripts, which means you can use it with tools like Home Assistant. The API is well-documented and easy to use, making it a great candidate for integration with your existing tools. Plus, shuthost has flexible host configuration, which means you can adapt it to different environments with ease.

Tech Details

So, what’s under the hood of shuthost? It’s fully open source, which means you can take a look at the code and contribute to the project if you want to. It runs on anything from a Raspberry Pi to a dedicated server, making it a great option for anyone looking for a flexible solution. And, large parts of the code are LLM-generated, which means it’s been carefully crafted to be efficient and effective.

Getting Started with shuthost

If you’re interested in trying out shuthost, you can find it on GitHub. The project is well-documented, and the community is active and helpful. Of course, as with any new project, there may be some tinkering required to get it up and running. But, the benefits of using shuthost make it well worth the effort.

In conclusion, shuthost is a great tool for anyone looking to save energy and make their life easier. It’s convenient, flexible, and easy to use, making it a great addition to any home lab or office setup. So, why not give it a try and see how it can help you reduce your energy consumption and streamline your workflow?

Budź się, kiedy potrzebujesz: Samoobsługowy menedżer trybu uśpienia dla Twoich urządzeń

Jako osoba, która zawsze szuka sposobów na oszczędność energii i ułatwienie życia, byłam podekscytowana, gdy natknęłam się na projekt o nazwie shuthost. Jest to samoobsługowy menedżer trybu uśpienia, który pozwala umieścić Twoje urządzenia w trybie uśpienia, kiedy nie są używane, i obudzić je ponownie, kiedy będziesz potrzebować. W tym poście, zagłębię się w to, czym jest shuthost, jak działa i dlaczego jest to wielki narzędzie dla każdego, kto szuka sposobów na redukcję zużycia energii.

Dlaczego potrzebujemy menedżera trybu uśpienia?

Wszyscy byliśmy w sytuacji, w której pozostawialiśmy swoje urządzenia włączone 24 godziny na dobę, nawet gdy nie używaliśmy ich. Łatwo zapomnieć, aby je wyłączyć, i zanim się zorientujemy, marnujemy dużo energii. To właśnie tutaj shuthost przychodzi z pomocą. Umożliwia umieszczenie Twoich urządzeń w trybie uśpienia, kiedy nie są używane, co pozwala zaoszczędzić znaczną ilość energii. A dzięki shuthost, możesz obudzić je ponownie, kiedy będziesz potrzebować, co czyni go wygodnym i efektywnym rozwiązaniem.

Jak działa shuthost?

Shuthost jest samoobsługiwanym interfejsem web GUI, który pozwala wysyłać pakiety Wake-On-LAN i zarządzać trybem uśpienia/wyłączenia dla Twoich urządzeń. Obsługuje hosty Linux i macOS, a także pozwala zdefiniować różne polecenia wyłączenia dla każdego hosta. Jedną z najfajniejszych cech shuthost jest tryb “bezusługowy” agent, który czyni go elastycznym wśród systemów init. Oznacza to, że możesz go używać z różnymi urządzeniami, bez obaw o problemy z kompatybilnością.

Funkcje ułatwiające

Co sprawia, że shuthost jest tak wygodny? Po pierwsze, interfejs web GUI jest zainstalowany jako PWA, co oznacza, że czuje się jak aplikacja na Twoim telefonie. Możesz do niego uzyskać dostęp z sieci web, a także jest zaprojektowany, aby być dostępnym z zewnętrznej uwierzytelniania dla GUI. Shuthost dostarcza także konfiguracji dla Authelia, traefik-forwardauth i Nginx Proxy Manager, co ułatwia integrację z Twoim istniejącym ustawieniem. A ponadto, możesz uruchomić koordynatora w Docker lub na metalu, co daje Ci elastyczność w wyborze tego, co działa najlepiej dla Ciebie.

Integracja i elastyczność

Jedną z rzeczy, które naprawdę zrobiły na mnie wrażenie w przypadku shuthost, jest jego integracja i elastyczność. Eksponuje interfejs API m2m dla skryptów, co oznacza, że możesz go używać z narzędziami takimi jak Home Assistant. Interfejs API jest dobrze udokumentowany i łatwy w użyciu, co czyni go idealnym kandydatem do integracji z Twoimi istniejącymi narzędziami. A ponadto, shuthost ma elastyczną konfigurację hosta, co pozwala dostosować go do różnych środowisk.

Szczegóły techniczne

Co znajduje się pod maską shuthost? Jest to w pełni otwarte oprogramowanie, co oznacza, że możesz zajrzeć do kodu i przyczynić się do projektu, jeśli chcesz. Działa na wszystkim, od Raspberry Pi do dedykowanego serwera, co czyni go idealnym rozwiązaniem dla każdego, kto szuka elastycznego rozwiązania. A także, duże części kodu są generowane przez LLM, co oznacza, że zostały starannie opracowane, aby być wydajne i skuteczne.

Rozpoczęcie pracy z shuthost

Jeśli jesteś zainteresowany wypróbowaniem shuthost, możesz znaleźć go na GitHub. Projekt jest dobrze udokumentowany, a społeczność jest aktywna i pomocna. Oczywiście, jak w przypadku każdego nowego projektu, może być konieczne nieco zabawy, aby go uruchomić. Ale korzyści z używania shuthost sprawiają, że jest to warte wysiłku.

Podsumowując, shuthost jest wielkim narzędziem dla każdego, kto szuka sposobów na redukcję zużycia energii i ułatwienie życia. Jest wygodny, elastyczny i łatwy w użyciu, co czyni go idealnym dodatkiem do każdego laboratorium domowego lub biurowego. Więc, dlaczego nie spróbować i zobaczyć, jak może on pomóc Ci w redukcji zużycia energii i usprawnieniu Twojej pracy?

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress Appliance - Powered by TurnKey Linux