Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frederoxdev/astra
đĽA blazingly fast add-on compiler for Minecraft Bedrock
https://github.com/frederoxdev/astra
compiler minecraft-addons
Last synced: about 2 months ago
JSON representation
đĽA blazingly fast add-on compiler for Minecraft Bedrock
- Host: GitHub
- URL: https://github.com/frederoxdev/astra
- Owner: FrederoxDev
- License: mit
- Created: 2023-03-28T21:05:10.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-22T20:21:20.000Z (about 1 year ago)
- Last Synced: 2023-10-22T21:22:05.190Z (about 1 year ago)
- Topics: compiler, minecraft-addons
- Language: TypeScript
- Homepage:
- Size: 31 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Astra is a blazingly fast add-on compiler for Minecraft Bedrock. It offers TypeScript compilation using SWC, and build times are significantly faster compared to other compilers. Although Astra does not offer features like Custom Components, it is perfect for those who prioritize speed.
# Installation
To install Astra, download the latest .exe file from the GitHub Releases tab. Next take that .exe and store it in a good location (e.g. `C:\Program Files\Astra\`), and then add that to your PATH environment variables so the .exe can be used in command prompt and PowerShell.
# Commands
## `[-v | --version]`
This will log the current version of the Astra
## `scaffold`
This command will create a new project in your CWD.
## `package`
This will create a build of your project into the `\dist\` folder in your CWD.
## `watch [--preview]`
This will create a build of your project into `com.mojang`, and will incrementally build any changes made in your project. Use the `preview` flag to build to the preview edition of Minecraft.
# Building
To compile Astra you can run `deno compile --output out/astra.exe --allow-net --allow-env --allow-read --allow-write --allow-run src/cli.ts`