Sign inSign up

arfodublo/cursor-in-browser

By arfodublo

•Updated 4 months ago

Deploy and use Cursor - The AI Code Editor directly in a web browser

Image
Machine learning & AI
Developer tools
1

8.5K

arfodublo/cursor-in-browser repository overview

⁠cursor-in-browser

⁠Deploy and use Cursor - The AI Code Editor directly in a web browser!

This work have been strongly influenced by the following repo: https://github.com/sytone/obsidian-remote⁠

All versions of Cursor for x64 and arm64 architectures from 0.47.7 to 1.7.52 are now available !

Cursor versions with all required files are available under cursor_versions folder. The Dockerfile and Dockerfile.arm64 on the root directory are related to the latest version (1.7.52).

You can use Github Docker repo (ghcr.io) or Docker Hub to download the image, if you prefer to rebuild the image you may also clone the repo and build the image yourself.

⁠• Maintained by:

L'Arfo ([email protected]⁠)⁠

⁠• Where to get details:

https://github.com/Arfo-du-blo/cursor-in-browser⁠

⁠• Quick run :

Using Docker Hub :

docker run -d \
      -v your_path_to/cursor:/cursor \
      -v your_path_to/config:/config \
      -p 8050:8080 \
      -e CUSTOM_USER=cursor_user \
      -e PASSWORD=cursor_password \
arfodublo/cursor-in-browser:latest-x64

Using Github (ghcr.io) :

docker run -d \
      -v your_path_to/cursor:/cursor \
      -v your_path_to/config:/config \
      -p 8050:8080 \
      -e CUSTOM_USER=cursor_user \
      -e PASSWORD=cursor_password \
ghcr.io/arfodublo/cursor-in-browser:latest-x64

You can replace the :latest-x64 tag (latest version for AMD processors) by the version and architecture you need (for example replace :latest-x64 by :latest-arm64 if working on ARM CPU or :1.2.3-x64 / :1.2.3-arm64 if you need a specific version).

⁠• Important notes :
  1. Some buttons are not directly clickable in the UI. Log in button is part of those, to use these buttons you will need to copy the link (right click on them then copy) and open them in a new tab. Then follow the log in procedure on Cursor official web site in this Log in button example.

  2. If you closed Cursor you will be redirected to a black screen. To reopen Cursor right click on this screen a menu will appear with Cursor icon and name. You can simply click on it to open it back.

⁠• Environment Variables :
Environment VariableDescription
PUIDSet the user ID for the container user. 911 by default.
PGIDSet the group ID for the continer user. 911 by default.
TZSet the Time Zone for the container, should match your TZ. Etc/UTC by default. See List of tz database time zones for valid options.
DOCKER_MODSUse to add mods to the container like git. E.g. DOCKER_MODS=linuxserver/mods:universal-git See Docker Mods for details.
INSTALL_PACKAGESUse to add package for the container like language pack. E.g. INSTALL_PACKAGES=fonts-noto-cjk fonts-noto-extra And the docker mod linuxserver/mods:universal-package-install is required.
KEYBOARDUsed to se the keyboard being used for input. E.g. KEYBOARD=en-us-qwerty or KEYBOARD=de-de-qwertz a list of other possible values (not tested) can be found at https://github.com/linuxserver/docker-digikam#keyboard-layouts⁠
CUSTOM_PORTInternal port the container listens on for http if it needs to be swapped from the default 3000.
CUSTOM_HTTPS_PORTInternal port the container listens on for https if it needs to be swapped from the default 3001.
CUSTOM_USERHTTP Basic auth username, abc is default.
PASSWORDHTTP Basic auth password, abc is default. If unset there will be no auth
SUBFOLDERSubfolder for the application if running a subfolder reverse proxy, need both slashes IE /subfolder/
TITLEThe page title displayed on the web browser, default "KasmVNC Client".
FM_HOMEThis is the home directory (landing) for the file manager, default "/config".
⁠More details about the project can be found here: https://github.com/Arfo-du-blo/cursor-in-browser⁠

A particular thanks to Joe (Sytone) who did the same job for Obsidian that can be found here: https://github.com/sytone/obsidian-remote⁠

Tag summary

Content type

Image

Digest

sha256:b05e9ec52…

Size

1.1 GB

Last updated

4 months ago

docker pull arfodublo/cursor-in-browser:latest-arm64