npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gastromatic-ruhetage

v1.2.0

Published

Ruhetage automatisch in Gastromatic eintragen – Standalone Desktop-App

Readme

gastromatic-ruhetage

Ruhetage automatisch in Gastromatic eintragen – als Standalone Desktop-App für macOS, Windows und Linux.

Keine Installation von Node.js, npm oder Playwright nötig. Einfach herunterladen und starten.


Download

Aktuelle Version von der Releases-Seite:

| Plattform | Datei | |---|---| | macOS (Apple Silicon M1/M2/M3) | gastromatic-ruhetage-macos-arm64 | | macOS (Intel) | gastromatic-ruhetage-macos-x64 | | Windows | gastromatic-ruhetage-win.exe | | Linux | gastromatic-ruhetage-linux |


Quick-Start

macOS

# 1. Gatekeeper-Quarantäne entfernen & ausführbar machen
xattr -cr gastromatic-ruhetage-macos-arm64
chmod +x gastromatic-ruhetage-macos-arm64

# 2. Starten
./gastromatic-ruhetage-macos-arm64

Windows

Doppelklick auf gastromatic-ruhetage-win.exe.
Falls Windows Defender warnt: "Weitere Informationen" → "Trotzdem ausführen".

Linux

chmod +x gastromatic-ruhetage-linux
./gastromatic-ruhetage-linux

Erster Start

Beim ersten Start wird automatisch Chromium (~150 MB) nach ~/.gastromatic-ruhetage/browsers/ heruntergeladen. Das dauert je nach Internetverbindung 1–3 Minuten. Danach startet die App sofort.


Bedienung

╔══════════════════════════════════╗
║  gastromatic-ruhetage  v1.0.0   ║
╚══════════════════════════════════╝

  Gastromatic Ruhetage – Jahr 2026
  ──────────────────────────────────────

  [x] Sa 03.01. – So 04.01.   Januar
  [x] Sa 10.01. – So 11.01.   Januar
▶ [x] Sa 17.01. – So 18.01.   Januar   ← Cursor
  [ ] Sa 24.01. – So 25.01.   Januar
  ...

  Ausgewählt: 8/52

  ↑↓ navigieren  │  Leertaste toggle  │  A alle/keine  │  1-12 Monat  │  Enter bestätigen

Tastenkürzel

| Taste | Aktion | |---|---| | / | Navigation | | Leertaste | Wochenende ein-/ausschalten | | A | Alle auswählen / alle abwählen | | 19 | Alle Wochenenden im Monat 1–9 togglen | | 10 / 11 / 12 | Alle Wochenenden im Oktober/November/Dezember togglen | | Enter | Auswahl bestätigen → Playwright startet | | Esc | Abbrechen |

Was passiert nach Enter?

  1. Chromium-Browser öffnet sich sichtbar
  2. Gastromatic-Login-Seite erscheint
  3. Bitte manuell einloggen (Gastromatic unterstützt kein automatisches Login)
  4. Nach dem Login erkennt die App den eingeloggten Status automatisch
  5. Die App trägt jedes ausgewählte Wochenende als Ruhetag ein
  6. Fortschritt wird live angezeigt: ✓ 3/8: Sa 15.08. – So 16.08.2026

Kommandozeilenflags

gastromatic-ruhetage [options]

Optionen:
  --alle                  Alle Wochenenden des Jahres
  --monat <1-12>          Nur Wochenenden dieses Monats
  --von <MM-YYYY>         Von Monat, z.B. --von 03-2026
  --bis <MM-YYYY>         Bis Monat, z.B. --bis 06-2026
  --jahr <YYYY>           Jahr (Standard: aktuelles Jahr)
  --dry-run               Anzeigen ohne wirklich einzutragen
  --browser <typ>         chromium|chrome|firefox|webkit|msedge (Standard: chromium)
  --system-browser        Installierten Systembrowser nutzen (kein Download)
  -V, --version           Version anzeigen
  -h, --help              Hilfe anzeigen

Beispiele

# Alle Wochenenden 2026
./gastromatic-ruhetage --alle --jahr 2026

# Nur Sommermonate
./gastromatic-ruhetage --von 06-2026 --bis 08-2026

# Vorschau ohne Eintragen
./gastromatic-ruhetage --alle --dry-run

# Mit eigenem Chrome (kein Download)
./gastromatic-ruhetage --system-browser --browser chrome

# Nur Oktober
./gastromatic-ruhetage --monat 10

Troubleshooting

macOS: "App kann nicht geöffnet werden"

xattr -cr ./gastromatic-ruhetage-macos-arm64
chmod +x ./gastromatic-ruhetage-macos-arm64

Alternativ: Systemeinstellungen → Datenschutz & Sicherheit → Trotzdem öffnen

Windows: Windows Defender blockiert die .exe

Das ist normal bei unsignierten Open-Source-Binaries.
Klicke auf "Weitere Informationen""Trotzdem ausführen".

"Chromium-Installation fehlgeschlagen"

# Manuell installieren:
PLAYWRIGHT_BROWSERS_PATH=~/.gastromatic-ruhetage/browsers npx playwright install chromium

App erkennt Login nicht

Falls die Login-Erkennung nicht funktioniert: Stelle sicher dass du komplett eingeloggt bist und die Gastromatic-Hauptseite geladen ist, bevor die App mit den Einträgen beginnt (5 Minuten Timeout).

Fehler bei einzelnem Eintrag

Fehlgeschlagene Einträge werden übersprungen. Ein Screenshot wird automatisch unter ~/.gastromatic-ruhetage/screenshots/ gespeichert.

Linux: Chromium-Abhängigkeiten fehlen

# Ubuntu/Debian:
sudo apt-get install -y libglib2.0-0 libnss3 libnspr4 libdbus-1-3 \
  libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 \
  libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2

Entwicklung

git clone https://github.com/YOUR_USERNAME/gastromatic-ruhetage
cd gastromatic-ruhetage
npm install
npx playwright install chromium

# Entwicklung
npm start

# Dry-run Test
npm test

# Binaries bauen
npm run build:mac-arm   # macOS Apple Silicon
npm run build:mac-x64   # macOS Intel
npm run build:win        # Windows .exe
npm run build:linux      # Linux binary

Voraussetzungen für Build

  • Node.js 18+
  • @yao-pkg/pkg (wird automatisch als devDependency installiert)

Technologie

  • Node.js + Playwright – Browser-Automatisierung
  • @yao-pkg/pkg – Standalone-Binary-Erstellung (Nachfolger von Vercel/pkg mit Node 20 Support)
  • chalk – Farbige Terminal-Ausgabe
  • commander – CLI-Argument-Parsing
  • Interaktive TUI komplett mit nativer readline-API implementiert (keine externen UI-Bibliotheken)

Lizenz

MIT – siehe LICENSE


Disclaimer

Dieses Tool ist kein offizielles Gastromatic-Produkt. Nutzung auf eigene Verantwortung.