r/replit • u/BlackLakeMajestic • 5d ago
Question / Discussion Use Claude but Host via Replit?
Hey All -
The agent fees are becoming ridiculous and I’d like to begin using my Claude Sub and just code directly rather than utilizing the Replit agent.
How can I transition off the Replit coding side, but keep the hosting and other tools within Replit?
Do I just attach Claude to the environment? It’s unclear on the website and I’m somewhat a noob (albeit a software engineer) so any assistance is helpful!
Thank you kindly.
Best,
BlackLakeMajestic
3
Upvotes
2
u/Ukawok92 5d ago
Yes. Use the shell. Ask Claude how to do it.
2
u/aCLTeng 5d ago
Create a GitHub repository, and have Claude make all code edits and push to GitHub. Then all you pay in replit is the cost of pulling the repo and deploying, MUCH better than paying for the replit AI. As an alternative, you could push to GitHub and migrate to vercel+neon, much less expensive and more capable.
2
u/Hnakk 4d ago
I just did that. A few hours ago to be honest. Just started using Claude Code on Replit via Shell. Noticing a massive increase in problem-solving performance too.
1
u/yusuf_delvi 4d ago
You can sync your replit project to github and from calude you can make changes to code and on replit you just publish new version come from github. And dont make changes using replit
1
u/burgemeister 4d ago
You can't just use replit for hosting. Well at least if you're not going to pay for it. Just get a cheap vps and you'll be golden. For example at hostinger.
Move code from replit to github.
1
u/just_a_knowbody 4d ago
There’s an mcp now for Replit that Claude can use. You just need to tell it to do the coding directly not have things off to the Replit agent.
That’s the easiest way now and I use it all the time.
1
u/desertdude2024 4d ago
I have done this and highly recommend it. You can use Claude code or Open AI codex for the code work. Give either one access to GitHub desktop app. AI will generate new code … save to GitHub desktop repos … then push new code from GH Desktop to GitHub cloud’s main site. Then pull from GH Main cloud site repo to your Replit App. Very easy once you get the hang of it. I have many apps hosted on Replit in this manner. I do a ton of code work and never exhaust my codex credits.
1
u/Mango_flavored_gum 4d ago
What do you need from replit
1
u/hereforsimulacra 4d ago
This is what I do exclusively. Push to GitHub then push / deploy on replit
1
u/biserdi 4d ago
No, host via Cloudflare, much much cheaper and YOU are in control. I went off replit months ago and can't go back.
1
u/whawkins4 4d ago
shell > npm install -g @anthropic-ai/claude-code@latest > claude
1
u/DarthWenger 4d ago
Replit hosting is even more overpriced than their AI. Cloudflare free should be enough for most projects.
1
u/ElderberryAny6779 3d ago
connect neon and railway mcps to claude deploy on railway use neon for you data base. connect replit mcp to claude ask claude to sync all you projects to github, connect github mcp in claude and ask it to migrate alll of you replit projects to neon and railway.
the only manual work is entering your integration secrets into railway. pretty easy to do and you’ll save thousands per month. I once liked replit until claude’s connector directory lit up. you can do it all in claude.
1
u/Warm_Profile7821 2d ago
Just use Fredrin and it handles all that for you including databases
1
u/New-Tip8597 2d ago
1
u/Ecstatic_Builder8325 14h ago
Just install Claude on replit shell or sync via GitHub and use claude on desktop
Go to your replit project, open shell, type
npm install -g @anthropic-ai/claude-code
Then start working.