Editing my Replit with Cursor!! This was unexpectedly easy and smooth.
6489 Follower
56.691 Aufrufe
11 Kommentare
Kommentare aus dem Originalbeitrag auf X (Twitter)

@imrat
Open tab in replit and copy the URL Open Simple Browser tab in cursor Now the preview is here!! Right in cursor.
21 Likes

@imrat
How to do this? 1. In cursor open terminal, hit CMD+K, and type: "Generate ssh key for replit, name it replit, and copy the public key to the clipboard" 2. In replit: CMD+K, type "SSH" and select Tool: SSH 3. Click add key & paste pub key from keyboard 4. Copy shell command from connect tab 5. In new Cursor window - Open with SSH - Add New SSH Host - Paste the shell command from replit - Click access
32 Likes

@imrat
Note: 1. Live reload is a bit flaky sometimes - not sure if this is because replit does not see the file change 2. You will have to switch to Replit UI to (re)deploy your project 3. Somehow cursor a few times did not change anything - not sure if this is due to how it connects to replit or whether models are timing out (there have been outages last few days with all providers)
3 Likes

@imrat
Anyone figured out the exact dependencies & config used by Claude artifacts ? I’m setting up a Replit template to try and get the same experience.
5 Likes

@mattppal
Going to create a tutorial on this! Thanks for the inspo ❤️
9 Likes

@imrat
If you want me to testdrive / look over the tutorial happy to - just send it over ones drafted.
2 Likes

@imrat
Here is a proper tutorial!
2 Likes

@ArDeved
hey imrat you seem pretty knowledgeable on cursor, in the composer, when i give it a command i am infinitely stuck on the "generating" loop any ideas?
1 Like

@imrat
I think there’s api issues. Had the same this morning and seen user report f it in forum too
4 Likes

@StraughterG
We broke it last night
1 Like

@imrat
What did you break?