Skip to content

Feature Request: Project directory registry for mobile session spawning #104

@BTForIT

Description

@BTForIT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions