Bilup Development Guide
Welcome to the Bilup development documentation! This comprehensive guide covers everything you need to know about developing with, for, and on Bilup.
Development Pathsβ
π Getting Startedβ
Set up your development environment and understand the Bilup project structure.
ποΈ Project Structureβ
Learn about the codebase organization and how different components work together.
βοΈ Building & Runningβ
Detailed instructions for building Bilup from source and running development servers.
π§© Extension Developmentβ
Create custom blocks and extensions that integrate with Scratch's programming environment.
π Global Objectsβ
Understand the global objects and APIs available in the Bilup environment.
π§ Testingβ
Learn about testing strategies, tools, and best practices for Bilup development.
π€ Contributingβ
Guidelines for contributing to Bilup, including code standards and pull request processes.
Quick Start for Developersβ
Prerequisitesβ
Before you begin, ensure you have:
- Node.js 18+ with npm
- Git for version control
- Modern browser (Chrome, Firefox, Safari, Edge)
- Code editor (VS Code recommended)
Setup Development Environmentβ
# Clone the main repository
git clone https://github.com/Bilup/scratch-gui.git
cd scratch-gui
# Install dependencies
npm ci
# Start development server
npm start
Your development environment will be available at http://localhost:8601/.
Development Workflowβ
- Fork and Clone the repository you want to contribute to
- Create a branch for your feature or bug fix
- Make changes with proper testing
- Test thoroughly using automated and manual testing
- Submit a pull request following our guidelines
Bilup Architecture for Developersβ
Repository Structureβ
Bilup consists of several interconnected repositories:
Bilup Ecosystem
βββ scratch-gui/ # Main GUI application
βββ scratch-vm/ # Virtual machine and runtime
βββ scratch-render/ # Graphics rendering engine
βββ scratch-blocks/ # Visual block editor
βββ scratch-paint/ # Costume/backdrop editor