happy icon indicating copy to clipboard operation
happy copied to clipboard

Feature Request: Project directory registry for mobile session spawning

Open BTForIT opened this issue 11 months ago • 0 comments

Summary

Add the ability to pre-register project directories so the mobile app can browse and start sessions remotely without needing to run happy from the terminal first.

Use Case

I have 20+ projects in ~/GitProjects/. Currently, I have to:

  1. Go to my Mac
  2. cd ~/GitProjects/SomeProject
  3. Run happy
  4. Then it appears on mobile

I want to:

  1. Open Happy app on phone
  2. See list of my registered projects
  3. Tap one → daemon starts session in that directory

Proposed Implementation

Config file (~/.happy/settings.json):

{
  "projectDirectories": [
    "~/GitProjects/*",
    "~/Work/ClientA"
  ]
}

Mobile app:

  • New "Projects" tab showing directories matching the patterns
  • Tap a project → sends command to daemon → daemon spawns session in that directory

CLI:

happy projects add ~/GitProjects/*
happy projects list
happy projects remove ~/GitProjects/OldProject

Benefits

  • Start sessions from anywhere (phone, tablet) without Mac access
  • Quick project switching from mobile
  • Better integration with existing daemon infrastructure

Current Workaround

None - must physically access the machine to start sessions.


macOS 15.2, happy-coder 0.13.0

BTForIT avatar Dec 27 '25 00:12 BTForIT