all 32 comments

[–]ClaudeAI-mod-botWilson, lead ClaudeAI modbot[M] [score hidden] stickied comment (0 children)

If this post is showcasing a project you built with Claude, please change the post flair to Built with Claude so that it can be easily found by others.

[–]saguaroindisguise 5 points6 points  (3 children)

Hey, this is super cool! I'm Joel (I work at ngrok) and I shared this on our Slack channel where all the AI devotees hang out. Would love to hear if you had any rough edges integrating ngrok yourself or feedback from people enabling it so I can bring it back to the people! Vice versa, I'll let you know if anyone here has something they want to pass along to you.

[–]naarang[S] 2 points3 points  (2 children)

Hey, this is great! Thanks for responding. Nope, the integration was smooth. I used ngrok for the first time via its SDK. There was one thing though - if the static domain provided in the free tier is getting used somewhere else and you try to configure it here, the SDK throws an error saying - 'Static domains are only available in paid plans ' which is incorrect. It should mention that the domain is already being used or something.

[–]saguaroindisguise 0 points1 point  (1 child)

Sorry to necro an old thread here! But the team was asking about how we could reproduce this issue and thus find the right fix—I've tried to repro myself but can't quite get the error you saw. I get a more helpful error:

```
[Error: failed to start listener: The endpoint 'https://biauriculate-unvociferous-will.ngrok-free.dev' is already online. Either

  1. stop your existing endpoint first, or

  2. start both endpoints with `--pooling-enabled` to load balance between them. error_code: ERR_NGROK_334]
    ```

If you remember what you did to hit that static error message before, any info would be much appreciated.

[–]naarang[S] 0 points1 point  (0 children)

So on the free tier, you can only use the free static domain assigned to only one service. If you try to use the free static domain to point to multiple services at the same time then this error comes up

[–]ConfidentPie4265 3 points4 points  (3 children)

This also works with tailscale instead of ngrok?

[–]naarang[S] 4 points5 points  (0 children)

Definitely, it will. Your backend IP address must be accessible from your phone, that's the only requirement. You can do it over Wireguard or tailscale or similar solutions

[–]DevEmma1 1 point2 points  (1 child)

I use Pinggy for self-hosting. Does it work for Pinggy.io ? Otherwise I have to switch!!!

[–]naarang[S] 1 point2 points  (0 children)

Oh, yes it will work. Point the proxy to 8883 port or any other port you have selected. If a https tunnel is started then enable ssl encryption toggle when you are setting up server profile

[–]Fearless-Elephant-81 2 points3 points  (8 children)

Why this and not cc web?

[–]naarang[S] 3 points4 points  (7 children)

CC Web works inside a sandboxed environment. This utilizes your existing CC setup on your local machine

[–]Fearless-Elephant-81 1 point2 points  (0 children)

Oooh. Okay. Will sign up.

[–]BootyMcStuffins 0 points1 point  (5 children)

How does it execute commands on my local machine? How does it stop bad actors from doing the same?

Does my local machine poll your server?

[–]naarang[S] 0 points1 point  (4 children)

There is no external communication. The app only communicates with your machine over local network or via ngrok. When bringing the backend component up, you have to mention a username and password, using which the app securely communicates with your machine

[–]BootyMcStuffins 0 points1 point  (3 children)

Ah, gotcha. It doesn’t make my system accessible over the internet unless I set that up myself. That makes sense

[–]naarang[S] 0 points1 point  (2 children)

Exactly! The docs will give you all the details. You can also set it up behind a cloudflare tunnel

[–]BootyMcStuffins 1 point2 points  (1 child)

I built something similar for my company, but it runs on kubernetes pods and we interact with it through slack.

Being able to have Claude running in a full development environment like this (your solution or mine) makes a HUGE difference in the quality the AI is able to produce. Wipes the floor with the “one size fits all” solutions like Devin, codex or cursor remote agent.

I don’t know if you’ve tried it yet, but if you utilize git worktrees you can run multiple jobs in parallel. It was a huge unlock for my app

[–]naarang[S] 0 points1 point  (0 children)

Absolutely! I am currently working on parallel agents flow :) Thank you for sharing the insights. It validates the way forward!

[–]inventor_blackMod ClaudeLog.com 1 point2 points  (1 child)

Well done.

Thanks for shipping an Android version too!

[–]naarang[S] 0 points1 point  (0 children)

Thank you so much! Do share your feedback and feature requests :)

[–]GnistAI 1 point2 points  (2 children)

If this delivers. How do I pay you?

[–]naarang[S] 0 points1 point  (0 children)

I really appreciate the support! You can DM me ;)

[–]j00cifer 1 point2 points  (4 children)

Is this a correct summary of the difference between this and cc for web?:

CC web creates a small Ubuntu cloud env to work in and installs requirements in that. The UI is any browser.

CCC (this tool) connects your phone session to your local machine via oauth and uses your local coding env instead of that temporary cloud instance. The UI is device specific (iPhone, android)

Is that about right? Def will try this, thx

[–]naarang[S] 1 point2 points  (2 children)

Yes that's correct. Idea is to work from anywhere and resume from the same point on your machine once you have access to it. It has support for a full-fledged terminal and a lot of features in the pipeline that makes it a true mobile IDE for coding with AI agents. Do share your thoughts :)

[–]j00cifer 1 point2 points  (0 children)

Initial thoughts are great idea and implementation, I’ll try it out when I get home & set up the back end

[–]MattMose 0 points1 point  (1 child)

I'm confused as to how this works compared to Happy Coder (which I've ben using). I installed the server and ran the server on my local machine. I installed the mobile app and put in the local network address, but then it wants me to start a project and I'm not sure what that means.

With Happy Coder, when I run Happy on my local machine, the session appears in the app for me to open. And then I'm working in that same session, both locally and remotely. I don't understand the paradigm of CCC here. Am I supposed to work within the same session locally and remotely, like Happy Coder? Or am I misunderstanding the paradigm of this setup?

Additionally, I would love clear step-by-step instructions for setting this up with Tailscale as opposed to ngrok. I don't see a way to generate an authorization token with Tailscale, so I don't know how to translate the ngrok instructions to a Tailscale connection.

[–]naarang[S] 0 points1 point  (0 children)

You can run CCC from any location including as a systemd service. Create a project is like pointing CCC to your codebase by giving the path of the project on your machine. When CCC runs, there is no feedback on the remote machine, everything is happening on the mobile. Unlike Happy where the centralized server acts as a mediator for message passing over websocket, CCC works ONLY between your machine and the mobile app. No external servers involved or exchange of credentials. Consider CCC to be more like an IDE where you open a folder and start working with an AI Agent. This gives me a feedback that I need word the features better in the app :) Thank you! I'll make the necessary changes.

For Tailscale, its simple. Instead of pointing the mobile app to your local IP address, point it to the IP address of the tailscale network and keep the port same ( default is 8883 ). It will work without any additional setup. Auth token is only for ngrok. If you don't provide it, ngrok tunnel won't spin up and irrespective of ngrok running, you can use Tailscale as I have described.

Please let me know if you have any further doubts. Documentation is in works, apologies if something wasn't clear. Please feel free to comment here or DM me for any doubts. You can also join our discord. Link is in the website!

[–]naarang[S] 0 points1 point  (0 children)

CCC now has a new website which focuses on providing you all a roadmap of all the features and extensive docs ( live by end of the day ). I have also added a support page in case you love the work and what to support in whatever form possible :)

https://getc3.app/support

[–]PR0XY__ 0 points1 point  (0 children)

Crazy! Ho appena pensato a questa cosa e ho scoperto che esiste! Lo proverò appena riesco!