• Stars
    star
    109
  • Rank 307,577 (Top 7 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated 19 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Prusa Web interface resources

PrusaLink Web

PrusaLink Web is a web interface for Prusa printers. Web interface is specified using the OpenAPI format in this file: spec/openapi.yaml.

Install

npm install

Commands

npm run {command}[:{config}] [option]

Where {command} is one of the following:

  • build -> build static files with production
  • start -> run a dev server, including virtual printer mockup
  • start [http-*] -> run a dev server with authentication

{config} is one of the following:

  • sl1 -> Prusa SL1 printer configuration (see config.sl1.js)
  • m1 -> Prusa SL1 printer configuration (see config.m1.js)
  • mini -> Prusa Mini printer configuration (see config.mini.js)
  • custom -> Tries to use custom configuration file config.custom.js (not a part of the git repository)
  • if not set, default configuration from webpack.config.js is being used

option is one of the following:

  • http-basic -> enables Basic authentication on virtual printer
  • http-apikey -> enables API-KEY authentication on virtual printer

Examples:

npm run build
npm run build:mini
npm run start
npm run start http-basic
npm run start http-apikey
npm run start:sl1

Custom backend (to try on real printer)

BACKEND_URL="http://192.168.1.100/" npm run start:mini

Translations

  1. Append all new keys in src/locales/source/en.json and add default english translation.
  2. Send src/locales/source/en.json file to the content
  3. Copy all files from translators in src/locales/source folder. Name of the files should be cs_CZ.json, en_US.json, ...
  4. Run src/locales/update_translations.py script to extract only used strings.
  5. Check the diff.
  6. Delete cs_CZ.json, en_US.json, ... files.
  7. Commit

Icons

  1. Add icons into the src/assets/ directory.
  2. Run the npm run recolor script, it will do the following:
    1. Fix the primary (orange) color to use only the correct one.
    2. Create a green version for m1 printers.

The script may not recognize the primary (orange) color. If that happens, you have two choices:

  1. Add this color into tools\recolor_icons\config\fix_primary_color.js.
  2. Or manually change the color of an icon and run the script again.

More Repositories

1

PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
C++
7,280
star
2

Prusa-Firmware

Firmware for Original Prusa i3 3D printer by PrusaResearch
C++
1,966
star
3

Original-Prusa-i3

Original Prusa i3 MK2 3D printer printed parts
OpenSCAD
1,553
star
4

Prusa-Firmware-Buddy

Firmware for the Original Prusa MINI, Original Prusa MK4 and the Original Prusa XL 3D printers by Prusa Research.
C
993
star
5

Original-Prusa-MINI

Original Prusa MINI 3D printer hardware
382
star
6

PrusaSlicer-settings

Prusa3D specific settings for the Slic3r Prusa Edition
347
star
7

Prusa-Link

Python
129
star
8

PrusaControl

PrusaControl is an alternative user interface for Slic3r Prusa Edition
Python
127
star
9

MM-control-01

MMU 3-axis stepper control
C++
91
star
10

Heatbed_MK52_magnetic

44
star
11

Original-Prusa-SL1

Original Prusa SL1 printer parts
43
star
12

libbgcode

Prusa Block & Binary G-code reader / writer / converter
G-code
40
star
13

MM-control-2.0

Multi Material 2.0 PCB board
HTML
35
star
14

Buddy-board-MINI-PCB

HTML
35
star
15

Prusa-Firmware-SL1

Original Prusa SL1 3D printer firmware
BitBake
33
star
16

PRUSA_Laser_filament_sensor

31
star
17

Prusa3D-Sample-Objects

30
star
18

MK3_Power_Panic

30
star
19

Prusa3D-Test-Objects

Testing and calibration objects/gcodes.
29
star
20

Prusa-Connect-SDK-Printer

Python printer library for Prusa Connect
Python
22
star
21

Prusa-Firmware-MMU

C
20
star
22

Prusa-Firmware-ESP32-Cam

Firmware for ESP32 Cam modules to be used in Prusa Connect
C++
20
star
23

Heatbed-Mini-PCB

HTML
16
star
24

MK2mm_Stepper_switch

rev 0.4
15
star
25

Prusa-ESP-Nic-FW

ESP8266 as generic network interface over UART
C
14
star
26

Prusa-CW-Firmware

Original Prusa Curing and Washing machine firmware
C++
13
star
27

Arduino_Boards

Board definitions for Arduino compatible boards manufactured by Prusa Research
C
13
star
28

PrusaControl-settings

11
star
29

Prusa-Error-Codes

Python
9
star
30

stk500v2-prusa

Prusa edition of STK500v2 bootloader
C
7
star
31

hackaton2019

Prusa Hackaton 2019 repository
C
5
star
32

Original-Prusa-CW1

Original Prusa CW1 parts
5
star
33

Prusa3D-Drivers

Prusa Drivers package
5
star
34

SL-CONTROLLER-PCB

HTML
4
star
35

SL-PS-PCB

HTML
3
star
36

CW-01-LED-PCB

HTML
3
star
37

CW-CONTROLLER-PCB

HTML
3
star
38

gcode-metadata

Python G-CODE metadata parsing library
G-code
3
star
39

avrdude

HTML
2
star
40

IR-MH-sensor-PCB

HTML
2
star
41

SL-USB-PCB

HTML
2
star
42

SL-LED-PCB

HTML
2
star
43

PF-build-env

C
1
star