Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pho9ubenaa/my-bun-template
A simple template for starting projects with Bun.
https://github.com/pho9ubenaa/my-bun-template
biomejs bun devcontainer github-template
Last synced: 1 day ago
JSON representation
A simple template for starting projects with Bun.
- Host: GitHub
- URL: https://github.com/pho9ubenaa/my-bun-template
- Owner: pHo9UBenaA
- License: mit
- Created: 2024-11-22T05:22:20.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2025-01-24T09:27:43.000Z (6 days ago)
- Last Synced: 2025-01-24T10:25:42.515Z (6 days ago)
- Topics: biomejs, bun, devcontainer, github-template
- Language: Dockerfile
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My Bun Template
A template repository for projects using Bun, Biome, and TypeScript.
## Overview
This template provides basic settings and a recommended directory structure to help you quickly start your Bun project.
## Features
- **Development Environment Setup**: Includes configuration files for VSCode (`.vscode`) and DevContainer (`.devcontainer`) to support a smooth development environment setup.
- **Bun Configuration**: Comes with a `bunfig.toml` file to easily manage your Bun settings.
- **GitHub Template**: This repository is set as a GitHub template, making it easy to use as a base for new projects.## Usage
1. **Create a Repository**:
- Use this template to create a new repository.2. **Install Dependencies**:
- Bun directly handles external modules, so no special installation steps are required.3. **Run Scripts**:
- Use the following command to run Bun scripts:```bash
bun run your_script.ts
```## Development Environment Setup
- **Deprecation of DevContainer**:
- While this repository includes a DevContainer configuration to quickly set up a development environment, it is considered **deprecated** for the following reasons:
- **Overhead from Virtual Layers**: Using DevContainer adds extra resource requirements, which can result in slower performance.
- **Limited Benefits**: Bun is lightweight and easy to configure, making it unnecessary to rely on DevContainer for most use cases. A direct local development setup is recommended for a simpler and more efficient experience.
- You can safely remove the DevContainer configuration if it is not needed for your workflow.## Contribution
Contributions are welcome! Please follow these steps:
1. Fork this repository.
2. Create a new branch.
3. Commit your changes.
4. Submit a pull request.## License
This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.