[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116043":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},116043,"prusa-connect","prusa3d\u002Fprusa-connect","prusa3d","Prusa Connect: a local server for your printers",null,"Go",300,36,5,39,0,9,128,48,92.7,"Other",false,"main",[],"2026-11-23 20:09:02","2026-11-23 18:05:53","\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fsrc\u002Fassets\u002Flogo\u002Fprusa-dark.svg\">\n    \u003Cimg src=\"docs\u002Fsrc\u002Fassets\u002Flogo\u002Fprusa-light.svg\" alt=\"Prusa\" width=\"220\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Connect\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\u003Cstrong>Bring your own hardware. We bring the REST.\u003C\u002Fstrong>\u003C\u002Fp>\n\n\u003Cdiv align=\"center\">\n\n[![CI](https:\u002F\u002Fgithub.com\u002Fprusa3d\u002Fprusa-connect\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fprusa3d\u002Fprusa-connect\u002Factions\u002Fworkflows\u002Fci.yml)\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fprusa3d\u002Fprusa-connect?include_prereleases&label=release)](https:\u002F\u002Fgithub.com\u002Fprusa3d\u002Fprusa-connect\u002Freleases)\n[![Go](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fgo-mod\u002Fgo-version\u002Fprusa3d\u002Fprusa-connect?label=go)](go.mod)\n[![Licence](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicence-OCL%20v1.1%20%2B%20Micro%20%2B%20NoSaaS%20%2B%20SWAtt-orange)](LICENSE)\n\n\u003C\u002Fdiv>\n\nPrusa Connect is a server for your 3D printers that you run yourself. It is a\nsingle Go binary with the web app inside, built for Linux, Windows, macOS and\nthe Raspberry Pi. Download it, start it on any computer you have, and open it\nin a browser.\n\n- No cloud. Your printers connect to your own server over your own network,\n  and people sign in with accounts that live on that server.\n- Your data stays with you. Accounts, printers, print history and print files\n  are kept on the machine the server runs on.\n- Not only Prusa. The driver for Prusa printers is built in. Drivers add\n  printers of other makers, and anybody can write one.\n- Open to your own tools. A REST API, live events and MQTT give other programs\n  the same data the web app shows.\n\n> [!WARNING]\n> Prusa Connect is in public beta. The releases are 0.x pre-releases, and the\n> configuration, the API and the extension SDK can still change from one\n> release to the next. Back up your data before you update.\n\n## What it does\n\n- Your fleet on one screen: the state, temperatures and progress of every\n  printer, live.\n- Prints from the browser. Send a G-code file to a printer and start it, then\n  pause, resume or stop the print.\n- Accounts and permissions. People sign in with a password or through an\n  OpenID Connect provider, and each person gets only the printers and actions\n  you give them.\n- Integrations: a REST API with its own reference, server-sent events, and\n  event sinks for MQTT, AMQP, Kafka and webhooks.\n- Extensions. Install them from the marketplace, or write your own against the\n  SDK.\n- From one printer to a farm: a Raspberry Pi from the Zero up, a NAS, a\n  server, Docker or Kubernetes. The load test runs 400 simulated printers\n  against one server.\n\nThe server reads the extension marketplace and checks for updates over the\ninternet. `core.marketplace.enabled: false` and `core.upgrade.enabled: false`\nin `config.yaml` switch these off.\n\n## Supported printers\n\nPrusa Connect knows these Prusa printers:\n\n| family | models |\n| --- | --- |\n| CORE One | CORE One, CORE One L, CORE One INDX, CORE One L INDX |\n| MK4 | MK4, MK4S |\n| MK3.9 and MK3.5 | MK3.9, MK3.9S, MK3.5, MK3.5S |\n| XL | XL |\n| MINI | MINI |\n\n[Device models](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fdevice-models.md) lists every model the\nserver carries, and\n[the firmware support matrix](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fprusa-command-architecture.md)\nsays which commands each model accepts, and from which firmware version.\n\n### Printers of other makers\n\nPrusa Connect is not tied to one vendor. The server talks to a printer through\na driver, and the SDK in [`sdk\u002Fconnectorapi`](sdk\u002Fconnectorapi) is the contract\nevery driver implements. The Prusa driver and a driver from the community pass\nthe same conformance suite, so a driver for another maker works like the Prusa\none.\n\n[`examples\u002Fadapters\u002Fmoonraker`](examples\u002Fadapters\u002Fmoonraker) is an example\ndriver for Klipper printers that run Moonraker.\n[Write a driver](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fwriting-a-driver.md) takes you from an\nempty directory to a driver that passes the suite. `make scaffold-driver`\nwrites the first files for you.\n\n## Quick start\n\n### Download a release\n\n1. Open [Releases](https:\u002F\u002Fgithub.com\u002Fprusa3d\u002Fprusa-connect\u002Freleases) and\n   download the file for your machine. There are files for Linux, the\n   Raspberry Pi, Windows and macOS.\n2. Start it. On Linux and macOS, run `chmod +x` on the file first.\n3. Open `http:\u002F\u002F\u003Cthis computer>:8080\u002F` in a browser and answer the questions\n   of the setup wizard.\n\n[Install from a release](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Finstall-from-a-release.md)\nsays which file you need, how to check it, and how to run it as a service.\n\n### Run it in Docker\n\n```bash\ndocker compose -f docker-compose.local.yml up -d prusa-connect\n```\n\nThen open `http:\u002F\u002Flocalhost:8080\u002F`. [Container deployment](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fcontainer.md)\ncovers the image, its ports, the writable paths and the health checks.\n\n### Try it with no printer\n\n```bash\nmake demo\n```\n\nThe demo builds the server and connects a fleet of simulated printers to it.\nWhen the printers have arrived, it prints the address to open and an account\nto sign in with. Ctrl+C stops everything. It needs Go and pnpm, see\n[Build from source](#build-from-source).\n\n## Connect a printer\n\nA Prusa printer finds the server through a file on a USB drive. Open the\n**Add a printer** page in the web app: its first step downloads the file with\nthe address of your server filled in. It looks like this:\n\n```ini\n[service::connect]\nhostname = 192.168.1.100\nport = 8080\ntls = false\n```\n\nPut it in the top folder of the drive. Then:\n\n1. Insert the drive into the printer.\n2. Open **Settings**, **Network**, **Prusa Connect** and choose\n   **Load Settings**.\n3. Choose **Add Printer to Connect**. The printer shows a code.\n4. On the **Add a printer** page, check that the code matches the display of\n   the printer, and choose **Approve**.\n\nThe printer gets its token when you approve it, so the file holds none. You\ncan encrypt the connection with a certificate of your own, see\n[Custom certificates](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fcertificates.md).\n\n## Extend it\n\nThere are three ways to add something:\n\n- A **module** is a separate program that the server starts and supervises.\n  It can add pages and API routes, keep its own records and publish events.\n  When it fails, the server restarts it.\n- A **builtin** is compiled into the server. The Prusa printer driver is one.\n- A **script** is an expression in the configuration file. It turns an event\n  into messages that go to a web address or back onto the event stream.\n\nYour extension lives in your own repository and is built against the SDK in\n[`sdk\u002F`](sdk\u002FREADME.md). [Write a module](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fwriting-a-module.md)\nis the guide, and `make new-module` writes the first files for you.\n\n## Documentation\n\nThe documentation lives in [`docs\u002Fsrc\u002Fcontent\u002Fdocs\u002F`](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002F),\nand `make docs` builds it into a site. Good places to start:\n\n- [Getting started](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fgetting-started.md): start the server\n  with a simulated fleet, read a printer over the API, then connect a real one.\n- [Configuration](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fconfig.md): the one YAML file the\n  server reads, and every key with its type and default.\n- [Architecture](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Farchitecture.md): how the data of a\n  printer reaches an API client, and which package holds each step.\n- [Human authentication](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fhuman-auth.md): how a person\n  signs in, and the contract an identity provider implements.\n- [Extension SDK](sdk\u002FREADME.md): the contracts an extension is built against.\n- [Server-sent events](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fsse-overview.md) and\n  [MQTT](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fmqtt-overview.md): two ways to follow events\n  from another program.\n- [The printer protocol](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Fprusa-xbuddy-websocket-protocol.md):\n  registration, the WebSocket messages, commands and file transfer.\n\nA running server also serves its API reference at `\u002Fdocs` and the OpenAPI\ndocument at `\u002Fopenapi.json`.\n\n## Build from source\n\nYou need:\n\n- Go 1.26.11 or newer, the version `go.mod` names.\n- make with a POSIX shell. On Windows, use Git Bash.\n- Node.js and pnpm, only for the web app and the documentation. The `make`\n  targets turn pnpm on through corepack, or offer to install it.\n\n```bash\nmake run    # build the server and run it\nmake test   # run the Go unit tests\nmake        # list every target\n```\n\nThe printer simulator speaks the same WebSocket protocol as the firmware, so\nyou can work with no hardware.\n`go run .\u002Ftools\u002Fprintersim -url http:\u002F\u002F127.0.0.1:8080 -model MK4 -count 5`\nconnects five simulated printers to a running server. The\n[printer simulator](docs\u002Fsrc\u002Fcontent\u002Fdocs\u002Femulator.md) page has the details.\n\nWhere to find things:\n\n| folder | what it holds |\n| --- | --- |\n| `internal\u002F` | the core: printer connections, events, permissions and the HTTP API |\n| `sdk\u002F` | the contracts that extensions are built against |\n| `adapters\u002F` | the extensions built into the server: storage, databases, sign-in, cameras and event sinks |\n| `extensions\u002F` | modules maintained by Prusa, such as the slicer and fleet statistics |\n| `examples\u002F` | example drivers and modules to start from |\n| `frontend\u002F` | the web app |\n| `packages\u002F` | the TypeScript client, the Svelte component library, the lint and format configuration, and modules |\n| `docs\u002F` | the documentation |\n\n## Contributing\n\nBug reports and pull requests are welcome. For a larger change, open an\n[issue](https:\u002F\u002Fgithub.com\u002Fprusa3d\u002Fprusa-connect\u002Fissues) first, so we can agree\non the approach before you write the code.\n\nEvery author of a pull request signs the\n[contributor licence agreement](CLA.md) once, by a comment in the pull\nrequest. [CONTRIBUTING.md](CONTRIBUTING.md) says how.\n\n## Security\n\nPlease do not report a vulnerability in a public issue. [SECURITY.md](SECURITY.md)\nsays where to send it.\n\n## Licence\n\nReleased under **OCL v1.1 + Micro v1 + NoSaaS v1 + SWAtt v1**. That is the\n[Open Community License v1.1](https:\u002F\u002Fgithub.com\u002FOpenCommunityLicence\u002FOpenCommunityLicence)\nwith the Micro Business, Software Specific Use and Software Attribution\nadd-ons. [`LICENSE`](LICENSE) holds all four texts, and they are what counts.\nIn short:\n\n- For non-commercial use, you may use, copy, change and take the project apart\n  as you like. If you give out something you changed, you give it out under\n  the same licence and add-ons.\n- Whatever you give out names who made what it is built on. The name shows in\n  its user interface and in its source, for example \"built on Prusa Connect by\n  Prusa Research\".\n- A business may run it and change it for its own internal use, including its\n  own production. This holds up to one million euros of annual gross revenue,\n  affiliates included.\n- A business may not offer it to others as a service: no hosting it for third\n  parties and no exposing its functionality or its API to them.\n\nAnything beyond that, such as a larger business, a hosted service or copying it\ninto a commercial product, needs a separate business licence. Write to\n[sales@prusa3d.com](mailto:sales@prusa3d.com) for one.\n","Prusa Connect 是一个本地部署的3D打印机集中管理服务器，用于统一监控、控制和权限管理多台3D打印机。它以单二进制Go程序形式提供，支持Linux、Windows、macOS及树莓派，内置Prusa打印机驱动，并可通过扩展支持其他品牌；提供REST API、Server-Sent Events及MQTT\u002FAMQP\u002FKafka\u002FWebhook等事件集成能力，支持OpenID Connect登录与细粒度权限控制。适用于家庭工作室、教育实验室或小型制造团队等需离线、自主掌控打印数据与设备的场景。",2,"2026-11-24 04:52:39","CREATED_QUERY"]