• Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created almost 5 years ago
  • Updated 3 months 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,609
star
2

Prusa-Firmware

Firmware for Original Prusa i3 3D printer by PrusaResearch
C++
2,022
star
3

Original-Prusa-i3

Original Prusa i3 MK2 3D printer printed parts
OpenSCAD
1,588
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
1,151
star
5

Original-Prusa-MINI

Original Prusa MINI 3D printer hardware
382
star
6

PrusaSlicer-settings

Prusa3D specific settings for the Slic3r Prusa Edition
359
star
7

Prusa-Firmware-ESP32-Cam

Firmware for ESP32 Cam modules to be used in Prusa Connect
C++
177
star
8

Prusa-Link

Python
153
star
9

PrusaControl

PrusaControl is an alternative user interface for Slic3r Prusa Edition
Python
128
star
10

MM-control-01

MMU 3-axis stepper control
C++
92
star
11

libbgcode

Prusa Block & Binary G-code reader / writer / converter
G-code
47
star
12

Heatbed_MK52_magnetic

44
star
13

Original-Prusa-SL1

Original Prusa SL1 printer parts
43
star
14

Prusa-Firmware-SL1

Original Prusa SL1 3D printer firmware
BitBake
38
star
15

Buddy-board-MINI-PCB

HTML
35
star
16

MM-control-2.0

Multi Material 2.0 PCB board
HTML
35
star
17

Prusa-Firmware-MMU

C
34
star
18

MK3_Power_Panic

33
star
19

PRUSA_Laser_filament_sensor

31
star
20

Prusa3D-Test-Objects

Testing and calibration objects/gcodes.
31
star
21

Prusa3D-Sample-Objects

30
star
22

Prusa-Connect-SDK-Printer

Python printer library for Prusa Connect
Python
30
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
15
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
12
star
28

PrusaControl-settings

11
star
29

Prusa-Error-Codes

Python
9
star
30

stk500v2-prusa

Prusa edition of STK500v2 bootloader
C
8
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

gcode-metadata

Python G-CODE metadata parsing library
G-code
4
star
36

SL-PS-PCB

HTML
3
star
37

CW-01-LED-PCB

HTML
3
star
38

CW-CONTROLLER-PCB

HTML
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

Prusa-ESP32-Nic-FW

ESP32 as generic network interface over UART
C
1
star
44

PF-build-env

C
1
star
45

PrusaSlicer-settings-non-prusa-sla

1
star
46

PrusaSlicer-settings-non-prusa-fff

1
star
47

PrusaSlicer-settings-prusa-fff

1
star