kunchenguid

kunchenguid / gnhf

Public

Before I go to bed, I tell my agents: good night, have fun

16
0
100% credibility
Found Apr 02, 2026 at 33 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

gnhf orchestrates AI coding agents to autonomously make incremental, committed changes toward a user-defined coding objective in a Git repository while you sleep.

How It Works

1
🌟 Discover gnhf

You hear about a fun tool that tells AI helpers to improve your code while you sleep.

2
💻 Set it up

You add the tool to your computer with one simple step so it's ready to use.

3
📁 Open your project

You go into a folder holding your code project where changes are safely tracked.

4
🎯 Share your goal

You type a clear goal like 'make the code simpler without changing how it works' and hit start – magic begins!

5
😴 Sleep easy

A beautiful screen shows twinkling stars and moon phases as your AI helpers work tirelessly overnight.

🚀 Wake to wins

You open a new saved version full of tiny, tested improvements and notes on what happened.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 33 to 16 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is gnhf?

gnhf is a TypeScript CLI orchestrator that runs AI coding agents overnight in your Git repo, turning high-level objectives like "reduce complexity without changing functionality" into incremental, committed changes. Before bed—think before bed meditation or stretches—you fire `gnhf "your prompt"`, and it spins up Claude Code, Codex, RovoDev, or OpenCode in a loop on a new `gnhf/` branch, committing successes to notes.md-tracked progress and rolling back failures with retries. Wake up to a clean git history of small wins, glhf-style.

Why is it gaining traction?

Unlike one-shot AI tools, gnhf handles long-running autonomy with git before commit safeguards, exponential backoff, and resume from any `gnhf/` branch—perfect for before github what was used manual drudgery. The TUI shows real-time stats, moon phases for iterations (full for success, new for fails), and token caps, making it feel alive without constant watching. Agent swaps via `--agent` and stdin prompts hook devs tired of before_script github actions hacks.

Who should use this?

Solo devs or small teams tackling refactors like before after slider github prototypes, codebase cleanups, or glhf abkürzung experiments overnight. Ideal for backend engineers optimizing latency, frontend folks trimming bundle size, or anyone with clean Git trees wanting AI to grind while they sleep—before bedtime medical abbreviation rituals included.

Verdict

Promising for AI-driven iteration (solid docs, full tests), but early at 16 stars and 1.0% credibility—install agents first, cap runs short. Try for low-stakes before bed yoga sessions; cherry-pick commits if it shines.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.