Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/itsbrex/vscode-remote-try-bun


https://github.com/itsbrex/vscode-remote-try-bun

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# Tryout Bun - all-in-one JS runtime

[Bun, an incredibly faster all-in-one JS/TS runtime][bun-site]

This template repo serves as a flavor of linux-based quick-starter development container for use with [VS Code Remote - Containers][vscode-dev-containers-quickstart] and [GitHub Codespaces][gh-codespaces-quickstart].

> Originally, this dev container was created to [tryout bun without having to install it locally][gh-bun-discussion-win-support], especially on Windows.

[vscode-dev-containers-quickstart]: https://www.youtube.com/playlist?list=PLj6YeMhvp2S5G_X6ZyMc8gfXPMFPg3O31
[gh-codespaces-quickstart]: https://docs.github.com/en/codespaces/getting-started/quickstart
[gh-bun-discussion-win-support]: https://github.com/oven-sh/bun/discussions/361#discussioncomment-3118535

### What's in it:

- [Bun][bun-site], all-in-one JS runtime latest binaries
- [VS Code Extensions](/.devcontainer/devcontainer.json) for JS/TS and related work
- Git and GitHub CLI for versioning
- ZSH integrated Terminal
- Docker CLI with Compose v2

[bun-site]: https://bun.sh

## Using This Template

If you are completely new to bun, [Awesome Bun][awesome-list-bun] is a good source to start with.

Next, you want to create a copy of this template. It is easy as forking. The repo is marked as a `Template` so you will only have to [Use This Template][gh-use-this] and follow the instructions.

[awesome-list-bun]: https://github.com/apvarun/awesome-bun#readme
[gh-use-this]: https://github.com/kosalanuwan/vscode-remote-try-bun/generate

## Things to Try

First, you want to ensure source code is Reopened in Container. Then you'll be able to work with it like you would locally.

With VS Code:
- Open a new Terminal
- Type `bun --version` to verify the version
- Type `bun run test-project/server.js`
> Browse http://localhost:3000 on your favorite web browser to see the result.

## Feedback

If you have any technical problems with Bun, you are better off asking [Bun's Discord community][bun-discord] directly, since you'll end up getting a much faster response back that way.

[bun-discord]: https://bun.sh/discord

## Contributing

The official repo to contribute would be [@oven-sh/bun][gh-bun-repo].

[gh-bun-repo]: https://github.com/oven-sh/bun/#readme

## License

Copyright (c) Kosala Nuwan Perera. All rights reserved.

The source code is license under the [MIT license](LICENSE).