Surf Save

๐Ÿ„โ€โ™‚๏ธ Surf GitHub code with VS Code. (with CLI, chrome extensions, also works for Gitlab)

Project README

๐Ÿ„โ€โ™‚๏ธ surf.

๐Ÿ„โ€โ™‚๏ธ Surf your repository like a pro

โ—๏ธ This repo is forked from Github1s. If you are looking for github1s.com, please visit here. Please note that most of the code / work is done by conwnet and github1s contributors (more details below), and we are happy to use the original implementations to modify with more customizations.

surf cli on npm Deploy github.surf with Vercel GitHub Surf - Open repositories in a VSCode environment in your browser | Product Hunt Twitter GitHub license

Features

github.surf

TL;DR Jump to demo

  • โœ… Github support - Surf GitHub repository on browser with vscode environment
  • โœ… Gist support - Surf Gist repository on browser with vscode environment (DEMO)
  • โœ… Official Chrome extension - Launch surf with extension button
  • โœ… Official CLI - surf . command for opening surf on terminal
  • โœ… Gitlab support (gitlab.surf)
  • Bitbucket support (under development) (bitbucket.surf)
  • surf.codes for private, custom scm (enhance)
  • Remote compile & terminal support in browser (comming soon)

Chrome extension

Download our official chrome here (It's currently under review)

surf chrome extension

Building and installing chrome extension on your own

This also works for the GIST too

gist surf

๐Ÿ„โ€โ™‚๏ธ surf CLI

Like vscode's code ., we support our command surf

# === install the cli ===
npm -g install @bridged.xyz/surf
		# or with yarn
		yarn global add @bridged.xyz/surf

# and surf ๐Ÿ„ !
surf .

You can use this as your sub editor, which can be useful when you're exploring your master/main repository when you are at your own branch on your local machine

# different branch
surf -b <branch-name>

Learn more at surf-cli

Notes

For unlimited usage, you must provide github token in key icon tab

You can generate new token for github.surf on here

provide oauth token for unlimited usage on github.surf

Limitations

Max requests per hour

  • github - 60 requests per hour if no token provided (5000 when provided)
  • gitlab - 5 requests per minute
  • bitbucket - 60 requests per hour

Learn more about providing a token for unlimited usage

Github Enterprise usage

You have to modify api.ts and deploy as-your-own via Deploy on vercel button on the top of this document. api.github.com shall point to your-server.example.com

Supported languages / frameworks extensions (themes)

As listed here and surf-code-extensions here, we support below extensions in-the-box

  • Vue
  • JS/TS/JSX/TSX (React, Svelte, and other js based frameworks)
  • Dart & Flutter
  • Elm
  • Kotlin
  • Scala
  • Ocaml
  • Vetur
  • Jupyter Notebook - deepmind/deepmind-research demo
  • Material theme

What's Next?

  • PWA Support
  • Enterprise account support (github enterprise)
  • Custom extensions support
  • Mobile screen support
  • Remote cli & build support
  • More powerful Private repository experience

Remote compile / App preview (for ui applications) & CLI Capabilities.

For repositories containing project such like flutter, react and other main ui frameworks we are planning to suport live-compile-preview feature of the application. The main issue with this will be the pricing and performance limitation, since we are going to keep this project free / fast for everyone.

The technology behind this is under development in appbox and console. You can see the remote-compile demo on assistant

Contribution

Join the community

Learn more about contribution at CONTRIBUTING.md

Disclaimer

This project is inspired from cdr/code-server and conwnet/github1s. The base code was forked from github1s (MIT License at the point of fork), which we are replacing it with our own implementations and approaches.

See Also

References & Blogs / Translations

References

Blogs / Translations

medium github surf

get-chrome-ext get-firefox-addon

Open Source Agenda is not affiliated with "Surf" Project. README Source: surfcodes/surf
Stars
0
Open Issues
0
Last Commit
4 months ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating