frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LazyGravity – I made my phone control Antigravity so I never leave bed

4•masaTokyo•3h ago

  I get my best coding ideas when I'm nowhere near my desk — usually right
  as I'm falling asleep. I got tired of losing that momentum, so I built
  LazyGravity.

  It's a local Discord bot that hooks up Antigravity to your phone. I can
  ship fixes, kick off long implementation tasks, or start whole features
  from bed, the train, wherever. Send a message in Discord, Antigravity
  executes it on your home PC, results come back as rich embeds you can
  reply to for follow-up instructions.

  How it works: it drives the Antigravity UI directly via Chrome DevTools
  Protocol over WebSocket (Runtime.evaluate on the Electron shell's DOM).
  No private API hacking — no risk of account bans like with tools that
  reverse-engineer proprietary APIs.

  A few things I care about:

  - Local-first: your code never leaves your machine. No exposed ports,
    no cloud relays, no intermediate server.
  - Secure: whitelist-based access — only your Discord ID can trigger
    commands. (I recommend a dedicated server to keep things private.)
  - Context threading: reply to any result embed to continue the
    conversation with full context preserved.

  What you can actually do from your phone:

  - Route local projects to Discord categories, sessions to channels
    — automatic workspace management
  - Toggle LLM models or modes (Plan/Code/Architect) with /model and /mode
  - /screenshot to see exactly what's happening on your desktop in real-time
  - One-click prompt templates for common tasks
  - Auto-detect and approve/deny file change dialogs from Discord

  Still early alpha (v0.1.0), but it's been a game-changer for my own
  workflow. Looking for folks to try it out, roast the architecture,
  , add new features and help squash bugs.

    npm install -g lazy-gravity
    lazy-gravity setup
  Demo video in Readme:
  https://github.com/tokyoweb3/LazyGravity

Comments

TomKwon•3h ago
Well great idea. CDP over WebSocket to drive the Electron shell is a clean approach, no reverse engineering needed and you stay within supported boundaries.
lunaprompts_hn•2h ago
One thing that doesn't get discussed enough: the gap between people who can use AI tools effectively and those who can't is widening fast.

The engineers who thrive are the ones who understand how the underlying models actually work. They know when to trust the output, when to add constraints, and how to structure prompts for reliable results across different contexts.

The ones struggling tend to treat LLMs as magic boxes. They get inconsistent results and don't know why.

This is creating a real challenge for hiring managers. Standard coding interviews do not surface which category a candidate falls into at all.

CSSer•1h ago
The best way I can describe it is not that different from explaining how to effectively use a search engine in the past.

LazyGravity – I made my phone control Antigravity so I never leave bed

4•masaTokyo•3h ago•3 comments

Ask HN: Programmable Watches with WiFi?

34•dakiol•4d ago•24 comments

Ask HN: Who Is Using XMPP?

14•nunobrito•15h ago•10 comments

Ask HN: What's it like working in big tech recently with all the AI tools?

11•ex-aws-dude•6h ago•4 comments

1Password pricing increasing up to 33% in March

137•otterley•1d ago•187 comments

Ask HN: Could you create a competitor to your company at 10% of the cost?

7•TheAlchemist•7h ago•9 comments

Fix cron routes: POST → GET (Vercel cron sends GET)

2•nishiohiroshi•8h ago•1 comments

Ask HN: What will happen with Anthropics ultimatum?

5•maniacwhat•8h ago•3 comments

New Claude Code Feature "Remote Control"

8•rob•1d ago•0 comments

Ask HN: Chromebook leads for K-8 school in need?

45•techteach00•3d ago•44 comments

Ask HN: Have top AI research institutions just given up on the idea of safety?

76•DietaryNonsense•16h ago•84 comments

Ask HN: Starting a New Role with Ada

6•NoNameHaveI•16h ago•3 comments

Ask HN: How do you know if AI agents will choose your tool?

33•dmpyatyi•2d ago•23 comments

Would you choose the Microsoft stack today if starting greenfield?

20•JB_5000•2d ago•22 comments

Ask HN: How are you controlling AI agents that take real actions?

7•thesvp•1d ago•19 comments

Comparing manual vs. AI requirements gathering: 2 sentences vs. 127-point spec

5•thesssaism•1d ago•5 comments

ChatGPT finds an error in Terence Tao's math research

41•codexon•2d ago•8 comments

Ask HN: Who has seen productivity increases from AI

9•Kapura•1d ago•12 comments

Persistent Prompts and Built in Search

2•lazybusy•1d ago•0 comments

Ask HN: Share your productive usage of OpenClaw

94•aavci•1d ago•73 comments

Ask HN: Any DIY open-source Alexa/Google alternatives?

8•personality0•1d ago•4 comments

Ask HN: What Linux Would Be a Good Transition from Windows 11

13•Cyberis•2d ago•20 comments

Ask HN: Is it worth avoiding AI while making a game?

6•2muchclout•1d ago•17 comments

Using "Hi Claudette " on Claude.ai

4•mlongval•1d ago•3 comments

Looking 4 open-source knowledge base and project management tool 4 personal use

4•TheAlgorist•1d ago•5 comments

Ask HN: Is it better to have no Agent.md than a bad one?

9•parvardegr•2d ago•10 comments

Ask HN: Are AI "Chatbot Wrappers" ruining EdTech? I'm testing a proactive UX

2•Swadesh9422•1d ago•3 comments

Ask HN: Missing page from Practical Computing magazine (1980)

3•sim04ful•1d ago•0 comments

Ask HN: Why doesn't HN have a rec algorithm?

9•sujayk_33•4d ago•22 comments

Ask HN: What Comes After Markdown?

9•YuukiJyoudai•3d ago•13 comments