Loading video...

Video Failed to Load

Go Home

Editing my Replit with Cursor!! This was unexpectedly easy and smooth.

56,691 views • 1 year ago •via X (Twitter)

11 Comments

Imrat's profile picture
Imrat1 year ago

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

Imrat's profile picture
Imrat1 year ago

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

Imrat's profile picture
Imrat1 year ago

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)

Imrat's profile picture
Imrat1 year ago

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.

matt palmer's profile picture
matt palmer1 year ago

Going to create a tutorial on this! Thanks for the inspo ❤️

Imrat's profile picture
Imrat1 year ago

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

Imrat's profile picture
Imrat1 year ago

Here is a proper tutorial!

Jason KP's profile picture
Jason KP1 year ago

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?

Imrat's profile picture
Imrat1 year ago

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

Jay Guthrie's profile picture
Jay Guthrie1 year ago

We broke it last night

Imrat's profile picture
Imrat1 year ago

What did you break?

Related Videos