Bump the app to 0.3.0-alpha (cloud device panel over the Bambu Lab account, a user-supplied slicer key, the system-bar inset fix and the loading screen). Add an Android app section to the README and document the standard and -cloud release APKs. Record the revised distribution decision: both APKs are published on Gitea, since the plugin source is already public here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CbKxbSeHpxVhmWEwU8U2vE
Web Slicer
Your slicing workspace, in a browser. Prepare models, slice on your own server and inspect the toolpaths from a desktop, tablet or phone — powered by OrcaSlicer's engine.
- One server, several devices: keep your projects and printer libraries on your own server.
- Shared equipment, explicit access: local accounts, project sharing and permissions for each physical printer.
- The full print workflow: import → prepare → slice → inspect → download G-code.
- A separate client and API: use the web app or integrate the slicer with your own tools.
Independent fork, working project name. Not an official OrcaSlicer product.
AI disclosure: much of this fork's web/headless implementation, tests and documentation was generated using OpenAI Codex under the maintainer's direction. See AI assistance for scope and validation limits.
- Fork: https://gitea.labus.uk/karol/web-slicer
- Upstream mirror: https://gitea.labus.uk/upstream-mirrors/OrcaSlicer
- Original upstream: https://github.com/OrcaSlicer/OrcaSlicer
Actual development UI. The original demo model is sliced locally; no cloud account or physical printer is needed for this workflow.
Fork purpose · Changes from upstream · Requirements · Getting started · Configuration · Usage · Architecture · Limitations · Development · Upstream maintenance · Documentation · Credits · License
Fork purpose
Run the slicing engine on your own server and use a separate web client without installing a desktop slicer on each device. Local accounts and explicit sharing support both a personal installation and shared printer laboratories. Desktop OrcaSlicer remains the reference for file compatibility, profiles and slicing behavior.
Changes from upstream
- A native
orca-headlessworker built around the existing C++ slicing engine. - An HTTP API for projects, revision history, profiles, slicing, downloads and printer integrations; the client can be hosted independently.
- A responsive web workspace with Project, Prepare, Preview, Print settings, Filaments and Printer workspaces, with the printer library in the application menu.
- Browser 3D editing and G-code preview using a WebAssembly renderer derived from the upstream viewer.
- Server-side persistent storage, background work queues and backup management.
- Local accounts, administrator account management and separate project/printer permissions, including reviewable print requests.
- Physical printers with multiple editable nozzle configurations and one optional connection; Orca presets serve as copy/update templates.
- Owned filament libraries with shared product data, independent nozzle calibrations and verified physical-slot assignments for Anycubic Kobra X and Bambu LAN.
- Direct Kobra X LAN Device access: status, camera, supported controls, printer files and filament/ACE modules, accessible without opening a project.
- A built-in Moonraker Device panel with live readings, standard Klipper controls, webcam discovery and shared status observations.
- Experimental Bambu LAN / Developer Mode: LAN discovery, status, AMS products and slot metadata, reviewed filament mapping, native sliced-3MF upload/start, A1/P1 JPEG and X1 RTSPS cameras, supported heater/fan targets, guarded manual motion and idle extrusion, print-speed modes and chamber light control without a cloud plugin or server-side video transcoding.
- P2S-family Device files: choose an archive plate, review AMS or external-spool mapping, and start a stored file without uploading it again.
- Read saved pressure-advance results from classic A1/P1/X1 printers by nozzle diameter, without changing filament profiles.
- Explicit 3MF import choices: geometry, project settings or temporary inspection.
- An isolated static demo with three prepared models and toolpath previews.
- Docker Compose deployment with CPU, memory, concurrency and log-size limits.
Accounts and shared printers
Each project has an owner and can be shared for viewing or editing. Printer access is granted separately: sharing or copying a project does not grant control of its physical machine. Instance administrators manage accounts and resources; printer owners manage their own machines and permissions.
For a classroom, a teacher can allow selected process settings while protecting printer settings, filament tuning and custom G-code. Users without direct-print permission can submit a sliced project for review. A print request captures the submitted revision and artifact, so later edits do not change what the owner reviews and approves. See accounts and permissions.
Physical printers and filament libraries
A printer represents one physical machine. Its 0.4 mm and 0.6 mm nozzle configurations have independent editable settings and calibrations, while using the same connection. Presets are copied from Orca's catalogue; template updates are reviewed before changing an owned profile.
A filament product records its name, manufacturer, material and colour, with separate slicing profiles for each printer/nozzle configuration. Your private filament library is created automatically. Library owners can delegate management, transfer ownership and make products available on selected printers. Printer users see the products available to their machines; library management does not grant printer control. This supports separate material collections for different laboratories on one server.
For Kobra X and Bambu LAN, Device can assign a product to a physical slot and send its supported material/colour data to the printer. The application confirms the assignment by reading it back. Observed external changes clear the product association; a network interruption alone does not. Projects can use those confirmed slots with compatible slicing profiles. Product updates remain explicit, and delivery checks the slot against the immutable sliced revision. See filament products and Kobra X LAN support.
A look inside
| Pick a tool | Inspect the sliced result |
|---|---|
![]() |
![]() |
| Pinned tools sit on the bar above the scene; every tool is one search away. | Explore layers and color toolpaths by speed before exporting G-code. |
Detailed configuration lives in its own workspace.
Open the phone layout
The same project in a 430-pixel browser viewport. This is a responsive-layout capture, not a claim of testing on a physical phone.
The inherited desktop README is preserved as README.upstream.md. Its downloads, screenshots, donations and support channels belong to upstream.
Requirements
For prebuilt releases: a Linux x86-64 Docker host, Docker Compose v2 with
up --wait support, and a browser with WebGL 2. Docker Desktop may run the Linux
containers; printer discovery and access to your LAN depend on its networking.
ARM container releases have not been validated.
The application container defaults to one CPU and 3 GiB RAM, with swap disabled. The web proxy has its own 128 MiB limit. Allow additional resources for the host and disk space for images, models, revision history, previews and backups. Large models can exceed these defaults. Build requirements are separate; see Development.
Getting started
The current image version is 0.2.2-alpha, an alpha for evaluation. Images
are public and can be pulled without registry authentication.
Install Docker Engine and Compose v2. Put compose.yaml and
.env.example in one directory, then copy .env.example to .env.
These are the only files needed to run the application; cloning the repository
and building the code are unnecessary. Docker downloads the images and creates
the containers. Create the persistent data directory before starting.
cp .env.example .env
mkdir -p data
docker compose up -d --wait
The container runs as UID/GID 1000:1000. On Linux, data must be writable by
that user; if your host account uses another UID, set its ownership with
sudo chown 1000:1000 data before starting. Compose refuses a missing directory
rather than creating a root-owned one.
Images are distributed through the Gitea container registry. Their version is
selected by ORCA_IMAGE_TAG in .env. To update, set the desired version, then
run docker compose pull and docker compose up -d --wait. Maintainers can build
images using the build guide.
Create the first local administrator from a terminal:
docker compose exec app python -m orca_web.auth_cli create-admin admin
The command prompts for the password without storing it in shell history. Serve
the site through an HTTPS reverse proxy and set ORCA_ALLOWED_ORIGINS to its
public origin. Open that HTTPS address and sign in. For trusted-LAN development
over HTTP only, explicitly set ORCA_AUTH_SECURE_COOKIE=false in .env.
In Printers, add a physical printer and its nozzle profiles. Choose its process and filament presets, then create or import a project. A physical printer connection is optional for slicing and downloading G-code.
Filaments describe a material product; its slicing settings remain independent for each printer and nozzle. The application creates your private filament library automatically. Library owners can share management and make products available only on selected printers. Kobra X and Bambu LAN users can assign products in Device and choose confirmed printer slots in a project. See the filament model.
Local login protects the API, files, events and device-panel sessions. Accounts have separate project and physical-printer access. Copying a project does not grant permission to use its printer. Manage accounts through Users in the administration menu. Full backups and instance administration require an administrator. See deployment for HTTPS, session recovery and backup requirements.
Android app
An offline build for arm64 phones (Android 10+) runs the slicer, its Python backend and the web client entirely on the device: import, slice, preview and save G-code with no server, account or network. It can also drive printers on your LAN — Bambu Lab in Developer Mode, Anycubic Kobra, Moonraker and the other hosts the web client supports.
The current app version is 0.3.0-alpha, an alpha for evaluation. Install it by
side-loading the APK from the latest release
(enable "install unknown apps" for your browser or file manager); it is not on
any app store. Two builds are published:
web-slicer-<version>-arm64.apk— the standard app (offline slicing and LAN printing). Most users want this one.web-slicer-<version>-cloud-arm64.apk— additionally bundles the third-party open-bamboo-networking plugin (AGPL-3.0) for Bambu Lab account sign-in, cloud printer status and control, and cloud printing. It ships no Bambu keys: printers with command verification (Authorization Control) also need your own Bambu slicer certificate and key, which you enter in the app — Web Slicer neither provides nor obtains them. The plugin is reverse-engineered; using it is your responsibility under Bambu Lab's terms.
Build instructions for both are in android/README.md.
Configuration
Copy .env.example to .env. Do not commit the edited file.
| Variable | Default | Purpose |
|---|---|---|
ORCA_IMAGE_PREFIX |
gitea.labus.uk/karol/web-slicer |
Shared image prefix; services append -app, -web and optional -demo. |
ORCA_IMAGE_TAG |
0.2.2-alpha |
Matching release version for all images; alpha prerelease. |
WEB_PORT |
8080 |
Published HTTP port. |
LAN_BIND |
0.0.0.0 |
Host bind address; use 127.0.0.1 for a proxy on the same host. |
DEMO_PORT / DEMO_BIND |
8082 / 127.0.0.1 |
Separate static demo, enabled with the demo Compose profile. |
ORCA_ALLOWED_ORIGINS |
Empty | Additional trusted browser origins, comma-separated, including scheme/port. |
ORCA_AUTH_REQUIRED |
true |
Require local authentication. Disable only for isolated tests or trusted-LAN operation. |
ORCA_AUTH_SECURE_COOKIE |
true |
Use HTTPS-only host-bound session cookies. Set false only for HTTP development. |
ORCA_CPUS |
1 |
Application CPU limit. |
ORCA_MEMORY_LIMIT |
3g |
Application RAM limit; memory+swap is set to the same value. |
ORCA_NATIVE_CONCURRENCY |
1 |
Concurrent ordinary native workers. |
ORCA_PLUGIN_SESSION_LIMIT |
1 |
Separate stateful plugin session budget. |
ORCA_BACKUP_INTERVAL |
21600 |
Automatic backup interval in seconds. |
ORCA_BACKUP_KEEP |
7 |
Automatic backup retention count. |
For example, set ORCA_ALLOWED_ORIGINS=https://slicer.example.com,https://slicer.home.example.com
when using those reverse-proxy addresses. Origin checking is not authentication.
Forward /api/ as well as the web client; preserve streaming responses and allow
long-running transfers. See deployment.
Internal configuration retains the ORCA_ prefix and existing package/worker
names for compatibility. This does not imply an official upstream affiliation.
Usage
- Import a model or slicer project in Project; inspect its printer and presets.
- Arrange and edit models in Prepare. Tool controls live in the inspector.
- Adjust process, filament and printer profiles in their own workspaces.
- Slice, inspect the result in Preview, then download G-code or use a configured printer connection. Available device actions depend on its provider.
Explore the prepared demo
The optional demo is a separate static site, with no access to the application API, accounts, stored projects or printers. Visitors can inspect three prepared models and their native toolpaths and try settings controls locally. The prepared previews stay unchanged; the demo does not run slicing jobs. Choose examples through Project → Projects; model sources and licenses are in About Web Slicer.
docker compose --profile demo up -d --wait demo
Its default address is http://127.0.0.1:8082; DEMO_BIND and DEMO_PORT control
exposure. See static demo deployment.
docker compose ps
docker compose logs --tail=100 app web
docker compose stop
docker compose up -d --wait
Project state is stored in ./data beside compose.yaml, bind-mounted at
/data in the app. Container replacement and docker compose down -v leave
this host directory intact. Back up this directory, including account databases.
Backups can contain printer credentials; keep them private.
See backup and restore.
Architecture
Browser → web proxy → HTTP API → bounded native worker → OrcaSlicer engine
↘ project storage / queues / printer providers
- web/frontend: React/TypeScript client.
- web/backend: Python/FastAPI API and persistent orchestration.
- src/headless: C++ worker and native protocol.
- web/renderer: WebAssembly preview adapter.
- resources/profiles: inherited printer and material profiles.
- compose.yaml: runtime deployment; the API has no published host port.
Interactive API documentation: http://SERVER:8080/api/v1/docs.
The API design documents revision and transport semantics.
Limitations
- Active development; production readiness is not claimed. Intended differences from desktop OrcaSlicer and the parity work still planned are recorded in desktop-parity.md.
- Device support varies by provider/model/firmware. Simulated protocol tests do not establish compatibility with physical printers.
- Bambu LAN currently accepts one physical nozzle. Hardware validation remains outstanding; camera tests use real TLS peers and browser decoding. Bambu cloud support is not implemented or promised by this release.
- Camera access and broadcast discovery depend on routing/container networking.
- Bambu automatic Device status and filament refresh share an incremental MQTT feed. Explicit snapshot reads and command preflight still need care on P1 firmware; hardware qualification remains necessary.
- Resource limits can reject large operations. Do not raise concurrency without considering the shared memory budget.
Development
Source-image builds use compose.build.yaml, a native C++17 toolchain and Emscripten inside Docker. They are substantially more expensive than running a release. A cold build has not been revalidated as part of this publication cleanup; existing live runtime artifacts are not a substitute for that check. See the build and release procedure.
Native build/test commands on the development homelab must run through
python3 web/scripts/run-bounded.py -- COMMAND ..., with at most six parallel compiler jobs. CPU and RAM are uncapped;
the runner still disables swap and enforces I/O and a three-hour timeout. Docker daemon work needs separate equivalent limits; Compose runtime
limits do not limit image builds. Do not run an unbounded image build there.
Inherited desktop build, packaging, release and maintenance workflows have been removed from the active Actions directories. This fork currently has no automatic Actions pipeline. The headless worker and WebAssembly preview still require compilation; API/web checks and versioned container builds can be introduced as fork-specific CI on an explicitly bounded runner.
web/README.md contains detailed development/API/provider notes. CONTRIBUTING.md describes fork contributions and focused checks.
Upstream maintenance
Preserve upstream Git history. Fetch from the Gitea mirror and merge on a review branch; do not replace the fork with a new independent Git root. The GitHub remote is a reference/fallback, not the fork's push destination.
git remote add upstream https://gitea.labus.uk/upstream-mirrors/OrcaSlicer.git
git fetch upstream
git switch -c maintenance/upstream-sync
git merge --no-commit upstream/main
For an existing upstream, skip remote add. Resolve conflicts and refresh
README.upstream.md from the reviewed upstream revision while retaining this
fork README. Before merging, check headless/desktop builds, 3MF compatibility,
profiles, generated settings/locales, API contracts and browser preview. See
upstream maintenance.
Documentation
- Local accounts, sharing and print approvals
- Filament products, libraries and physical slots
- Moonraker Device and shared observations
- Bambu LAN transport and reviewed dispatch
- Direct Anycubic Kobra X LAN support
- Static demo and prepared examples
- Product decisions: physical printers and owned profiles
- Screenshot sources and reproduction
- Deployment, releases, reverse proxies and backups
- Upstream synchronization
- Web API design
- Native worker design
- Web development reference
- README style
Credits
Based on OrcaSlicer, with the inherited Slic3r, PrusaSlicer, Bambu Studio, SuperSlicer and other contributors acknowledged in the upstream README and packaged component notices. Upstream icons, translations and profiles retain their existing attribution.
Direct Anycubic Kobra X LAN support builds on KX-Bridge by viewit, cluzl's Kobra Bridge and rvanderp3's kobra-connect. Attribution, adaptations and original licenses are preserved; manufacturer certificates and private keys are not distributed.
Bambu LAN protocol work references bambu-gateway by Leonardo Lobato and contributors. Its MIT attribution and license are retained.
This fork is maintained by karol.
AI assistance
Much of this fork's web/headless code, tests and documentation was generated with OpenAI Codex under the maintainer's direction. This disclosure concerns the fork's additions and changes; it does not describe the authorship of inherited OrcaSlicer code or other upstream components.
AI-generated work can contain mistakes. Passing automated tests does not establish complete correctness or real-printer compatibility. Validation and remaining limitations are stated explicitly; physical-device tests are distinct from simulated protocol tests.
License
GNU Affero General Public License, version 3. Preserve component licenses and copyright notices. Network deployments of modified versions must provide the corresponding source to their users as required by the AGPL. Release images identify the source revision; the web About dialog links to its matching source when built through the release procedure.
Code licensing does not establish permission to use upstream trademarks or third-party cloud services. Web Slicer is a working independent name; no trademark clearance or upstream endorsement is claimed.





