Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9cc16911d | ||
|
|
9bd2f7bdf5 | ||
|
|
83347fa35d | ||
|
|
4eabaf3971 | ||
|
|
bb1b548db9 | ||
|
|
f693e40fc1 | ||
|
|
38c4da2f43 | ||
|
|
0ed0975005 | ||
|
|
97c06c3061 | ||
|
|
76727a82dc | ||
|
|
d8aea8feb7 | ||
|
|
57fbe9eb7c | ||
|
|
600186e895 | ||
|
|
f346db30fc | ||
|
|
598a7fe94f | ||
|
|
6096704fe5 | ||
|
|
a0a3aa79ac | ||
|
|
1919aa6921 | ||
|
|
576e0eaada | ||
|
|
bf5851264d | ||
|
|
1cbe7d1164 | ||
|
|
84eed4c190 | ||
|
|
11f46e8ec8 | ||
|
|
abb19a4ac9 | ||
|
|
5f0b628f6e | ||
|
|
f6679effd9 | ||
|
|
ee4a07c9b2 | ||
|
|
b49c57405c | ||
|
|
71db147a19 | ||
|
|
8a66899837 | ||
|
|
64d6dd596d | ||
|
|
091b78c569 | ||
|
|
5e09f52a79 | ||
|
|
ddbab8538a | ||
|
|
2865a8f83a | ||
|
|
b09615dc2f | ||
|
|
365ed2cda7 | ||
|
|
d578c9105c | ||
|
|
3df44b05e2 | ||
|
|
025921e84a | ||
|
|
f0fbce478d | ||
|
|
e814ea5169 | ||
|
|
6825f6c39e | ||
|
|
4728eb41b7 | ||
|
|
e88a64ecc5 | ||
|
|
3b170b1e0d | ||
|
|
263b2d245c | ||
|
|
69f89ab162 | ||
|
|
0f47a452db | ||
|
|
96db215171 | ||
|
|
3dbca5ed02 | ||
|
|
5bac81339f | ||
|
|
01641941ba | ||
|
|
f4e418b644 | ||
|
|
56c09ac11f | ||
|
|
16e7f03dce | ||
|
|
9d24bd0c9d | ||
|
|
36c2678b29 | ||
|
|
451d2ec5ac | ||
|
|
e9929cd1bf | ||
|
|
95fb7d4f70 | ||
|
|
afaff38265 | ||
|
|
52089368d5 | ||
|
|
2761e7a3c4 | ||
|
|
2d3e118d36 | ||
|
|
542dd1d9c4 | ||
|
|
b270c2ea29 | ||
|
|
1dbbedfee7 | ||
|
|
86d45b8507 | ||
|
|
87f85d9dee | ||
|
|
a28ca91f73 | ||
|
|
f970d0ae34 | ||
|
|
c078471360 | ||
|
|
f7a3488d32 | ||
|
|
84130f2891 | ||
|
|
00722ab1ca | ||
|
|
fe05d5c489 | ||
|
|
85770b8489 | ||
|
|
09c370630f | ||
|
|
8d0add6d41 | ||
|
|
b720d8319a | ||
|
|
e0b87dc905 | ||
|
|
7e50c1fe86 | ||
|
|
8f6ccf320f | ||
|
|
db22c444e2 | ||
|
|
dc977a7c32 | ||
|
|
9e88b7125f | ||
|
|
3a3699e97d | ||
|
|
59fc47cdc7 | ||
|
|
d3fe17f451 | ||
|
|
d8eb7038e8 | ||
|
|
be056e76b6 | ||
|
|
09f4703e46 | ||
|
|
60e51a471b | ||
|
|
53eec45a1a | ||
|
|
dfa003624c | ||
|
|
93f76ab6f4 | ||
|
|
55a82ed4a1 | ||
|
|
c988b4fb2c | ||
|
|
3da9dd22b0 | ||
|
|
40ade2050f | ||
|
|
336c82ad55 | ||
|
|
b2a953f79a | ||
|
|
31ababd23d | ||
|
|
55800c3ba6 | ||
|
|
f3110e3587 | ||
|
|
bab3680bc0 | ||
|
|
8af31e5f36 | ||
|
|
5f40b23fa0 | ||
|
|
550fb88e63 | ||
|
|
93ccb16b15 | ||
|
|
099578333d | ||
|
|
36a4fc2805 | ||
|
|
c17951b53d | ||
|
|
88afe071e1 | ||
|
|
b3e9d85701 | ||
|
|
5a8a42cfdd | ||
|
|
d47b578ddc | ||
|
|
cf7fa3009e | ||
|
|
433bba21fe | ||
|
|
54c3511572 | ||
|
|
a3c9a235e6 | ||
|
|
9d065acabd | ||
|
|
8eee177c6c | ||
|
|
9289dea1b0 | ||
|
|
dfe2e8ccf6 | ||
|
|
7735bedc51 | ||
|
|
4eb157f1b0 | ||
|
|
ddd0c61c26 | ||
|
|
f726ec987d | ||
|
|
08900f5442 | ||
|
|
44dec77ad5 | ||
|
|
41c356bab2 | ||
|
|
f1eca15c2d | ||
|
|
cae2bfd2cb | ||
|
|
fcbdd18d04 | ||
|
|
b2f36b84d9 | ||
|
|
b2055ed879 | ||
|
|
9866030255 | ||
|
|
b45497fb9c | ||
|
|
2d74a55026 | ||
|
|
5c2d37b59b | ||
|
|
b320ba4d60 | ||
|
|
b21231dbd3 | ||
|
|
761f08b87d | ||
|
|
0edb9dd1d2 | ||
|
|
c6e6794f0a | ||
|
|
51dda65a6e | ||
|
|
10ab6ec088 | ||
|
|
8af80463c3 | ||
|
|
cca33770fc | ||
|
|
85de19ffeb | ||
|
|
5528988566 | ||
|
|
133bd5598b | ||
|
|
fcf5d38dce | ||
|
|
94363d5810 | ||
|
|
451e4d2266 | ||
|
|
d9e7ff9606 | ||
|
|
ecae7345ea | ||
|
|
fe32007582 | ||
|
|
641fcfb854 | ||
|
|
3b5723d7ee | ||
|
|
f50bb9d3ae | ||
|
|
39c2b51faa | ||
|
|
0d9af550a7 | ||
|
|
138b9a9e70 | ||
|
|
33d431bf3a | ||
|
|
cd6edc33ea | ||
|
|
59543418b0 | ||
|
|
7bbf77885d | ||
|
|
9fc16ffe43 | ||
|
|
721964cf2c | ||
|
|
39eb654b96 | ||
|
|
f70a1813f4 | ||
|
|
5eb30ce4bb | ||
|
|
0b5188d187 | ||
|
|
f943c24086 | ||
|
|
98b8c5ce51 | ||
|
|
4e06616611 | ||
|
|
ecb88c7092 | ||
|
|
5b24071b94 | ||
|
|
d643e63017 | ||
|
|
e61274938d | ||
|
|
63d55993b5 | ||
|
|
41f625efa5 | ||
|
|
ac963a7547 | ||
|
|
261794630d | ||
|
|
3972404c5a | ||
|
|
1764a6ab4d | ||
|
|
56b9172efa | ||
|
|
7ebb947a58 | ||
|
|
1486f1a1fd | ||
|
|
758932c4af | ||
|
|
0dfb06d656 | ||
|
|
d7125e0f8a | ||
|
|
657f9392a2 | ||
|
|
95d3db49c5 | ||
|
|
ed3aca4a8b | ||
|
|
f147dc7810 | ||
|
|
da61946bc1 | ||
|
|
4260192e9c | ||
|
|
bbdbde3869 | ||
|
|
0c10c178aa | ||
|
|
4cdb0b1697 | ||
|
|
8cb410b99e | ||
|
|
31d898c6ef | ||
|
|
f43a6d9c37 | ||
|
|
88d1debd73 | ||
|
|
286523a997 | ||
|
|
62f4a602d9 | ||
|
|
38fa2bd75b | ||
|
|
9db7638495 | ||
|
|
8e77e84a6e | ||
|
|
45f726159b | ||
|
|
4119955399 | ||
|
|
aa803727af | ||
|
|
fafd10555d | ||
|
|
322bbcb33b | ||
|
|
4224553710 | ||
|
|
76aec74e92 | ||
|
|
2ca5adecaa | ||
|
|
9a218c516e | ||
|
|
ef732ebc87 | ||
|
|
b1e13bce28 | ||
|
|
9f7dc5effb | ||
|
|
58c0aa216d | ||
|
|
914a4baad7 | ||
|
|
3b86377b58 | ||
|
|
4e7f7310dd | ||
|
|
40293a22d1 | ||
|
|
bc458a11af | ||
|
|
68a957b43b | ||
|
|
21056ff01a | ||
|
|
a940115e4e | ||
|
|
8ab94747eb | ||
|
|
6ea4caf28d | ||
|
|
cc20cf4128 | ||
|
|
27a3c17ec8 | ||
|
|
55ae82e4cf | ||
|
|
e864356f26 | ||
|
|
30875ffb5d | ||
|
|
a966c41561 | ||
|
|
9325e9d93a | ||
|
|
437f459b94 | ||
|
|
0430eee826 | ||
|
|
0825d85000 | ||
|
|
42c353df20 | ||
|
|
78549ef587 | ||
|
|
f16d80745a | ||
|
|
70903ae3cf | ||
|
|
309fc4eee2 | ||
|
|
fed5956500 | ||
|
|
cfaae9831e | ||
|
|
526c1800f2 | ||
|
|
2bf8f8e8e2 | ||
|
|
7750a897e2 | ||
|
|
80c53494f9 | ||
|
|
4ee0f4bd46 | ||
|
|
6d90d320d8 | ||
|
|
b1345d09fa | ||
|
|
b0ebc2eee1 | ||
|
|
9856f5d4db | ||
|
|
00574006b3 | ||
|
|
1854c04d7a | ||
|
|
ab6e0c07dc | ||
|
|
3850d6773a | ||
|
|
e22a88d397 | ||
|
|
08b783c160 | ||
|
|
a9d82f547d | ||
|
|
b009aa17ed | ||
|
|
50767fdd44 | ||
|
|
f203cfed0e | ||
|
|
4ed0ec9c52 | ||
|
|
ad56a0e223 | ||
|
|
dd3ef0f81f | ||
|
|
54205d940a | ||
|
|
893a903ce7 | ||
|
|
68b1863ca1 | ||
|
|
ba6700b80c | ||
|
|
a861e74183 | ||
|
|
0ba6455513 | ||
|
|
b0ae84e54c | ||
|
|
64f62c575e | ||
|
|
7eaf8a492a | ||
|
|
281385bf41 | ||
|
|
40cc81077f | ||
|
|
ba7454da11 | ||
|
|
be12d53c0e | ||
|
|
b84fc03c91 | ||
|
|
1736a5163b | ||
|
|
d470d42b6d | ||
|
|
5fc2d5c775 | ||
|
|
29869b47e3 | ||
|
|
3c7dc54bea | ||
|
|
b51eae1740 | ||
|
|
9dffb3079e | ||
|
|
dc0fb853bc | ||
|
|
91dc42e47e | ||
|
|
402ea9f1cd | ||
|
|
d6c73ce012 | ||
|
|
becef8f1ea | ||
|
|
f4656c7150 | ||
|
|
79b529eb1e | ||
|
|
16efdc6042 | ||
|
|
36a29eb629 | ||
|
|
07094a52dd | ||
|
|
5363322681 | ||
|
|
48403d09cc | ||
|
|
80ded1b9ff | ||
|
|
c4ccfce216 | ||
|
|
f2ea6c039f | ||
|
|
1a18af1569 | ||
|
|
d953cab29c | ||
|
|
222bd60d9e | ||
|
|
85bd5279f5 | ||
|
|
a0d21f6664 | ||
|
|
8b7756aea7 | ||
|
|
fe1f659c51 | ||
|
|
c2eeabe165 | ||
|
|
fbdacef932 | ||
|
|
c22d0c2040 | ||
|
|
c63fd161c2 | ||
|
|
eac1d69cf7 | ||
|
|
01df98b8ec | ||
|
|
fa01bfac39 | ||
|
|
8bce2467a0 | ||
|
|
626d76e852 | ||
|
|
0895026c02 | ||
|
|
0b2d17d633 | ||
|
|
e2125f3c0d | ||
|
|
12a89c93a9 | ||
|
|
b8e7bab442 | ||
|
|
be821f913d | ||
|
|
8047b7703c | ||
|
|
baa4d9b416 | ||
|
|
2be28ab463 | ||
|
|
cbd9d6ea75 | ||
|
|
b204373dd9 | ||
|
|
5b2dad6c32 | ||
|
|
14195daa5a | ||
|
|
389c162878 | ||
|
|
1217927fae | ||
|
|
306d510719 | ||
|
|
a3d4497577 | ||
|
|
518af48843 | ||
|
|
46728ded75 | ||
|
|
7c07db946d | ||
|
|
a167a14f12 | ||
|
|
9a84111fb3 | ||
|
|
81541d33f7 | ||
|
|
7e471ab995 | ||
|
|
7b1ff60adc | ||
|
|
c00da9bae3 | ||
|
|
a2fae98f28 | ||
|
|
cb6706415e | ||
|
|
e872c3e975 | ||
|
|
be52358121 | ||
|
|
2db574effd | ||
|
|
0128831423 | ||
|
|
ab79857fbe | ||
|
|
93f71e1f18 | ||
|
|
184d2430c4 | ||
|
|
a37eb272ac | ||
|
|
7e48b08f81 | ||
|
|
d1d84953a1 | ||
|
|
502b5ac7c1 | ||
|
|
d8dff1affa | ||
|
|
6aa99bc75f | ||
|
|
ac24c8a47a | ||
|
|
8ccd018c21 | ||
|
|
fcc298a8a3 | ||
|
|
3bc80e4a97 | ||
|
|
baa7cb2d19 | ||
|
|
ecc406788d | ||
|
|
d9a4fab307 | ||
|
|
f51d35d101 | ||
|
|
f04802a1c0 | ||
|
|
0a32aaa875 | ||
|
|
2634b37755 | ||
|
|
aaf50a403d | ||
|
|
5f06da45cf | ||
|
|
6bfb20766a | ||
|
|
33bc3673ae | ||
|
|
616c7aa7f4 | ||
|
|
d6cd1c81fb | ||
|
|
74f104f1a4 | ||
|
|
9ccc3f69a3 | ||
|
|
0d2f9bd8d8 | ||
|
|
28aa03a55f | ||
|
|
d891ec0800 | ||
|
|
767a9403fd | ||
|
|
6fb8d16143 | ||
|
|
0cffe5f235 | ||
|
|
f634872297 | ||
|
|
91014a7349 | ||
|
|
850eecd600 | ||
|
|
fff66f0c3b | ||
|
|
3749b76162 | ||
|
|
88ac7a5cae | ||
|
|
eb123ffc01 | ||
|
|
411087434c | ||
|
|
8db37259e1 | ||
|
|
3a03d93fef | ||
|
|
42071ae422 | ||
|
|
aeb6ae1ec9 | ||
|
|
837f6641d0 | ||
|
|
7a139d68c5 | ||
|
|
24bfb8bc58 | ||
|
|
390bb40c69 | ||
|
|
84470463fe | ||
|
|
f9c989793c |
No files matched your search
@@ -5,4 +5,11 @@ VUE_APP_HOSTNAME=printer.local
|
||||
VUE_APP_PORT=7125
|
||||
|
||||
# reconnect interval in ms
|
||||
VUE_APP_RECONNECT_INTERVAL=5000
|
||||
VUE_APP_RECONNECT_INTERVAL=5000
|
||||
|
||||
# remote mode
|
||||
VUE_APP_REMOTE_MODE=false
|
||||
|
||||
# defaults for multi language tests
|
||||
VUE_APP_I18N_LOCALE=en
|
||||
VUE_APP_I18N_FALLBACK_LOCALE=en
|
||||
@@ -9,5 +9,14 @@ temp
|
||||
.version
|
||||
.versions
|
||||
.changelog
|
||||
.idea
|
||||
package-lock.json
|
||||
*.local
|
||||
*.local
|
||||
docker/gcode
|
||||
docker/logs
|
||||
docker/moonraker
|
||||
docker/config/**/*
|
||||
docker/config/*.cfg
|
||||
docker/config/*.conf
|
||||
docker/config/.mainsail.json
|
||||
docker/config/.theme
|
||||
@@ -1,12 +1,39 @@
|
||||
# Mainsail
|
||||
Mainsail is a lightweight & responsive web interface for the [Klipper](https://github.com/KevinOConnor/klipper)
|
||||
3D printer firmware. It communicates with the [Moonraker (Klipper-API)](https://github.com/arksine/moonraker) from [Arksine](https://github.com/arksine).
|
||||
|
||||
Mainsail a lightweight & responsive web interface for [Klipper](https://github.com/KevinOConnor/klipper), the 3D printer firmware. It communicates with [Moonraker (Klipper-API)](https://github.com/arksine/moonraker) from [Arksine](https://github.com/arksine).
|
||||
|
||||
[Getting Started](https://docs.mainsail.xyz/setup)
|
||||
|
||||
Mainsail is also available in remote mode on [http://my.mainsail.xyz](http://my.mainsail.xyz). Find out [more](https://docs.mainsail.xyz/setup#mymainsailxyz).
|
||||
|
||||
[Documentation](https://docs.mainsail.xyz)
|
||||
[Release Notes](https://github.com/meteyou/mainsail/releases)
|
||||
|
||||
## Screenshots
|
||||

|
||||
|
||||
To begin using Mainsail start by [installing](https://meteyou.github.io/mainsail/setup/) it or read the [pages](https://meteyou.github.io/mainsail/) for more informations.
|
||||
## Features
|
||||
- Optimized for desktops, tablets and mobile devices
|
||||
- Supports multiple 3D printers (Printer Farm)
|
||||
- Localization (i18n)
|
||||
- File Manager (gcode and config files)
|
||||
- File Editor (gcode and config files)
|
||||
- Print History / Stats
|
||||
- Temperature Presets (with custom gcode)
|
||||
- Bed Mesh Leveling
|
||||
- Multi-Webcam support
|
||||
- Control power devices (relays, TPLink, Tasmota, ..)
|
||||
- Customizable UI (logos, backgrounds & even custom css)
|
||||
|
||||
For support join our discord server -> [https://discord.gg/skWTwTD](https://discord.gg/skWTwTD)
|
||||
## Get support & assistance
|
||||
Do you need help or just want to talk? Join us on [Discord](https://discord.gg/skWTwTD). We have a very active community.
|
||||
Have you found a bug? Then we would like you to create an [issue](https://github.com/meteyou/mainsail/issues).
|
||||
|
||||
## Support this project
|
||||
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
|
||||
|
||||
- [Patreon (recurring)](https://patreon.com/meteyou)
|
||||
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail)
|
||||
|
||||
## Credit, sources and inspiration
|
||||
* [Kevin O'Connor](https://github.com/KevinOConnor) for the awesome 3D printer firmware [Klipper](https://github.com/KevinOConnor/klipper)
|
||||
@@ -15,4 +42,6 @@ For support join our discord server -> [https://discord.gg/skWTwTD](https://disc
|
||||
* [Vue.js](https://vuejs.org/): The Progressive JavaScript Framework
|
||||
* [Vuetify](https://vuetifyjs.com/): Material Design Component Framework for Vue.js
|
||||
|
||||
Massive thanks to the whole [Voron Design](http://vorondesign.com/) community. Without them such a project would not be possible.
|
||||
Massive thanks to the whole [Voron Design](http://vorondesign.com/) community. Without them such a project would not be possible.
|
||||
|
||||
[Full Credits & Licenseinformation](https://docs.mainsail.xyz/credits)
|
||||
@@ -0,0 +1,590 @@
|
||||
const converter = require('monaco-vscode-textmate-theme-converter');
|
||||
const fs = require('fs');
|
||||
|
||||
const converted = converter.convertTheme({
|
||||
"$schema": "vscode://schemas/color-theme",
|
||||
"type": "dark",
|
||||
"colors": {
|
||||
"activityBarBadge.background": "#007acc",
|
||||
"editor.background": "#1e1e1e",
|
||||
"editor.foreground": "#d4d4d4",
|
||||
"editor.inactiveSelectionBackground": "#3a3d41",
|
||||
"editor.selectionHighlightBackground": "#add6ff26",
|
||||
"editorIndentGuide.activeBackground": "#707070",
|
||||
"editorIndentGuide.background": "#404040",
|
||||
"input.placeholderForeground": "#a6a6a6",
|
||||
"list.dropBackground": "#383b3d",
|
||||
"menu.background": "#252526",
|
||||
"menu.foreground": "#cccccc",
|
||||
"sideBarSectionHeader.background": "#00000000",
|
||||
"sideBarSectionHeader.border": "#cccccc33",
|
||||
"sideBarTitle.foreground": "#bbbbbb",
|
||||
"statusBarItem.remoteBackground": "#16825d",
|
||||
"statusBarItem.remoteForeground": "#ffffff",
|
||||
"tab.lastPinnedBorder": "#cccccc33",
|
||||
},
|
||||
"tokenColors": [
|
||||
{
|
||||
"scope": [
|
||||
"meta.embedded",
|
||||
"source.groovy.embedded"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#D4D4D4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "emphasis",
|
||||
"settings": {
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "strong",
|
||||
"settings": {
|
||||
"fontStyle": "bold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "header",
|
||||
"settings": {
|
||||
"foreground": "#000080"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "comment",
|
||||
"settings": {
|
||||
"foreground": "#6A9955"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "constant.language",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"constant.numeric",
|
||||
"variable.other.enummember",
|
||||
"keyword.operator.plus.exponent",
|
||||
"keyword.operator.minus.exponent"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#B5CEA8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "constant.regexp",
|
||||
"settings": {
|
||||
"foreground": "#646695"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "entity.name.tag",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "entity.name.tag.css",
|
||||
"settings": {
|
||||
"foreground": "#D7BA7D"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "entity.other.attribute-name",
|
||||
"settings": {
|
||||
"foreground": "#9CDCFE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"entity.other.attribute-name.class.css",
|
||||
"entity.other.attribute-name.class.mixin.css",
|
||||
"entity.other.attribute-name.id.css",
|
||||
"entity.other.attribute-name.parent-selector.css",
|
||||
"entity.other.attribute-name.pseudo-class.css",
|
||||
"entity.other.attribute-name.pseudo-element.css",
|
||||
"source.css.less entity.other.attribute-name.id",
|
||||
"entity.other.attribute-name.scss"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#D7BA7D"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "invalid",
|
||||
"settings": {
|
||||
"foreground": "#F44747"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "markup.underline",
|
||||
"settings": {
|
||||
"fontStyle": "underline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "markup.bold",
|
||||
"settings": {
|
||||
"foreground": "#569CD6",
|
||||
"fontStyle": "bold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "markup.heading",
|
||||
"settings": {
|
||||
"foreground": "#569CD6",
|
||||
"fontStyle": "bold"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "markup.italic",
|
||||
"settings": {
|
||||
"fontStyle": "italic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "markup.inserted",
|
||||
"settings": {
|
||||
"foreground": "#B5CEA8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "markup.deleted",
|
||||
"settings": {
|
||||
"foreground": "#CE9178"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "markup.changed",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "punctuation.definition.quote.begin.markdown",
|
||||
"settings": {
|
||||
"foreground": "#6A9955"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "punctuation.definition.list.begin.markdown",
|
||||
"settings": {
|
||||
"foreground": "#6796E6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "markup.inline.raw",
|
||||
"settings": {
|
||||
"foreground": "#CE9178"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "punctuation.definition.tag",
|
||||
"settings": {
|
||||
"foreground": "#808080"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.preprocessor",
|
||||
"entity.name.function.preprocessor"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "meta.preprocessor.string",
|
||||
"settings": {
|
||||
"foreground": "#CE9178"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "meta.preprocessor.numeric",
|
||||
"settings": {
|
||||
"foreground": "#B5CEA8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "meta.structure.dictionary.key.python",
|
||||
"settings": {
|
||||
"foreground": "#9CDCFE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "meta.diff.header",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "storage",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "storage.type",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"storage.modifier",
|
||||
"keyword.operator.noexcept"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"string",
|
||||
"meta.embedded.assembly"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#CE9178"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "string.tag",
|
||||
"settings": {
|
||||
"foreground": "#CE9178"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "string.value",
|
||||
"settings": {
|
||||
"foreground": "#CE9178"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "string.regexp",
|
||||
"settings": {
|
||||
"foreground": "#D16969"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"punctuation.definition.template-expression.begin",
|
||||
"punctuation.definition.template-expression.end",
|
||||
"punctuation.section.embedded"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.template.expression"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#D4D4D4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"support.type.vendored.property-name",
|
||||
"support.type.property-name",
|
||||
"variable.css",
|
||||
"variable.scss",
|
||||
"variable.other.less",
|
||||
"source.coffee.embedded"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#9CDCFE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "keyword",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "keyword.control",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "keyword.operator",
|
||||
"settings": {
|
||||
"foreground": "#D4D4D4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"keyword.operator.new",
|
||||
"keyword.operator.expression",
|
||||
"keyword.operator.cast",
|
||||
"keyword.operator.sizeof",
|
||||
"keyword.operator.alignof",
|
||||
"keyword.operator.typeid",
|
||||
"keyword.operator.alignas",
|
||||
"keyword.operator.instanceof",
|
||||
"keyword.operator.logical.python",
|
||||
"keyword.operator.wordlike"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "keyword.other.unit",
|
||||
"settings": {
|
||||
"foreground": "#B5CEA8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"punctuation.section.embedded.begin.php",
|
||||
"punctuation.section.embedded.end.php"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "support.function.git-rebase",
|
||||
"settings": {
|
||||
"foreground": "#9CDCFE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "constant.sha.git-rebase",
|
||||
"settings": {
|
||||
"foreground": "#B5CEA8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"storage.modifier.import.java",
|
||||
"variable.language.wildcard.java",
|
||||
"storage.modifier.package.java"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#D4D4D4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "variable.language",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"entity.name.function",
|
||||
"support.function",
|
||||
"support.constant.handlebars",
|
||||
"source.powershell variable.other.member",
|
||||
"entity.name.operator.custom-literal"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#DCDCAA"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.return-type",
|
||||
"support.class",
|
||||
"support.type",
|
||||
"entity.name.type",
|
||||
"entity.name.namespace",
|
||||
"entity.other.attribute",
|
||||
"entity.name.scope-resolution",
|
||||
"entity.name.class",
|
||||
"storage.type.numeric.go",
|
||||
"storage.type.byte.go",
|
||||
"storage.type.boolean.go",
|
||||
"storage.type.string.go",
|
||||
"storage.type.uintptr.go",
|
||||
"storage.type.error.go",
|
||||
"storage.type.rune.go",
|
||||
"storage.type.cs",
|
||||
"storage.type.generic.cs",
|
||||
"storage.type.modifier.cs",
|
||||
"storage.type.variable.cs",
|
||||
"storage.type.annotation.java",
|
||||
"storage.type.generic.java",
|
||||
"storage.type.java",
|
||||
"storage.type.object.array.java",
|
||||
"storage.type.primitive.array.java",
|
||||
"storage.type.primitive.java",
|
||||
"storage.type.token.java",
|
||||
"storage.type.groovy",
|
||||
"storage.type.annotation.groovy",
|
||||
"storage.type.parameters.groovy",
|
||||
"storage.type.generic.groovy",
|
||||
"storage.type.object.array.groovy",
|
||||
"storage.type.primitive.array.groovy",
|
||||
"storage.type.primitive.groovy"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#4EC9B0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.type.cast.expr",
|
||||
"meta.type.new.expr",
|
||||
"support.constant.math",
|
||||
"support.constant.dom",
|
||||
"support.constant.json",
|
||||
"entity.other.inherited-class"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#4EC9B0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"keyword.control",
|
||||
"source.cpp keyword.operator.new",
|
||||
"keyword.operator.delete",
|
||||
"keyword.other.using",
|
||||
"keyword.other.operator",
|
||||
"entity.name.operator"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#C586C0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"variable",
|
||||
"meta.definition.variable.name",
|
||||
"support.variable",
|
||||
"entity.name.variable"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#9CDCFE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"variable.other.constant",
|
||||
"variable.other.enummember"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#4FC1FF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.object-literal.key"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#9CDCFE"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"support.constant.property-value",
|
||||
"support.constant.font-name",
|
||||
"support.constant.media-type",
|
||||
"support.constant.media",
|
||||
"constant.other.color.rgb-value",
|
||||
"constant.other.rgb-value",
|
||||
"support.constant.color"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#CE9178"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"punctuation.definition.group.regexp",
|
||||
"punctuation.definition.group.assertion.regexp",
|
||||
"punctuation.definition.character-class.regexp",
|
||||
"punctuation.character.set.begin.regexp",
|
||||
"punctuation.character.set.end.regexp",
|
||||
"keyword.operator.negation.regexp",
|
||||
"support.other.parenthesis.regexp"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#CE9178"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"constant.character.character-class.regexp",
|
||||
"constant.other.character-class.set.regexp",
|
||||
"constant.other.character-class.regexp",
|
||||
"constant.character.set.regexp"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#D16969"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"keyword.operator.or.regexp",
|
||||
"keyword.control.anchor.regexp"
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#DCDCAA"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "keyword.operator.quantifier.regexp",
|
||||
"settings": {
|
||||
"foreground": "#D7BA7D"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "constant.character",
|
||||
"settings": {
|
||||
"foreground": "#569CD6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "constant.character.escape",
|
||||
"settings": {
|
||||
"foreground": "#D7BA7D"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "entity.name.label",
|
||||
"settings": {
|
||||
"foreground": "#C8C8C8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "token.info-token",
|
||||
"settings": {
|
||||
"foreground": "#6796E6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "token.warn-token",
|
||||
"settings": {
|
||||
"foreground": "#CD9731"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "token.error-token",
|
||||
"settings": {
|
||||
"foreground": "#F44747"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scope": "token.debug-token",
|
||||
"settings": {
|
||||
"foreground": "#B267E6"
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
fs.writeFile('converted.json', JSON.stringify(converted), (err) => {
|
||||
if (err) {
|
||||
throw err;
|
||||
}
|
||||
console.log('converted');
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
{"inherit":false,"base":"vs-dark","colors":{"activityBarBadge.background":"#007acc","editor.background":"#1e1e1e","editor.foreground":"#d4d4d4","editor.inactiveSelectionBackground":"#3a3d41","editor.selectionHighlightBackground":"#add6ff26","editorIndentGuide.activeBackground":"#707070","editorIndentGuide.background":"#404040","input.placeholderForeground":"#a6a6a6","list.dropBackground":"#383b3d","menu.background":"#252526","menu.foreground":"#cccccc","sideBarSectionHeader.background":"#00000000","sideBarSectionHeader.border":"#cccccc33","sideBarTitle.foreground":"#bbbbbb","statusBarItem.remoteBackground":"#16825d","statusBarItem.remoteForeground":"#ffffff","tab.lastPinnedBorder":"#cccccc33"},"rules":[{"foreground":"#D4D4D4","token":"meta.embedded"},{"foreground":"#D4D4D4","token":"source.groovy.embedded"},{"fontStyle":"italic","token":"emphasis"},{"fontStyle":"bold","token":"strong"},{"foreground":"#000080","token":"header"},{"foreground":"#6A9955","token":"comment"},{"foreground":"#569CD6","token":"constant.language"},{"foreground":"#B5CEA8","token":"constant.numeric"},{"foreground":"#B5CEA8","token":"variable.other.enummember"},{"foreground":"#B5CEA8","token":"keyword.operator.plus.exponent"},{"foreground":"#B5CEA8","token":"keyword.operator.minus.exponent"},{"foreground":"#646695","token":"constant.regexp"},{"foreground":"#569CD6","token":"entity.name.tag"},{"foreground":"#D7BA7D","token":"entity.name.tag.css"},{"foreground":"#9CDCFE","token":"entity.other.attribute-name"},{"foreground":"#D7BA7D","token":"entity.other.attribute-name.class.css"},{"foreground":"#D7BA7D","token":"entity.other.attribute-name.class.mixin.css"},{"foreground":"#D7BA7D","token":"entity.other.attribute-name.id.css"},{"foreground":"#D7BA7D","token":"entity.other.attribute-name.parent-selector.css"},{"foreground":"#D7BA7D","token":"entity.other.attribute-name.pseudo-class.css"},{"foreground":"#D7BA7D","token":"entity.other.attribute-name.pseudo-element.css"},{"foreground":"#D7BA7D","token":"source.css.less entity.other.attribute-name.id"},{"foreground":"#D7BA7D","token":"entity.other.attribute-name.scss"},{"foreground":"#F44747","token":"invalid"},{"fontStyle":"underline","token":"markup.underline"},{"foreground":"#569CD6","fontStyle":"bold","token":"markup.bold"},{"foreground":"#569CD6","fontStyle":"bold","token":"markup.heading"},{"fontStyle":"italic","token":"markup.italic"},{"foreground":"#B5CEA8","token":"markup.inserted"},{"foreground":"#CE9178","token":"markup.deleted"},{"foreground":"#569CD6","token":"markup.changed"},{"foreground":"#6A9955","token":"punctuation.definition.quote.begin.markdown"},{"foreground":"#6796E6","token":"punctuation.definition.list.begin.markdown"},{"foreground":"#CE9178","token":"markup.inline.raw"},{"foreground":"#808080","token":"punctuation.definition.tag"},{"foreground":"#569CD6","token":"meta.preprocessor"},{"foreground":"#569CD6","token":"entity.name.function.preprocessor"},{"foreground":"#CE9178","token":"meta.preprocessor.string"},{"foreground":"#B5CEA8","token":"meta.preprocessor.numeric"},{"foreground":"#9CDCFE","token":"meta.structure.dictionary.key.python"},{"foreground":"#569CD6","token":"meta.diff.header"},{"foreground":"#569CD6","token":"storage"},{"foreground":"#569CD6","token":"storage.type"},{"foreground":"#569CD6","token":"storage.modifier"},{"foreground":"#569CD6","token":"keyword.operator.noexcept"},{"foreground":"#CE9178","token":"string"},{"foreground":"#CE9178","token":"meta.embedded.assembly"},{"foreground":"#CE9178","token":"string.tag"},{"foreground":"#CE9178","token":"string.value"},{"foreground":"#D16969","token":"string.regexp"},{"foreground":"#569CD6","token":"punctuation.definition.template-expression.begin"},{"foreground":"#569CD6","token":"punctuation.definition.template-expression.end"},{"foreground":"#569CD6","token":"punctuation.section.embedded"},{"foreground":"#D4D4D4","token":"meta.template.expression"},{"foreground":"#9CDCFE","token":"support.type.vendored.property-name"},{"foreground":"#9CDCFE","token":"support.type.property-name"},{"foreground":"#9CDCFE","token":"variable.css"},{"foreground":"#9CDCFE","token":"variable.scss"},{"foreground":"#9CDCFE","token":"variable.other.less"},{"foreground":"#9CDCFE","token":"source.coffee.embedded"},{"foreground":"#569CD6","token":"keyword"},{"foreground":"#569CD6","token":"keyword.control"},{"foreground":"#D4D4D4","token":"keyword.operator"},{"foreground":"#569CD6","token":"keyword.operator.new"},{"foreground":"#569CD6","token":"keyword.operator.expression"},{"foreground":"#569CD6","token":"keyword.operator.cast"},{"foreground":"#569CD6","token":"keyword.operator.sizeof"},{"foreground":"#569CD6","token":"keyword.operator.alignof"},{"foreground":"#569CD6","token":"keyword.operator.typeid"},{"foreground":"#569CD6","token":"keyword.operator.alignas"},{"foreground":"#569CD6","token":"keyword.operator.instanceof"},{"foreground":"#569CD6","token":"keyword.operator.logical.python"},{"foreground":"#569CD6","token":"keyword.Line truncated
|
||||
@@ -0,0 +1,34 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
api:
|
||||
build:
|
||||
context: ./docker
|
||||
dockerfile: api/Dockerfile
|
||||
image: mainsail-stack-api/1
|
||||
volumes:
|
||||
- ./docker/config:/home/node/printer_config
|
||||
- ./docker/logs:/tmp/logs
|
||||
- ./docker/gcode:/home/node/gcode
|
||||
- ./docker/config/moonraker:/home/node/.moonraker_database
|
||||
container_name: ${APP_NAME}-stack-api
|
||||
ports:
|
||||
- 7125:7125
|
||||
networks:
|
||||
- dev_net
|
||||
application:
|
||||
build:
|
||||
context: ./docker
|
||||
dockerfile: Dockerfile
|
||||
image: mainsail-stack-npm/1
|
||||
volumes:
|
||||
- ./:/home/node/mainsail
|
||||
container_name: ${APP_NAME}-stack-npm
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
- api
|
||||
networks:
|
||||
- dev_net
|
||||
networks:
|
||||
dev_net:
|
||||
driver: bridge
|
||||
@@ -0,0 +1,15 @@
|
||||
FROM node:buster AS base
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y zip
|
||||
|
||||
COPY start-npm /usr/local/bin/start-npm
|
||||
RUN chmod +x /usr/local/bin/start-npm
|
||||
|
||||
USER node
|
||||
|
||||
WORKDIR /home/node/mainsail
|
||||
|
||||
ENTRYPOINT ["start-npm"]
|
||||
@@ -0,0 +1,66 @@
|
||||
FROM debian:buster AS base
|
||||
|
||||
RUN groupadd --force -g 1000 node
|
||||
RUN useradd -ms /bin/bash --no-user-group -g 1000 -u 1000 node
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y sudo wget cmake swig git virtualenv python-dev libffi-dev build-essential libncurses-dev libusb-dev avrdude gcc-avr binutils-avr avr-libc dfu-util libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0
|
||||
RUN mkdir /src
|
||||
WORKDIR /src
|
||||
RUN wget http://download.savannah.nongnu.org/releases/simulavr/libsim_1.1.0_amd64.deb
|
||||
RUN apt install /src/libsim_1.1.0_amd64.deb
|
||||
|
||||
#prebuild files for simulavr, not needed currently, because we just build the python lib later
|
||||
#RUN wget http://download.savannah.nongnu.org/releases/simulavr/simulavr_1.1.0_amd64.deb
|
||||
#RUN apt install /src/simulavr_1.1.0_amd64.deb
|
||||
#RUN wget http://download.savannah.nongnu.org/releases/simulavr/python3-simulavr_1.1.0_amd64.deb
|
||||
#RUN apt install /src/python3-simulavr_1.1.0_amd64.deb
|
||||
|
||||
RUN cat /etc/passwd
|
||||
|
||||
RUN echo 'node ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/node && \
|
||||
chown node:node -R ./
|
||||
#if systemd is installed, we need to backup the current systemctl command
|
||||
#RUN mv /bin/systemctl /bin/systemctl.bak
|
||||
RUN ln -s /bin/true /bin/systemctl
|
||||
|
||||
USER node
|
||||
|
||||
WORKDIR /home/node
|
||||
RUN git clone https://github.com/KevinOConnor/klipper
|
||||
WORKDIR /home/node/klipper
|
||||
COPY api/simulavr.config /home/node/klipper/.config
|
||||
RUN make
|
||||
RUN cp /home/node/klipper/out/klipper.elf /home/node/klipper/simulavr.elf
|
||||
RUN rm /home/node/klipper/.config
|
||||
COPY api/linux.config /home/node/klipper/.config
|
||||
RUN make clean
|
||||
RUN make
|
||||
RUN chmod +x /home/node/klipper/scripts/install-debian.sh
|
||||
RUN /home/node/klipper/scripts/install-debian.sh
|
||||
|
||||
WORKDIR /home/node
|
||||
RUN git clone https://github.com/Arksine/moonraker
|
||||
WORKDIR /home/node/moonraker
|
||||
RUN sed -E 's/check_klipper\(\)/check_klipper() { return 0; }\nold()/' /home/node/moonraker/scripts/install-moonraker.sh > /home/node/moonraker/scripts/install-moonraker2.sh
|
||||
RUN chmod +x /home/node/moonraker/scripts/install-moonraker2.sh
|
||||
RUN /home/node/moonraker/scripts/install-moonraker2.sh
|
||||
|
||||
RUN sudo rm -f /bin/systemctl
|
||||
#restore backed up systemctl command
|
||||
#RUN sudo mv /bin/systemctl.bak /bin/systemctl
|
||||
|
||||
WORKDIR /home/node/
|
||||
RUN git clone https://git.savannah.nongnu.org/git/simulavr.git
|
||||
WORKDIR /home/node/simulavr
|
||||
RUN make python
|
||||
RUN make build
|
||||
|
||||
USER root
|
||||
|
||||
COPY api/run-api /usr/local/bin/run-api
|
||||
RUN chmod +x /usr/local/bin/run-api
|
||||
|
||||
USER node
|
||||
|
||||
ENTRYPOINT ["run-api"]
|
||||
@@ -0,0 +1,25 @@
|
||||
CONFIG_LOW_LEVEL_OPTIONS=y
|
||||
# CONFIG_MACH_AVR is not set
|
||||
# CONFIG_MACH_ATSAM is not set
|
||||
# CONFIG_MACH_ATSAMD is not set
|
||||
# CONFIG_MACH_LPC176X is not set
|
||||
# CONFIG_MACH_STM32 is not set
|
||||
# CONFIG_MACH_PRU is not set
|
||||
CONFIG_MACH_LINUX=y
|
||||
# CONFIG_MACH_SIMU is not set
|
||||
CONFIG_STEP_DELAY=2
|
||||
CONFIG_BOARD_DIRECTORY="linux"
|
||||
CONFIG_CLOCK_FREQ=50000000
|
||||
CONFIG_LINUX_SELECT=y
|
||||
CONFIG_USB_VENDOR_ID=0x1d50
|
||||
CONFIG_USB_DEVICE_ID=0x614e
|
||||
CONFIG_USB_SERIAL_NUMBER="12345"
|
||||
# CONFIG_CUSTOM_STEP_DELAY is not set
|
||||
CONFIG_INITIAL_PINS=""
|
||||
CONFIG_HAVE_GPIO=y
|
||||
CONFIG_HAVE_GPIO_ADC=y
|
||||
CONFIG_HAVE_GPIO_SPI=y
|
||||
CONFIG_HAVE_GPIO_I2C=y
|
||||
CONFIG_HAVE_GPIO_HARD_PWM=y
|
||||
CONFIG_HAVE_GPIO_BITBANGING=y
|
||||
CONFIG_INLINE_STEPPER_HACK=y
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
PYTHONPATH="/home/node/simulavr/build/pysimulavr/" /home/node/klipper/scripts/avrsim.py -m atmega644 -s 20000000 -b 250000 /home/node/klipper/simulavr.elf &
|
||||
/home/node/klippy-env/bin/python /home/node/klipper/klippy/klippy.py /home/node/printer_config/printer.cfg -l /tmp/logs/klippy.log -a /tmp/klippy_uds &
|
||||
/home/node/moonraker-env/bin/python /home/node/moonraker/moonraker/moonraker.py -l /tmp/logs/moonraker.log -c /home/node/printer_config/moonraker.conf &
|
||||
echo "Starting ..." >> /tmp/logs/klippy.log
|
||||
tail -f /tmp/logs/klippy.log
|
||||
@@ -0,0 +1,50 @@
|
||||
CONFIG_LOW_LEVEL_OPTIONS=y
|
||||
CONFIG_MACH_AVR=y
|
||||
# CONFIG_MACH_ATSAM is not set
|
||||
# CONFIG_MACH_ATSAMD is not set
|
||||
# CONFIG_MACH_LPC176X is not set
|
||||
# CONFIG_MACH_STM32 is not set
|
||||
# CONFIG_MACH_PRU is not set
|
||||
# CONFIG_MACH_LINUX is not set
|
||||
# CONFIG_MACH_SIMU is not set
|
||||
CONFIG_AVR_SELECT=y
|
||||
CONFIG_STEP_DELAY=-1
|
||||
CONFIG_BOARD_DIRECTORY="avr"
|
||||
# CONFIG_MACH_atmega2560 is not set
|
||||
# CONFIG_MACH_atmega1280 is not set
|
||||
# CONFIG_MACH_at90usb1286 is not set
|
||||
# CONFIG_MACH_at90usb646 is not set
|
||||
# CONFIG_MACH_atmega32u4 is not set
|
||||
# CONFIG_MACH_atmega1284p is not set
|
||||
CONFIG_MACH_atmega644p=y
|
||||
# CONFIG_MACH_atmega328p is not set
|
||||
# CONFIG_MACH_atmega328 is not set
|
||||
# CONFIG_MACH_atmega168 is not set
|
||||
CONFIG_MCU="atmega644p"
|
||||
CONFIG_AVRDUDE_PROTOCOL="arduino"
|
||||
# CONFIG_AVR_FREQ_16000000 is not set
|
||||
CONFIG_AVR_FREQ_20000000=y
|
||||
# CONFIG_AVR_FREQ_8000000 is not set
|
||||
CONFIG_CLOCK_FREQ=20000000
|
||||
CONFIG_AVR_CLKPR=-1
|
||||
CONFIG_AVR_STACK_SIZE=256
|
||||
CONFIG_AVR_WATCHDOG=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_AVR_SERIAL_UART0=y
|
||||
# CONFIG_AVR_SERIAL_UART1 is not set
|
||||
CONFIG_SERIAL_PORT=0
|
||||
CONFIG_SIMULAVR=y
|
||||
CONFIG_SERIAL_BAUD=250000
|
||||
CONFIG_USB_VENDOR_ID=0x1d50
|
||||
CONFIG_USB_DEVICE_ID=0x614e
|
||||
CONFIG_USB_SERIAL_NUMBER="12345"
|
||||
# CONFIG_CUSTOM_STEP_DELAY is not set
|
||||
CONFIG_INITIAL_PINS=""
|
||||
CONFIG_HAVE_GPIO=y
|
||||
CONFIG_HAVE_GPIO_ADC=y
|
||||
CONFIG_HAVE_GPIO_SPI=y
|
||||
CONFIG_HAVE_GPIO_I2C=y
|
||||
CONFIG_HAVE_GPIO_HARD_PWM=y
|
||||
CONFIG_HAVE_GPIO_BITBANGING=y
|
||||
CONFIG_HAVE_STRICT_TIMING=y
|
||||
CONFIG_INLINE_STEPPER_HACK=y
|
||||
@@ -0,0 +1,14 @@
|
||||
# moonraker.conf
|
||||
|
||||
[server]
|
||||
host: 0.0.0.0
|
||||
port: 7125
|
||||
enable_debug_logging: True
|
||||
config_path: /home/node/printer_config/
|
||||
|
||||
[authorization]
|
||||
enabled: True
|
||||
trusted_clients:
|
||||
0.0.0.0/0
|
||||
cors_domains:
|
||||
*
|
||||
@@ -0,0 +1,179 @@
|
||||
[virtual_sdcard]
|
||||
path: ~/gcode
|
||||
|
||||
[pause_resume]
|
||||
[display_status]
|
||||
|
||||
[mcu]
|
||||
serial: /tmp/pseudoserial
|
||||
pin_map: arduino
|
||||
baud: 250000
|
||||
|
||||
[stepper_x]
|
||||
step_pin: PD7
|
||||
dir_pin: !PC5
|
||||
enable_pin: !PD6
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^PC2
|
||||
position_endstop: 0
|
||||
position_max: 235
|
||||
homing_speed: 50
|
||||
homing_retract_dist: 0
|
||||
|
||||
[stepper_y]
|
||||
step_pin: PC6
|
||||
dir_pin: !PC7
|
||||
enable_pin: !PD6
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^PC3
|
||||
position_endstop: 0
|
||||
position_max: 235
|
||||
homing_speed: 50
|
||||
homing_retract_dist: 0
|
||||
|
||||
[stepper_z]
|
||||
step_pin: PB3
|
||||
dir_pin: PB2
|
||||
enable_pin: !PA5
|
||||
microsteps: 16
|
||||
rotation_distance: 8
|
||||
endstop_pin: ^PC4
|
||||
position_endstop: 0.0
|
||||
position_max: 250
|
||||
homing_retract_dist: 0
|
||||
|
||||
[extruder]
|
||||
max_extrude_only_distance: 100.0
|
||||
step_pin: PB1
|
||||
dir_pin: !PB0
|
||||
enable_pin: !PD6
|
||||
microsteps: 16
|
||||
rotation_distance: 33.683
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: PD5
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PA7
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 250
|
||||
min_extrude_temp: 50
|
||||
|
||||
[heater_bed]
|
||||
heater_pin: PD4
|
||||
sensor_type: EPCOS 100K B57560G104F
|
||||
sensor_pin: PA6
|
||||
control: watermark
|
||||
min_temp: 0
|
||||
max_temp: 130
|
||||
|
||||
[fan]
|
||||
pin: PB4
|
||||
|
||||
[heater_fan nozzle_fan]
|
||||
pin: PB5
|
||||
off_below: 0.0
|
||||
shutdown_speed: 1.0
|
||||
max_power: 1.0
|
||||
|
||||
[controller_fan mcu_fan]
|
||||
pin: PB6
|
||||
off_below: 0.2
|
||||
shutdown_speed: 1.0
|
||||
max_power: 1.0
|
||||
|
||||
[printer]
|
||||
kinematics: cartesian
|
||||
max_velocity: 300
|
||||
max_accel: 3000
|
||||
max_z_velocity: 5
|
||||
max_z_accel: 100
|
||||
|
||||
#[display]
|
||||
#lcd_type: st7920
|
||||
#cs_pin: PA3
|
||||
#sclk_pin: PA1
|
||||
#sid_pin: PC1
|
||||
#encoder_pins: ^PD2, ^PD3
|
||||
#click_pin: ^!PC0
|
||||
|
||||
# The print bed can move so far to the front, that the nozzle can reach the
|
||||
# plastic cover of the print bed heater cable (only when the bed is moved by
|
||||
# hand). By homing the Y axis before the X axis, it is ensured the nozzle will
|
||||
# not melt through the plastic part.
|
||||
# BEWARE: You will lose the ability to home axes individually. The printer will
|
||||
# always home all axes for every G28 command.
|
||||
#[homing_override]
|
||||
#gcode:
|
||||
# G28 Y0
|
||||
# G28 X0
|
||||
# G28 Z0
|
||||
|
||||
[gcode_macro PAUSE]
|
||||
rename_existing: BASE_PAUSE
|
||||
default_parameter_X: 230 #edit to your park position
|
||||
default_parameter_Y: 230 #edit to your park position
|
||||
default_parameter_Z: 10 #edit to your park position
|
||||
default_parameter_E: 1 #edit to your retract length
|
||||
gcode:
|
||||
SAVE_GCODE_STATE NAME=PAUSE_state
|
||||
BASE_PAUSE
|
||||
G91
|
||||
G1 E-{E} F2100
|
||||
G1 Z{Z}
|
||||
G90
|
||||
G1 X{X} Y{Y} F6000
|
||||
[gcode_macro RESUME]
|
||||
rename_existing: BASE_RESUME
|
||||
default_parameter_E: 1 #edit to your retract length
|
||||
gcode:
|
||||
G91
|
||||
G1 E{E} F2100
|
||||
G90
|
||||
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
|
||||
BASE_RESUME
|
||||
[gcode_macro CANCEL_PRINT]
|
||||
rename_existing: BASE_CANCEL_PRINT
|
||||
gcode:
|
||||
TURN_OFF_HEATERS
|
||||
CLEAR_PAUSE
|
||||
SDCARD_RESET_FILE
|
||||
BASE_CANCEL_PRINT
|
||||
|
||||
[gcode_macro START_PRINT]
|
||||
default_parameter_BED_TEMP: 103.3
|
||||
default_parameter_EXTRUDER_TEMP: 103.3
|
||||
gcode:
|
||||
# Start bed heating
|
||||
M140 S103.3
|
||||
# Use absolute coordinates
|
||||
G90
|
||||
# Reset the G-Code Z offset (adjust Z offset if needed)
|
||||
SET_GCODE_OFFSET Z=0.0
|
||||
# Home the printer
|
||||
G28
|
||||
# Move the nozzle near the bed
|
||||
G1 Z5 F3000
|
||||
# Move the nozzle very close to the bed
|
||||
G1 Z0.15 F300
|
||||
# Wait for bed to reach temperature
|
||||
M190 S103.3
|
||||
# Set and wait for nozzle to reach temperature
|
||||
M109 S103.3
|
||||
|
||||
[gcode_macro END_PRINT]
|
||||
gcode:
|
||||
# Turn off bed, extruder, and fan
|
||||
M140 S0
|
||||
M104 S0
|
||||
M106 S0
|
||||
# Move nozzle away from print while retracting
|
||||
G91
|
||||
G1 X-2 Y-2 E-3 F300
|
||||
# Raise nozzle by 10mm
|
||||
G1 Z10 F3000
|
||||
G90
|
||||
# Disable steppers
|
||||
M84
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
export APP_NAME=mainsail
|
||||
|
||||
if [ $# -gt 0 ]; then
|
||||
if [ "$1" == "restart" ]; then
|
||||
docker-compose restart "$2"
|
||||
elif [ "$1" == "bash" ]; then
|
||||
docker exec -it "$APP_NAME-stack-$2" bash
|
||||
elif [ "$1" == "npm-build" ]; then
|
||||
docker exec "$APP_NAME-stack-npm" npm run build
|
||||
else
|
||||
docker-compose "$@"
|
||||
fi
|
||||
else
|
||||
docker-compose ps
|
||||
fi
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
if [ ! -d 'node_modules' ]; then
|
||||
npm ci
|
||||
fi
|
||||
npm run serve
|
||||
@@ -0,0 +1,10 @@
|
||||
CNAME
|
||||
# Ignore metadata generated by Jekyll
|
||||
_site/
|
||||
.sass-cache/
|
||||
.jekyll-cache/
|
||||
.jekyll-metadata
|
||||
|
||||
# Ignore folders generated by Bundler
|
||||
.bundle/
|
||||
vendor/
|
||||
@@ -0,0 +1,34 @@
|
||||
source "https://rubygems.org"
|
||||
# Hello! This is where you manage which Jekyll version is used to run.
|
||||
# When you want to use a different version, change it below, save the
|
||||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
||||
#
|
||||
# bundle exec jekyll serve
|
||||
#
|
||||
# This will help ensure the proper Jekyll version is running.
|
||||
# Happy Jekylling!
|
||||
#gem "jekyll", "~> 4.2.0"
|
||||
|
||||
|
||||
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
||||
#gem "minima", "~> 2.5"
|
||||
|
||||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
||||
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
||||
gem "github-pages", group: :jekyll_plugins
|
||||
# If you have any plugins, put them here!
|
||||
group :jekyll_plugins do
|
||||
gem "jekyll-feed", "~> 0.12"
|
||||
gem "jekyll-remote-theme"
|
||||
end
|
||||
|
||||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
# and associated library.
|
||||
platforms :mingw, :x64_mingw, :mswin, :jruby do
|
||||
gem "tzinfo", "~> 1.2"
|
||||
gem "tzinfo-data"
|
||||
end
|
||||
|
||||
# Performance-booster for watching directories on Windows
|
||||
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
|
||||
|
||||
@@ -0,0 +1,277 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (6.0.3.5)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (>= 0.7, < 2)
|
||||
minitest (~> 5.1)
|
||||
tzinfo (~> 1.1)
|
||||
zeitwerk (~> 2.2, >= 2.2.2)
|
||||
addressable (2.7.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
coffee-script (2.4.1)
|
||||
coffee-script-source
|
||||
execjs
|
||||
coffee-script-source (1.11.1)
|
||||
colorator (1.1.0)
|
||||
commonmarker (0.17.13)
|
||||
ruby-enum (~> 0.5)
|
||||
concurrent-ruby (1.1.8)
|
||||
dnsruby (1.61.5)
|
||||
simpleidn (~> 0.1)
|
||||
em-websocket (0.5.2)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0.6.0)
|
||||
ethon (0.12.0)
|
||||
ffi (>= 1.3.0)
|
||||
eventmachine (1.2.7)
|
||||
eventmachine (1.2.7-x64-mingw32)
|
||||
execjs (2.7.0)
|
||||
faraday (1.3.0)
|
||||
faraday-net_http (~> 1.0)
|
||||
multipart-post (>= 1.2, < 3)
|
||||
ruby2_keywords
|
||||
faraday-net_http (1.0.1)
|
||||
ffi (1.14.2)
|
||||
ffi (1.14.2-x64-mingw32)
|
||||
forwardable-extended (2.6.0)
|
||||
gemoji (3.0.1)
|
||||
github-pages (212)
|
||||
github-pages-health-check (= 1.17.0)
|
||||
jekyll (= 3.9.0)
|
||||
jekyll-avatar (= 0.7.0)
|
||||
jekyll-coffeescript (= 1.1.1)
|
||||
jekyll-commonmark-ghpages (= 0.1.6)
|
||||
jekyll-default-layout (= 0.1.4)
|
||||
jekyll-feed (= 0.15.1)
|
||||
jekyll-gist (= 1.5.0)
|
||||
jekyll-github-metadata (= 2.13.0)
|
||||
jekyll-mentions (= 1.6.0)
|
||||
jekyll-optional-front-matter (= 0.3.2)
|
||||
jekyll-paginate (= 1.1.0)
|
||||
jekyll-readme-index (= 0.3.0)
|
||||
jekyll-redirect-from (= 0.16.0)
|
||||
jekyll-relative-links (= 0.6.1)
|
||||
jekyll-remote-theme (= 0.4.2)
|
||||
jekyll-sass-converter (= 1.5.2)
|
||||
jekyll-seo-tag (= 2.7.1)
|
||||
jekyll-sitemap (= 1.4.0)
|
||||
jekyll-swiss (= 1.0.0)
|
||||
jekyll-theme-architect (= 0.1.1)
|
||||
jekyll-theme-cayman (= 0.1.1)
|
||||
jekyll-theme-dinky (= 0.1.1)
|
||||
jekyll-theme-hacker (= 0.1.2)
|
||||
jekyll-theme-leap-day (= 0.1.1)
|
||||
jekyll-theme-merlot (= 0.1.1)
|
||||
jekyll-theme-midnight (= 0.1.1)
|
||||
jekyll-theme-minimal (= 0.1.1)
|
||||
jekyll-theme-modernist (= 0.1.1)
|
||||
jekyll-theme-primer (= 0.5.4)
|
||||
jekyll-theme-slate (= 0.1.1)
|
||||
jekyll-theme-tactile (= 0.1.1)
|
||||
jekyll-theme-time-machine (= 0.1.1)
|
||||
jekyll-titles-from-headings (= 0.5.3)
|
||||
jemoji (= 0.12.0)
|
||||
kramdown (= 2.3.0)
|
||||
kramdown-parser-gfm (= 1.1.0)
|
||||
liquid (= 4.0.3)
|
||||
mercenary (~> 0.3)
|
||||
minima (= 2.5.1)
|
||||
nokogiri (>= 1.10.4, < 2.0)
|
||||
rouge (= 3.26.0)
|
||||
terminal-table (~> 1.4)
|
||||
github-pages-health-check (1.17.0)
|
||||
addressable (~> 2.3)
|
||||
dnsruby (~> 1.60)
|
||||
octokit (~> 4.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
typhoeus (~> 1.3)
|
||||
html-pipeline (2.14.0)
|
||||
activesupport (>= 2)
|
||||
nokogiri (>= 1.4)
|
||||
http_parser.rb (0.6.0)
|
||||
i18n (0.9.5)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jekyll (3.9.0)
|
||||
addressable (~> 2.4)
|
||||
colorator (~> 1.0)
|
||||
em-websocket (~> 0.5)
|
||||
i18n (~> 0.7)
|
||||
jekyll-sass-converter (~> 1.0)
|
||||
jekyll-watch (~> 2.0)
|
||||
kramdown (>= 1.17, < 3)
|
||||
liquid (~> 4.0)
|
||||
mercenary (~> 0.3.3)
|
||||
pathutil (~> 0.9)
|
||||
rouge (>= 1.7, < 4)
|
||||
safe_yaml (~> 1.0)
|
||||
jekyll-avatar (0.7.0)
|
||||
jekyll (>= 3.0, < 5.0)
|
||||
jekyll-coffeescript (1.1.1)
|
||||
coffee-script (~> 2.2)
|
||||
coffee-script-source (~> 1.11.1)
|
||||
jekyll-commonmark (1.3.1)
|
||||
commonmarker (~> 0.14)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-commonmark-ghpages (0.1.6)
|
||||
commonmarker (~> 0.17.6)
|
||||
jekyll-commonmark (~> 1.2)
|
||||
rouge (>= 2.0, < 4.0)
|
||||
jekyll-default-layout (0.1.4)
|
||||
jekyll (~> 3.0)
|
||||
jekyll-feed (0.15.1)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-gist (1.5.0)
|
||||
octokit (~> 4.2)
|
||||
jekyll-github-metadata (2.13.0)
|
||||
jekyll (>= 3.4, < 5.0)
|
||||
octokit (~> 4.0, != 4.4.0)
|
||||
jekyll-mentions (1.6.0)
|
||||
html-pipeline (~> 2.3)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-optional-front-matter (0.3.2)
|
||||
jekyll (>= 3.0, < 5.0)
|
||||
jekyll-paginate (1.1.0)
|
||||
jekyll-readme-index (0.3.0)
|
||||
jekyll (>= 3.0, < 5.0)
|
||||
jekyll-redirect-from (0.16.0)
|
||||
jekyll (>= 3.3, < 5.0)
|
||||
jekyll-relative-links (0.6.1)
|
||||
jekyll (>= 3.3, < 5.0)
|
||||
jekyll-remote-theme (0.4.2)
|
||||
addressable (~> 2.0)
|
||||
jekyll (>= 3.5, < 5.0)
|
||||
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
|
||||
rubyzip (>= 1.3.0, < 3.0)
|
||||
jekyll-sass-converter (1.5.2)
|
||||
sass (~> 3.4)
|
||||
jekyll-seo-tag (2.7.1)
|
||||
jekyll (>= 3.8, < 5.0)
|
||||
jekyll-sitemap (1.4.0)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-swiss (1.0.0)
|
||||
jekyll-theme-architect (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-cayman (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-dinky (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-hacker (0.1.2)
|
||||
jekyll (> 3.5, < 5.0)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-leap-day (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-merlot (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-midnight (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-minimal (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-modernist (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-primer (0.5.4)
|
||||
jekyll (> 3.5, < 5.0)
|
||||
jekyll-github-metadata (~> 2.9)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-slate (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-tactile (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-theme-time-machine (0.1.1)
|
||||
jekyll (~> 3.5)
|
||||
jekyll-seo-tag (~> 2.0)
|
||||
jekyll-titles-from-headings (0.5.3)
|
||||
jekyll (>= 3.3, < 5.0)
|
||||
jekyll-watch (2.2.1)
|
||||
listen (~> 3.0)
|
||||
jemoji (0.12.0)
|
||||
gemoji (~> 3.0)
|
||||
html-pipeline (~> 2.2)
|
||||
jekyll (>= 3.0, < 5.0)
|
||||
kramdown (2.3.0)
|
||||
rexml
|
||||
kramdown-parser-gfm (1.1.0)
|
||||
kramdown (~> 2.0)
|
||||
liquid (4.0.3)
|
||||
listen (3.4.1)
|
||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
mercenary (0.3.6)
|
||||
minima (2.5.1)
|
||||
jekyll (>= 3.5, < 5.0)
|
||||
jekyll-feed (~> 0.9)
|
||||
jekyll-seo-tag (~> 2.1)
|
||||
minitest (5.14.4)
|
||||
multipart-post (2.1.1)
|
||||
nokogiri (1.11.1-x64-mingw32)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.11.1-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
octokit (4.20.0)
|
||||
faraday (>= 0.9)
|
||||
sawyer (~> 0.8.0, >= 0.5.3)
|
||||
pathutil (0.16.2)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (4.0.6)
|
||||
racc (1.5.2)
|
||||
rb-fsevent (0.10.4)
|
||||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
rexml (3.2.5)
|
||||
rouge (3.26.0)
|
||||
ruby-enum (0.9.0)
|
||||
i18n
|
||||
ruby2_keywords (0.0.4)
|
||||
rubyzip (2.3.0)
|
||||
safe_yaml (1.0.5)
|
||||
sass (3.7.4)
|
||||
sass-listen (~> 4.0.0)
|
||||
sass-listen (4.0.0)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
sawyer (0.8.2)
|
||||
addressable (>= 2.3.5)
|
||||
faraday (> 0.8, < 2.0)
|
||||
simpleidn (0.2.1)
|
||||
unf (~> 0.1.4)
|
||||
terminal-table (1.8.0)
|
||||
unicode-display_width (~> 1.1, >= 1.1.1)
|
||||
thread_safe (0.3.6)
|
||||
typhoeus (1.4.0)
|
||||
ethon (>= 0.9.0)
|
||||
tzinfo (1.2.9)
|
||||
thread_safe (~> 0.1)
|
||||
tzinfo-data (1.2021.1)
|
||||
tzinfo (>= 1.0.0)
|
||||
unf (0.1.4)
|
||||
unf_ext
|
||||
unf_ext (0.0.7.7)
|
||||
unf_ext (0.0.7.7-x64-mingw32)
|
||||
unicode-display_width (1.7.0)
|
||||
wdm (0.1.1)
|
||||
zeitwerk (2.4.2)
|
||||
|
||||
PLATFORMS
|
||||
x64-mingw32
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
github-pages
|
||||
jekyll-feed (~> 0.12)
|
||||
jekyll-remote-theme
|
||||
tzinfo (~> 1.2)
|
||||
tzinfo-data
|
||||
wdm (~> 0.1.1)
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.13
|
||||
@@ -1,6 +1,20 @@
|
||||
title: "Mainsail"
|
||||
tagline: A web interface for Klipper
|
||||
description: Mainsail is a lightweight & responsive web interface for the Klipper 3D printer firmware. It communicates with Moonraker (Klipper-API) from Arksine.
|
||||
logo: "/assets/img/logo-mainsail.png"
|
||||
description: A web interface for Klipper
|
||||
# theme: just-the-docs
|
||||
remote_theme: pmarsceill/just-the-docs
|
||||
color_scheme: "mainsail"
|
||||
search_enabled: true
|
||||
aux_links:
|
||||
"Mainsail on GitHub":
|
||||
- "//github.com/meteyou/mainsail"
|
||||
aux_links_new_tab: true
|
||||
|
||||
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: "" # an empty string here means all files in the project
|
||||
values:
|
||||
image: assets/img/rtfm.png
|
||||
@@ -0,0 +1,506 @@
|
||||
[
|
||||
{
|
||||
"login": "meteyou",
|
||||
"id": 8167632,
|
||||
"node_id": "MDQ6VXNlcjgxNjc2MzI=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/8167632?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/meteyou",
|
||||
"html_url": "https://github.com/meteyou",
|
||||
"followers_url": "https://api.github.com/users/meteyou/followers",
|
||||
"following_url": "https://api.github.com/users/meteyou/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/meteyou/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/meteyou/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/meteyou/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/meteyou/orgs",
|
||||
"repos_url": "https://api.github.com/users/meteyou/repos",
|
||||
"events_url": "https://api.github.com/users/meteyou/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/meteyou/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 653
|
||||
},
|
||||
{
|
||||
"login": "freasy",
|
||||
"id": 5220632,
|
||||
"node_id": "MDQ6VXNlcjUyMjA2MzI=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/5220632?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/freasy",
|
||||
"html_url": "https://github.com/freasy",
|
||||
"followers_url": "https://api.github.com/users/freasy/followers",
|
||||
"following_url": "https://api.github.com/users/freasy/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/freasy/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/freasy/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/freasy/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/freasy/orgs",
|
||||
"repos_url": "https://api.github.com/users/freasy/repos",
|
||||
"events_url": "https://api.github.com/users/freasy/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/freasy/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 57
|
||||
},
|
||||
{
|
||||
"login": "winbin",
|
||||
"id": 9819264,
|
||||
"node_id": "MDQ6VXNlcjk4MTkyNjQ=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/9819264?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/winbin",
|
||||
"html_url": "https://github.com/winbin",
|
||||
"followers_url": "https://api.github.com/users/winbin/followers",
|
||||
"following_url": "https://api.github.com/users/winbin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/winbin/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/winbin/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/winbin/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/winbin/orgs",
|
||||
"repos_url": "https://api.github.com/users/winbin/repos",
|
||||
"events_url": "https://api.github.com/users/winbin/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/winbin/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 22
|
||||
},
|
||||
{
|
||||
"login": "le3tspeak",
|
||||
"id": 21110785,
|
||||
"node_id": "MDQ6VXNlcjIxMTEwNzg1",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/21110785?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/le3tspeak",
|
||||
"html_url": "https://github.com/le3tspeak",
|
||||
"followers_url": "https://api.github.com/users/le3tspeak/followers",
|
||||
"following_url": "https://api.github.com/users/le3tspeak/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/le3tspeak/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/le3tspeak/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/le3tspeak/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/le3tspeak/orgs",
|
||||
"repos_url": "https://api.github.com/users/le3tspeak/repos",
|
||||
"events_url": "https://api.github.com/users/le3tspeak/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/le3tspeak/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 16
|
||||
},
|
||||
{
|
||||
"login": "lixxbox",
|
||||
"id": 5130466,
|
||||
"node_id": "MDQ6VXNlcjUxMzA0NjY=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/5130466?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/lixxbox",
|
||||
"html_url": "https://github.com/lixxbox",
|
||||
"followers_url": "https://api.github.com/users/lixxbox/followers",
|
||||
"following_url": "https://api.github.com/users/lixxbox/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lixxbox/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/lixxbox/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/lixxbox/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/lixxbox/orgs",
|
||||
"repos_url": "https://api.github.com/users/lixxbox/repos",
|
||||
"events_url": "https://api.github.com/users/lixxbox/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/lixxbox/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 12
|
||||
},
|
||||
{
|
||||
"login": "translucentfocus",
|
||||
"id": 26986716,
|
||||
"node_id": "MDQ6VXNlcjI2OTg2NzE2",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/26986716?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/translucentfocus",
|
||||
"html_url": "https://github.com/translucentfocus",
|
||||
"followers_url": "https://api.github.com/users/translucentfocus/followers",
|
||||
"following_url": "https://api.github.com/users/translucentfocus/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/translucentfocus/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/translucentfocus/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/translucentfocus/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/translucentfocus/orgs",
|
||||
"repos_url": "https://api.github.com/users/translucentfocus/repos",
|
||||
"events_url": "https://api.github.com/users/translucentfocus/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/translucentfocus/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 8
|
||||
},
|
||||
{
|
||||
"login": "Birkemosen",
|
||||
"id": 12812702,
|
||||
"node_id": "MDQ6VXNlcjEyODEyNzAy",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/12812702?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Birkemosen",
|
||||
"html_url": "https://github.com/Birkemosen",
|
||||
"followers_url": "https://api.github.com/users/Birkemosen/followers",
|
||||
"following_url": "https://api.github.com/users/Birkemosen/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Birkemosen/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Birkemosen/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Birkemosen/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Birkemosen/orgs",
|
||||
"repos_url": "https://api.github.com/users/Birkemosen/repos",
|
||||
"events_url": "https://api.github.com/users/Birkemosen/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Birkemosen/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 7
|
||||
},
|
||||
{
|
||||
"login": "eliteSchwein",
|
||||
"id": 39838619,
|
||||
"node_id": "MDQ6VXNlcjM5ODM4NjE5",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/39838619?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/eliteSchwein",
|
||||
"html_url": "https://github.com/eliteSchwein",
|
||||
"followers_url": "https://api.github.com/users/eliteSchwein/followers",
|
||||
"following_url": "https://api.github.com/users/eliteSchwein/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/eliteSchwein/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/eliteSchwein/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/eliteSchwein/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/eliteSchwein/orgs",
|
||||
"repos_url": "https://api.github.com/users/eliteSchwein/repos",
|
||||
"events_url": "https://api.github.com/users/eliteSchwein/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/eliteSchwein/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 6
|
||||
},
|
||||
{
|
||||
"login": "randellhodges",
|
||||
"id": 7727467,
|
||||
"node_id": "MDQ6VXNlcjc3Mjc0Njc=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7727467?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/randellhodges",
|
||||
"html_url": "https://github.com/randellhodges",
|
||||
"followers_url": "https://api.github.com/users/randellhodges/followers",
|
||||
"following_url": "https://api.github.com/users/randellhodges/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/randellhodges/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/randellhodges/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/randellhodges/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/randellhodges/orgs",
|
||||
"repos_url": "https://api.github.com/users/randellhodges/repos",
|
||||
"events_url": "https://api.github.com/users/randellhodges/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/randellhodges/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 4
|
||||
},
|
||||
{
|
||||
"login": "cadriel",
|
||||
"id": 205520,
|
||||
"node_id": "MDQ6VXNlcjIwNTUyMA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/205520?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/cadriel",
|
||||
"html_url": "https://github.com/cadriel",
|
||||
"followers_url": "https://api.github.com/users/cadriel/followers",
|
||||
"following_url": "https://api.github.com/users/cadriel/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/cadriel/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/cadriel/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/cadriel/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/cadriel/orgs",
|
||||
"repos_url": "https://api.github.com/users/cadriel/repos",
|
||||
"events_url": "https://api.github.com/users/cadriel/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/cadriel/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 3
|
||||
},
|
||||
{
|
||||
"login": "FrYakaTKoP",
|
||||
"id": 10913183,
|
||||
"node_id": "MDQ6VXNlcjEwOTEzMTgz",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/10913183?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/FrYakaTKoP",
|
||||
"html_url": "https://github.com/FrYakaTKoP",
|
||||
"followers_url": "https://api.github.com/users/FrYakaTKoP/followers",
|
||||
"following_url": "https://api.github.com/users/FrYakaTKoP/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/FrYakaTKoP/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/FrYakaTKoP/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/FrYakaTKoP/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/FrYakaTKoP/orgs",
|
||||
"repos_url": "https://api.github.com/users/FrYakaTKoP/repos",
|
||||
"events_url": "https://api.github.com/users/FrYakaTKoP/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/FrYakaTKoP/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 3
|
||||
},
|
||||
{
|
||||
"login": "kageurufu",
|
||||
"id": 259751,
|
||||
"node_id": "MDQ6VXNlcjI1OTc1MQ==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/259751?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/kageurufu",
|
||||
"html_url": "https://github.com/kageurufu",
|
||||
"followers_url": "https://api.github.com/users/kageurufu/followers",
|
||||
"following_url": "https://api.github.com/users/kageurufu/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/kageurufu/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/kageurufu/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/kageurufu/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/kageurufu/orgs",
|
||||
"repos_url": "https://api.github.com/users/kageurufu/repos",
|
||||
"events_url": "https://api.github.com/users/kageurufu/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/kageurufu/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 3
|
||||
},
|
||||
{
|
||||
"login": "Rejdukien",
|
||||
"id": 2448290,
|
||||
"node_id": "MDQ6VXNlcjI0NDgyOTA=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2448290?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Rejdukien",
|
||||
"html_url": "https://github.com/Rejdukien",
|
||||
"followers_url": "https://api.github.com/users/Rejdukien/followers",
|
||||
"following_url": "https://api.github.com/users/Rejdukien/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Rejdukien/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Rejdukien/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Rejdukien/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Rejdukien/orgs",
|
||||
"repos_url": "https://api.github.com/users/Rejdukien/repos",
|
||||
"events_url": "https://api.github.com/users/Rejdukien/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Rejdukien/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 3
|
||||
},
|
||||
{
|
||||
"login": "dependabot[bot]",
|
||||
"id": 49699333,
|
||||
"node_id": "MDM6Qm90NDk2OTkzMzM=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
|
||||
"html_url": "https://github.com/apps/dependabot",
|
||||
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
|
||||
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/dependabot%5Bbot%5D/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/dependabot%5Bbot%5D/orgs",
|
||||
"repos_url": "https://api.github.com/users/dependabot%5Bbot%5D/repos",
|
||||
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/dependabot%5Bbot%5D/received_events",
|
||||
"type": "Bot",
|
||||
"site_admin": false,
|
||||
"contributions": 3
|
||||
},
|
||||
{
|
||||
"login": "CodingJustForRun",
|
||||
"id": 71041835,
|
||||
"node_id": "MDQ6VXNlcjcxMDQxODM1",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/71041835?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/CodingJustForRun",
|
||||
"html_url": "https://github.com/CodingJustForRun",
|
||||
"followers_url": "https://api.github.com/users/CodingJustForRun/followers",
|
||||
"following_url": "https://api.github.com/users/CodingJustForRun/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/CodingJustForRun/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/CodingJustForRun/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/CodingJustForRun/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/CodingJustForRun/orgs",
|
||||
"repos_url": "https://api.github.com/users/CodingJustForRun/repos",
|
||||
"events_url": "https://api.github.com/users/CodingJustForRun/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/CodingJustForRun/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 2
|
||||
},
|
||||
{
|
||||
"login": "Lanovar",
|
||||
"id": 59284012,
|
||||
"node_id": "MDQ6VXNlcjU5Mjg0MDEy",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/59284012?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/Lanovar",
|
||||
"html_url": "https://github.com/Lanovar",
|
||||
"followers_url": "https://api.github.com/users/Lanovar/followers",
|
||||
"following_url": "https://api.github.com/users/Lanovar/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/Lanovar/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/Lanovar/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/Lanovar/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/Lanovar/orgs",
|
||||
"repos_url": "https://api.github.com/users/Lanovar/repos",
|
||||
"events_url": "https://api.github.com/users/Lanovar/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/Lanovar/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 2
|
||||
},
|
||||
{
|
||||
"login": "th33xitus",
|
||||
"id": 31533186,
|
||||
"node_id": "MDQ6VXNlcjMxNTMzMTg2",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/31533186?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/th33xitus",
|
||||
"html_url": "https://github.com/th33xitus",
|
||||
"followers_url": "https://api.github.com/users/th33xitus/followers",
|
||||
"following_url": "https://api.github.com/users/th33xitus/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/th33xitus/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/th33xitus/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/th33xitus/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/th33xitus/orgs",
|
||||
"repos_url": "https://api.github.com/users/th33xitus/repos",
|
||||
"events_url": "https://api.github.com/users/th33xitus/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/th33xitus/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 2
|
||||
},
|
||||
{
|
||||
"login": "sir-thanksalot",
|
||||
"id": 36886251,
|
||||
"node_id": "MDQ6VXNlcjM2ODg2MjUx",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/36886251?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/sir-thanksalot",
|
||||
"html_url": "https://github.com/sir-thanksalot",
|
||||
"followers_url": "https://api.github.com/users/sir-thanksalot/followers",
|
||||
"following_url": "https://api.github.com/users/sir-thanksalot/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/sir-thanksalot/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/sir-thanksalot/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/sir-thanksalot/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/sir-thanksalot/orgs",
|
||||
"repos_url": "https://api.github.com/users/sir-thanksalot/repos",
|
||||
"events_url": "https://api.github.com/users/sir-thanksalot/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/sir-thanksalot/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 1
|
||||
},
|
||||
{
|
||||
"login": "pusewicz",
|
||||
"id": 940,
|
||||
"node_id": "MDQ6VXNlcjk0MA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/940?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/pusewicz",
|
||||
"html_url": "https://github.com/pusewicz",
|
||||
"followers_url": "https://api.github.com/users/pusewicz/followers",
|
||||
"following_url": "https://api.github.com/users/pusewicz/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/pusewicz/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/pusewicz/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/pusewicz/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/pusewicz/orgs",
|
||||
"repos_url": "https://api.github.com/users/pusewicz/repos",
|
||||
"events_url": "https://api.github.com/users/pusewicz/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/pusewicz/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 1
|
||||
},
|
||||
{
|
||||
"login": "rufo",
|
||||
"id": 2745,
|
||||
"node_id": "MDQ6VXNlcjI3NDU=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2745?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/rufo",
|
||||
"html_url": "https://github.com/rufo",
|
||||
"followers_url": "https://api.github.com/users/rufo/followers",
|
||||
"following_url": "https://api.github.com/users/rufo/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/rufo/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/rufo/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/rufo/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/rufo/orgs",
|
||||
"repos_url": "https://api.github.com/users/rufo/repos",
|
||||
"events_url": "https://api.github.com/users/rufo/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/rufo/received_events",
|
||||
"type": "User",
|
||||
"site_admin": true,
|
||||
"contributions": 1
|
||||
},
|
||||
{
|
||||
"login": "shinuza",
|
||||
"id": 137940,
|
||||
"node_id": "MDQ6VXNlcjEzNzk0MA==",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/137940?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/shinuza",
|
||||
"html_url": "https://github.com/shinuza",
|
||||
"followers_url": "https://api.github.com/users/shinuza/followers",
|
||||
"following_url": "https://api.github.com/users/shinuza/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/shinuza/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/shinuza/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/shinuza/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/shinuza/orgs",
|
||||
"repos_url": "https://api.github.com/users/shinuza/repos",
|
||||
"events_url": "https://api.github.com/users/shinuza/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/shinuza/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 1
|
||||
},
|
||||
{
|
||||
"login": "morganfw",
|
||||
"id": 5797249,
|
||||
"node_id": "MDQ6VXNlcjU3OTcyNDk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/5797249?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/morganfw",
|
||||
"html_url": "https://github.com/morganfw",
|
||||
"followers_url": "https://api.github.com/users/morganfw/followers",
|
||||
"following_url": "https://api.github.com/users/morganfw/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/morganfw/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/morganfw/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/morganfw/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/morganfw/orgs",
|
||||
"repos_url": "https://api.github.com/users/morganfw/repos",
|
||||
"events_url": "https://api.github.com/users/morganfw/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/morganfw/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 1
|
||||
},
|
||||
{
|
||||
"login": "ru-ace",
|
||||
"id": 10783157,
|
||||
"node_id": "MDQ6VXNlcjEwNzgzMTU3",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/10783157?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/ru-ace",
|
||||
"html_url": "https://github.com/ru-ace",
|
||||
"followers_url": "https://api.github.com/users/ru-ace/followers",
|
||||
"following_url": "https://api.github.com/users/ru-ace/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/ru-ace/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/ru-ace/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/ru-ace/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/ru-ace/orgs",
|
||||
"repos_url": "https://api.github.com/users/ru-ace/repos",
|
||||
"events_url": "https://api.github.com/users/ru-ace/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/ru-ace/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 1
|
||||
},
|
||||
{
|
||||
"login": "dewi-ny-je",
|
||||
"id": 2866139,
|
||||
"node_id": "MDQ6VXNlcjI4NjYxMzk=",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2866139?v=4",
|
||||
"gravatar_id": "",
|
||||
"url": "https://api.github.com/users/dewi-ny-je",
|
||||
"html_url": "https://github.com/dewi-ny-je",
|
||||
"followers_url": "https://api.github.com/users/dewi-ny-je/followers",
|
||||
"following_url": "https://api.github.com/users/dewi-ny-je/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/dewi-ny-je/gists{/gist_id}",
|
||||
"starred_url": "https://api.github.com/users/dewi-ny-je/starred{/owner}{/repo}",
|
||||
"subscriptions_url": "https://api.github.com/users/dewi-ny-je/subscriptions",
|
||||
"organizations_url": "https://api.github.com/users/dewi-ny-je/orgs",
|
||||
"repos_url": "https://api.github.com/users/dewi-ny-je/repos",
|
||||
"events_url": "https://api.github.com/users/dewi-ny-je/events{/privacy}",
|
||||
"received_events_url": "https://api.github.com/users/dewi-ny-je/received_events",
|
||||
"type": "User",
|
||||
"site_admin": false,
|
||||
"contributions": 1
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,152 @@
|
||||
{
|
||||
"axios": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/axios/axios",
|
||||
"licenseUrl": "https://github.com/axios/axios/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"core-js": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/zloirock/core-js",
|
||||
"licenseUrl": "https://github.com/zloirock/core-js/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"echarts-gl": {
|
||||
"licenses": "BSD",
|
||||
"repository": "https://github.com/ecomfe/echarts-gl",
|
||||
"licenseUrl": "https://github.com/ecomfe/echarts-gl/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"echarts": {
|
||||
"licenses": "Apache-2.0",
|
||||
"repository": "https://github.com/apache/echarts",
|
||||
"licenseUrl": "https://github.com/apache/echarts/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"monaco-editor-textmate": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/NeekSandhu/monaco-editor-textmate",
|
||||
"licenseUrl": "https://github.com/NeekSandhu/monaco-editor-textmate/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"monaco-editor": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/Microsoft/monaco-editor",
|
||||
"licenseUrl": "https://github.com/microsoft/monaco-editor/raw/main/LICENSE.md",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"monaco-textmate": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/NeekSandhu/monaco-textmate",
|
||||
"licenseUrl": "https://github.com/NeekSandhu/monaco-textmate/raw/master/LICENSE.md",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"monaco-themes": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/brijeshb42/monaco-themes",
|
||||
"licenseUrl": "https://github.com/brijeshb42/monaco-themes/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"object-assign-deep": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/saikojosh/Object-Assign-Deep",
|
||||
"licenseUrl": "https://github.com/saikojosh/Object-Assign-Deep",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"onigasm": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/NeekSandhu/onigasm",
|
||||
"licenseUrl": "https://github.com/NeekSandhu/onigasm/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"plotly.js": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/plotly/plotly.js",
|
||||
"licenseUrl": "https://github.com/plotly/plotly.js/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"semver": {
|
||||
"licenses": "ISC",
|
||||
"repository": "https://github.com/npm/node-semver",
|
||||
"licenseUrl": "https://github.com/npm/node-semver/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-context": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/rawilk/vue-context",
|
||||
"licenseUrl": "https://github.com/rawilk/vue-context/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-github-api": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://gitlab.com/clorichel/vue-github-api",
|
||||
"licenseUrl": "https://gitlab.com/clorichel/vue-github-api",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-headful": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/troxler/vue-headful",
|
||||
"licenseUrl": "https://github.com/troxler/vue-headful/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-i18n": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/kazupon/vue-i18n",
|
||||
"licenseUrl": "https://github.com/kazupon/vue-i18n/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-load-image": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/john015/vue-load-image",
|
||||
"licenseUrl": "https://github.com/john015/vue-load-image/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-observe-visibility": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/Akryum/vue-observe-visibility",
|
||||
"licenseUrl": "https://github.com/Akryum/vue-observe-visibility",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-plotly": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/David-Desmaisons/vue-plotly",
|
||||
"licenseUrl": "https://github.com/David-Desmaisons/vue-plotly/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-resource": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/pagekit/vue-resource",
|
||||
"licenseUrl": "https://github.com/pagekit/vue-resource/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-simple-upload": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/saivarunk/vue-simple-upload",
|
||||
"licenseUrl": "https://github.com/saivarunk/vue-simple-upload/raw/master/LICENCE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue-toast-notification": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/ankurk91/vue-toast-notification",
|
||||
"licenseUrl": "https://github.com/ankurk91/vue-toast-notification/raw/master/LICENSE.txt",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vue": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/vuejs/vue",
|
||||
"licenseUrl": "https://github.com/vuejs/vue/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vuetify": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/vuetifyjs/vuetify",
|
||||
"licenseUrl": "https://github.com/vuetifyjs/vuetify/raw/master/LICENSE.md",
|
||||
"parents": "mainsail"
|
||||
},
|
||||
"vuex": {
|
||||
"licenses": "MIT",
|
||||
"repository": "https://github.com/vuejs/vuex",
|
||||
"licenseUrl": "https://github.com/vuejs/vuex/raw/master/LICENSE",
|
||||
"parents": "mainsail"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
name,author,repo
|
||||
Dracula,steadyjaw,dracula-mainsail-theme
|
||||
|
@@ -1 +1,60 @@
|
||||
$link-color: $red-300;
|
||||
$btn-primary-color: $red-300;
|
||||
|
||||
.success, .info, .warning, .alert {
|
||||
margin: 16px 0px;
|
||||
padding: 20px;
|
||||
position: relative;
|
||||
border-radius: 3px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
background: #f5f6fa;
|
||||
border: 1px solid hsl(0, 0%, 85%);
|
||||
border-left: 4px solid;
|
||||
padding-left: 3.5em;
|
||||
|
||||
}
|
||||
.success {
|
||||
border-left-color: rgb(38, 203, 124);
|
||||
}
|
||||
.info {
|
||||
border-left-color: rgb(56, 132, 255);
|
||||
}
|
||||
.warning {
|
||||
border-left-color: rgb(247, 125, 5);
|
||||
}
|
||||
.alert {
|
||||
border-left-color: rgb(255, 70, 66);
|
||||
}
|
||||
|
||||
.success::before, .info::before, .warning::before, .alert::before {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 1.0em;
|
||||
width: 1.5em;
|
||||
height: 1.5em;
|
||||
vertical-align: middle;
|
||||
margin: 0px 10px 0px 0px;
|
||||
}
|
||||
.success::before {
|
||||
content: url("/assets/img/success.svg");
|
||||
}
|
||||
.info::before {
|
||||
content: url("/assets/img/info.svg");
|
||||
}
|
||||
.warning::before {
|
||||
content: url("/assets/img/warning.svg");
|
||||
}
|
||||
.alert::before {
|
||||
content: url("/assets/img/alert.svg");
|
||||
}
|
||||
|
||||
.key {
|
||||
padding: 0px 5px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid;
|
||||
border-color: hsl(0,0%,70%);
|
||||
background-color: hsl(0,0%,98%);
|
||||
font-style: normal;
|
||||
font-size: 14px;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
title: Additional Support
|
||||
nav_order: 7
|
||||
has_children: true
|
||||
permalink: /additional
|
||||
---
|
||||
@@ -1,21 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
title: Slicer upload
|
||||
parent: Additional Support
|
||||
nav_order: 1
|
||||
permalink: /additional/slicer-upload
|
||||
---
|
||||
|
||||
## Upload from Slicer
|
||||
### PrusaSlicer/SuperSlicer (prior to v2.3.0)
|
||||
|
||||
You can upload your GCode-files from your Slicer. Moonraker simulates the octoprint-upload function.
|
||||
|
||||
If not already been done, switch to advanced or expert mode and set the options under "Printer Settings / General" as shown in the screenshot below.
|
||||
For "API Key" you can type anything.
|
||||
|
||||

|
||||
|
||||
### PrusaSlicer/SuperSlicer (since v2.3.0)
|
||||
A "Physical Printer" must be defined to configure the settings from above.
|
||||
More detailed instructions will follow.
|
||||
@@ -1,28 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
title: Thumbnails
|
||||
parent: Additional Support
|
||||
nav_order: 1
|
||||
permalink: /additional/thumbnails
|
||||
---
|
||||
|
||||
## Thumbnails
|
||||
|
||||
Mainsail can display thumbnails in the file browser and as previews in the print status.
|
||||
|
||||

|
||||
|
||||
### SuperSlicer (since v2.2.54.0)
|
||||
|
||||
In "Expert" mode SuperSlicer has some very convenient options in the "printer settings" tab to activate and customize the previews.
|
||||
|
||||

|
||||
|
||||
### PrusaSlicer/SuperSlicer
|
||||
|
||||
To enable thumbnails, click on `Help > Show Configuration Folder` and navigate to your printer profiles inside the `printer` folder.
|
||||
Open your printer profile in a text editor and find `thumbnails =` and add the resolutions `32x32,400x300`. Save the file and restart your Slicer.
|
||||
|
||||

|
||||
|
||||
From now on the gcode files contain thumbnails displayed by mainsail.
|
||||
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1 @@
|
||||
<svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" style="color: rgb(255, 70, 66);" class="icon-7f6730be--text-3f89f380"><g><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12" y2="17"/></g></svg>
|
||||
|
After Width: | Height: | Size: 454 B |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 65 KiB |
@@ -0,0 +1 @@
|
||||
<svg preserveAspectRatio="xMidYMid meet" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="none" style="color: rgb(56, 132, 255);" class="icon-7f6730be--text-3f89f380"><g><path d="M12.2 8.98c.06-.01.12-.03.18-.06.06-.02.12-.05.18-.09l.15-.12c.18-.19.29-.45.29-.71 0-.06-.01-.13-.02-.19a.603.603 0 0 0-.06-.19.757.757 0 0 0-.09-.18c-.03-.05-.08-.1-.12-.15-.28-.27-.72-.37-1.09-.21-.13.05-.23.12-.33.21-.04.05-.09.1-.12.15-.04.06-.07.12-.09.18-.03.06-.05.12-.06.19-.01.06-.02.13-.02.19 0 .26.11.52.29.71.1.09.2.16.33.21.12.05.25.08.38.08.06 0 .13-.01.2-.02M13 16v-4a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0M12 3c-4.962 0-9 4.038-9 9 0 4.963 4.038 9 9 9 4.963 0 9-4.037 9-9 0-4.962-4.037-9-9-9m0 20C5.935 23 1 18.065 1 12S5.935 1 12 1c6.066 0 11 4.935 11 11s-4.934 11-11 11" fill-rule="evenodd"></path></g></svg>
|
||||
|
After Width: | Height: | Size: 874 B |
|
After Width: | Height: | Size: 532 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 2.9 MiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 64 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 647 KiB |
|
Before Width: | Height: | Size: 382 KiB After Width: | Height: | Size: 336 KiB |
|
After Width: | Height: | Size: 13 KiB |
@@ -0,0 +1 @@
|
||||
<svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" style="color: rgb(38, 203, 124);" class="icon-7f6730be--text-3f89f380"><g><path d="M22 11.07V12a10 10 0 1 1-5.93-9.14"></path><polyline points="23 3 12 14 9 11"></polyline></g></svg>
|
||||
|
After Width: | Height: | Size: 376 B |
@@ -0,0 +1 @@
|
||||
<svg preserveAspectRatio="xMidYMid meet" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" style="color: rgb(247, 125, 5);" class="icon-7f6730be--text-3f89f380"><g><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12" y2="16"></line></g></svg>
|
||||
|
After Width: | Height: | Size: 406 B |
@@ -0,0 +1,41 @@
|
||||
---
|
||||
layout: default
|
||||
title: Credits
|
||||
nav_order: 100
|
||||
has_children: false
|
||||
permalink: /credits
|
||||
description: >-
|
||||
Credits for our contributors
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{: .no_toc }
|
||||
<!-- {{ page.description }} -->
|
||||
|
||||
|
||||
We would like to say "thank you" to all the
|
||||
|
||||
- contributors, who help make Mainsail better
|
||||
- testers, who help find bugs in Mainsail, so they can be quickly fixed
|
||||
- supporters via patreon/ko-fi
|
||||
|
||||
and of course the projects Mainsail is built on, especially [Klipper](https://github.com/KevinOConnor/klipper){:target="_blank"}, [Moonraker](https://github.com/Arksine/moonraker){:target="_blank"} and [MainsailOS](https://github.com/raymondh2/MainsailOS/){:target="_blank"}.
|
||||
|
||||
**THANK YOU for YOUR support. ❤️**
|
||||
|
||||
- TOC
|
||||
{:toc}
|
||||
|
||||
# Contributors
|
||||
|
||||
| contributor | link |
|
||||
|:--------|:-----|
|
||||
{% for contributor in site.data.contributors %}{% if contributor.login != "meteyou" and contributor.login != "dependabot[bot]" %}|{: style="width: 20px; vertical-align: bottom;"} **{{ contributor.login }}**|[{{ contributor.html_url }}]({{ contributor.html_url }}){:target="_blank"}|
|
||||
{% endif %}{% endfor %}
|
||||
|
||||
# Licenses
|
||||
|
||||
| project | license | link |
|
||||
|:--------|:-------:|:-----|
|
||||
{% for deps in site.data.licenses %}| **{{ deps[0] }}**<br>{{ deps[1].description }} | [{{ deps[1].licenses }}]({{ deps[1].licenseUrl }}){:target="_blank"} | [{{ deps[1].repository }}]({{ deps[1].repository }}){:target="_blank"} |
|
||||
{% endfor %}
|
||||
@@ -1,16 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
title: Custom CSS
|
||||
parent: Customizing
|
||||
nav_order: 99
|
||||
permalink: /customizing/custom-css
|
||||
---
|
||||
|
||||
## Custom-CSS
|
||||
|
||||
The custom.css file allows you to customize the appearance of Mainsail
|
||||
without the need of rebuilding it. All you need to do is to place a file
|
||||
named "custom.css" into the configuration directory ".theme" and define
|
||||
your css rules in there.
|
||||
|
||||

|
||||
@@ -1,15 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
title: Favicons
|
||||
parent: Customizing
|
||||
nav_order: 3
|
||||
permalink: /customizing/favicons
|
||||
---
|
||||
|
||||
## Custom favicon
|
||||
Upload the images with the name "favicon-16x16.png" and "favicon-32x32.png"
|
||||
to the .theme folder. Allowed extension is only .png. The "favicon-32x32.png"
|
||||
is required. The "favicon-16x16.png" is optional. Maybe a hard refresh is
|
||||
necessary (CTRL+SHIFT+F5 on windows or CMD+SHIFT+R on mac).
|
||||
|
||||

|
||||
@@ -1,22 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
title: Customizing
|
||||
nav_order: 6
|
||||
has_children: true
|
||||
permalink: /customizing
|
||||
---
|
||||
|
||||
# Customizing
|
||||
|
||||
Feel free to customize Mainsail to your preferences. At the moment there
|
||||
are not many possibilities, but i will expand them continuously. If some features
|
||||
are not yet listed below, please create a FR (feature request) on Github.
|
||||
|
||||
### currently supported functions
|
||||
- [change sidebar logo](sidebar.md)
|
||||
- [change sidebar background](sidebar.md)
|
||||
- [change favicon](favicon.md)
|
||||
- [upload custom.css](custom-css.md)
|
||||
|
||||
### cooming soon
|
||||
- change primary color (all blue buttons atm)
|
||||
@@ -1,16 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
title: Prepare
|
||||
parent: Customizing
|
||||
nav_order: 1
|
||||
permalink: /customizing/prepare
|
||||
---
|
||||
|
||||
## Prepare theme
|
||||
|
||||
To prepare mainsail to use themes, you only have to create the ".theme" directory. Go into
|
||||
"Settings" > "Machine" and check if you have enabled "Hidden files". Then you can create a
|
||||
directory with the name ".theme". Important is the "." on the beginning. All further customizing
|
||||
files, will be placed in this directory.
|
||||
|
||||

|
||||
@@ -1,22 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
title: Sidebar
|
||||
parent: Customizing
|
||||
nav_order: 2
|
||||
permalink: /customizing/sidebar
|
||||
---
|
||||
|
||||
## Sidebar customizing
|
||||
|
||||
### Change sidebar logo
|
||||
Upload an image with the name "sidebar-logo" to the .theme folder.
|
||||
Allowed file extensions for the image are: .svg, .jpg, .png and .gif.
|
||||
|
||||

|
||||
|
||||
### Change sidebar background image
|
||||
Upload an image with the name "sidebar-background" to the .theme folder.
|
||||
Allowed file extensions for the image are: .jpg, .png and .gif. The
|
||||
recommended image size is 300x1000px.
|
||||
|
||||

|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
layout: default
|
||||
title: Docker
|
||||
parent: Development
|
||||
has_children: false
|
||||
permalink: /development/docker
|
||||
description: >-
|
||||
Setup docker and docker-compose for quick full stack mainsail development with simulavr without any real printer
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## Setup
|
||||
Install docker and docker-compose on your desired machine.
|
||||
|
||||
### Debian/Ubuntu
|
||||
```shell
|
||||
sudo apt install docker docker-compose
|
||||
```
|
||||
### Mac
|
||||
https://docs.docker.com/docker-for-mac/install/
|
||||
### Windows
|
||||
https://docs.docker.com/docker-for-windows/install/
|
||||
|
||||
## Start
|
||||
1. Look into the docker/config folder. Copy the ".example" without the "example ending".
|
||||
2. Edit the configs to your likings. They are inital setup for a minimal setup environment with simulavr.
|
||||
3. In the root directory of mainsail run
|
||||
```shell
|
||||
docker/run up
|
||||
```
|
||||
|
||||
## Development
|
||||
### Commands
|
||||
```shell
|
||||
docker/run ps # showing running containers
|
||||
docker/run restart <api/npm> # restarting container
|
||||
# api: restarting complete api container with simulavr/moonraker/klipper services,
|
||||
# npm: restarting nodejs container with running 'npm run serve'
|
||||
docker/run bash <api/npm> # spawning bash shell inside container
|
||||
```
|
||||
Restarting the api container will happen a lot, because simulavr WILL crash a lot! Timings within simulavr are not precise and klipper will bug alot about that.
|
||||
## Todo
|
||||
1. The current implementation of simulavr/moonraker/klipper is kinda naiv, because docker wont run with systemd.
|
||||
I will fix that in later versions of the docker container, so you can restart specific containers and omit simulavr and bind a real connected printer for example.
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
layout: default
|
||||
title: Development
|
||||
nav_order: 15
|
||||
has_children: true
|
||||
permalink: /development
|
||||
description: development guide
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
@@ -0,0 +1,40 @@
|
||||
---
|
||||
layout: default
|
||||
title: Localization
|
||||
parent: Development
|
||||
has_children: false
|
||||
permalink: /development/localization
|
||||
description: >-
|
||||
Mainsail uses [vue-i18n](https://kazupon.github.io/vue-i18n/) for its localization.
|
||||
All Locales can be found in the `/src/locales` directory in JSON format.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## How to contribute
|
||||
|
||||
You can contribute in a couple of different ways:
|
||||
1. Create/Update translations using an i18n translation tool.<br />
|
||||
(For Example: [BabelEdit](https://www.codeandweb.com/babeledit), [i18N-Manager](https://www.electronjs.org/apps/i18n-manager))
|
||||
2. Create/Update translations using [VSCode](https://code.visualstudio.com/) and [i18n Ally](https://github.com/lokalise/i18n-ally).
|
||||
|
||||
If you have a finished translation file, you can make a [PR (pull request)](https://github.com/meteyou/mainsail/pulls)
|
||||
on github or create an [issue](https://github.com/meteyou/mainsail/issues) on github and attach the translation.
|
||||
|
||||
## Testing
|
||||
|
||||
### Test your translations live
|
||||
You can follow [this guide](https://docs.mainsail.xyz/development/standalone)
|
||||
to start Mainsail in a "Debug Mode" and check your translation live. Alternatively
|
||||
you can also use a docker container, instructions can be found
|
||||
[here](https://docs.mainsail.xyz/development/docker).
|
||||
|
||||
### Check the translation with vue-i18n-extract
|
||||
Mainsail comes with [vue-i18n-extract](https://github.com/pixari/vue-i18n-extract) in the dev dependency,
|
||||
with this tool, you can check your translation for missing or unused entries.
|
||||
|
||||
```shell
|
||||
npm install # only once and if you updated/installed packages
|
||||
npm run i18n-extract # starting i18n-extract to check all translation files
|
||||
```
|
||||
@@ -0,0 +1,45 @@
|
||||
---
|
||||
layout: default
|
||||
title: Standalone
|
||||
parent: Development
|
||||
has_children: false
|
||||
permalink: /development/standalone
|
||||
description: >-
|
||||
Setup the project and start developing with your local printer(s)
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## Setup
|
||||
Make a copy of the `.env.development.local.example` and omit the .example.
|
||||
In the new file edit it to refect your desired printer:
|
||||
```dotenv
|
||||
#for your printer with moonraker running on 192.168.0.15
|
||||
VUE_APP_HOSTNAME=192.168.0.15
|
||||
```
|
||||
In moonraker you need to add your local ip at the cors_domains:
|
||||
```yaml
|
||||
cors_domains:
|
||||
http://<your local ip>:<local port>
|
||||
```
|
||||
access the local running dev environment with `http://<your local ip>:<local port>`.
|
||||
(for example: `http://localhost:8080`)
|
||||
|
||||
### Nodejs Environment >= v15.9.0
|
||||
Linux
|
||||
```shell
|
||||
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
|
||||
```
|
||||
Debian/Ubuntu
|
||||
```shell
|
||||
sudo apt-get install -y nodejs
|
||||
```
|
||||
For other package-managers look here:
|
||||
https://nodejs.org/en/download/package-manager/
|
||||
|
||||
## Start
|
||||
```shell
|
||||
npm install # only once and if you updated/installed packages
|
||||
npm run serve # starting current build with hot module reloading
|
||||
```
|
||||
|
After Width: | Height: | Size: 93 KiB |
@@ -5,13 +5,42 @@ nav_order: 1
|
||||
has_children: false
|
||||
---
|
||||
|
||||
# Welcome to the Mainsail docs!
|
||||
# Welcome to Mainsail!
|
||||
Mainsail is a lightweight & responsive web interface for Klipper, the 3D printer firmware. It focuses especially on an intuitive and consistent interface.
|
||||
{: .fs-5 }
|
||||
|
||||
Mainsail is a lightweight & responsive web interface for the Klipper 3D printer firmware. It communicates with Moonraker (Klipper-API) from Arksine.
|
||||
|
||||
[Setup Guide](/setup-guide/index.md){: .btn}
|
||||
|
||||
For support join our discord server -> [https://discord.gg/skWTwTD](https://discord.gg/skWTwTD)
|
||||
[Getting Started](/setup){: .btn .btn-primary }
|
||||
[GitHub](https://github.com/meteyou/mainsail){: .btn}{:target="_blank"}
|
||||
[Release Notes](https://github.com/meteyou/mainsail/releases){: .btn}{:target="_blank"}
|
||||
|
||||
## Screenshots
|
||||

|
||||

|
||||
|
||||
## Features
|
||||
- Optimized for desktops, tablets and mobile devices
|
||||
- Supports multiple 3D printers (Printer Farm)
|
||||
- Localization (i18n)
|
||||
- File Manager (gcode and config files)
|
||||
- File Editor (gcode and config files)
|
||||
- Print History / Stats
|
||||
- Temperature Presets (with custom gcode)
|
||||
- Bed Mesh Leveling
|
||||
- Multi-Webcam support
|
||||
- Control power devices (relays, TPLink, Tasmota, ..)
|
||||
- Customizable UI (logos, backgrounds & even custom css)
|
||||
|
||||
## Get support & assistance
|
||||
Do you need help or just want to talk? Join us on discord. We have a very active community.
|
||||
Have you found a bug? Then we would like you to create an Issue on GitHub.
|
||||
|
||||
[Discord](https://discord.gg/skWTwTD){: .btn}{:target="_blank"}
|
||||
[GitHub Issues](https://github.com/meteyou/mainsail/issues){: .btn}{:target="_blank"}
|
||||
|
||||
## Support this project
|
||||
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
|
||||
|
||||
- [Patreon (recurring)](https://patreon.com/meteyou){:target="_blank"}
|
||||
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail){:target="_blank"}
|
||||
|
||||
However, we would also like to ask you to support the regular contributors.
|
||||
{: .info}
|
||||
@@ -8,59 +8,73 @@ permalink: /necessary-configuration
|
||||
|
||||
Mainsail requires a minimum configuration to function properly. It should give you a warning at startup if the required parts are not found in your configuration.
|
||||
|
||||
## Required configuration
|
||||
### virtual_sdcard
|
||||
# Required configuration
|
||||
## virtual_sdcard
|
||||
This allows gcode file uploads.
|
||||
```yaml
|
||||
[virtual_sdcard]
|
||||
path: ~/gcode_files
|
||||
```
|
||||
|
||||
### display_status
|
||||
## display_status
|
||||
This is required for messages in your status panel, if you don't have a `[display]` in your configuration.
|
||||
```yaml
|
||||
[display_status]
|
||||
```
|
||||
|
||||
### pause / resume / cancel
|
||||
## pause / resume / cancel
|
||||
This enables pause / resume in mainsail.
|
||||
|
||||
```yaml
|
||||
[pause_resume]
|
||||
```
|
||||
|
||||
## Macros
|
||||
### for pause /resume / cancel functionality
|
||||
# Macros
|
||||
## for pause / resume / cancel functionality
|
||||
These should be modified to your own needs.
|
||||
{% raw %}
|
||||
```yaml
|
||||
[gcode_macro PAUSE]
|
||||
rename_existing: BASE_PAUSE
|
||||
default_parameter_X: 230 #edit to your park position
|
||||
default_parameter_Y: 230 #edit to your park position
|
||||
default_parameter_Z: 10 #edit to your park position
|
||||
default_parameter_E: 1 #edit to your retract length
|
||||
gcode:
|
||||
##### set defaults #####
|
||||
{% set x = params.X|default(230) %} #edit to your park position
|
||||
{% set y = params.Y|default(230) %} #edit to your park position
|
||||
{% set z = params.Z|default(10)|float %} #edit to your park position
|
||||
{% set e = params.E|default(1) %} #edit to your retract length
|
||||
##### calculate save lift position #####
|
||||
{% set max_z = printer.toolhead.axis_maximum.z|float %}
|
||||
{% set act_z = printer.toolhead.position.z|float %}
|
||||
{% set lift_z = z|abs %}
|
||||
{% if act_z < (max_z - lift_z) %}
|
||||
{% set z_safe = lift_z %}
|
||||
{% else %}
|
||||
{% set z_safe = max_z - act_z %}
|
||||
{% endif %}
|
||||
##### end of definitions #####
|
||||
SAVE_GCODE_STATE NAME=PAUSE_state
|
||||
BASE_PAUSE
|
||||
G91
|
||||
G1 E-{E} F2100
|
||||
G1 Z{Z}
|
||||
G1 E-{e} F2100
|
||||
G1 Z{z_safe}
|
||||
G90
|
||||
G1 X{X} Y{Y} F6000
|
||||
G1 X{x} Y{y} F6000
|
||||
```
|
||||
|
||||
```yaml
|
||||
[gcode_macro RESUME]
|
||||
rename_existing: BASE_RESUME
|
||||
default_parameter_E: 1 #edit to your retract length
|
||||
gcode:
|
||||
##### set defaults #####
|
||||
{% set e = params.E|default(1) %} #edit to your retract length
|
||||
G91
|
||||
G1 E{E} F2100
|
||||
G1 E{e} F2100
|
||||
G90
|
||||
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
|
||||
BASE_RESUME
|
||||
```
|
||||
|
||||
|
||||
```yaml
|
||||
[gcode_macro CANCEL_PRINT]
|
||||
rename_existing: BASE_CANCEL_PRINT
|
||||
@@ -70,11 +84,13 @@ gcode:
|
||||
SDCARD_RESET_FILE
|
||||
BASE_CANCEL_PRINT
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
## Optional
|
||||
# Optional
|
||||
|
||||
### customize klipper default commands
|
||||
## customize klipper default commands
|
||||
for example, if you want to adjust the `BED_MESH_CALIBRATE` command, which you can run from "heightmap > calibrate".
|
||||
{% raw %}
|
||||
```yaml
|
||||
[gcode_macro BED_MESH_CALIBRATE]
|
||||
rename_existing: BASE_BED_MESH_CALIBRATE
|
||||
@@ -87,3 +103,4 @@ gcode:
|
||||
BASE_BED_MESH_CALIBRATE
|
||||
#after the original gcode
|
||||
```
|
||||
{% endraw %}
|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
layout: default
|
||||
title: Preview
|
||||
nav_exclude: true
|
||||
permalink: /preview
|
||||
description: >-
|
||||
We would like to give you a little sneak peak on the next big thing.
|
||||
---
|
||||
|
||||
|
||||
|
||||
# Sneak Peak
|
||||
Some users have asked which new features are planned for Mainsail 2.0. So we would like to give you a little sneak peak.
|
||||
|
||||
# Ground breaking changes
|
||||
We have completely rethought the system of Mainsail and MainsailOS and will further bring the OS aspect to the focus. This will include a **complete design overhaul** to integrate **the all new help assistant**.
|
||||
|
||||
Due to the major changes we will probably jump directly to **Mainsail 2000** instead of 2.0.
|
||||
|
||||
{: style="display: block; margin-left: auto; margin-right: auto; width: 50%;"}
|
||||
|
||||
# New UI
|
||||
- Works especially well on small displays. For example, with a resolution of 800x600 pixels.
|
||||
- Dark theme was tossed overboard. This provides new possibilities in design.
|
||||
- The new menu arrangement is especially targeted at mobile devices and short thumbs.
|
||||
|
||||

|
||||

|
||||
|
||||
# Easy to customize
|
||||
Throw your own wallaper in the folder and you are ready to go.
|
||||
|
||||

|
||||
|
||||
# Clippy, our Smart Assistant
|
||||
Mainsails new smart assistant *Clippy* is always there to help and advise.
|
||||
|
||||

|
||||
|
||||
He may be receiving support from *Wizard* in the near future, who could help you with your printing problems.
|
||||
|
||||

|
||||
@@ -0,0 +1,37 @@
|
||||
---
|
||||
layout: default
|
||||
title: Additional Sensors
|
||||
parent: Quicktips
|
||||
has_children: false
|
||||
permalink: /quicktips/additional-sensors
|
||||
description: >-
|
||||
Integrate additional sensors into the temperature graph. For example Raspberry Pi, MCU, BMExxx, HTU21D, LM75 and more..
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## Raspberry Pi temperature sensor
|
||||
|
||||
Append the following section to your printer.cfg:
|
||||
|
||||
```yaml
|
||||
[temperature_sensor raspberry_pi]
|
||||
sensor_type: temperature_host
|
||||
min_temp: 10
|
||||
max_temp: 100
|
||||
```
|
||||
|
||||
## ATSAM, ATAMD, and STM32 temperature sensor
|
||||
|
||||
Append the following section to your printer.cfg:
|
||||
|
||||
```yaml
|
||||
[temperature_sensor mcu_temp]
|
||||
sensor_type: temperature_mcu
|
||||
min_temp: 0
|
||||
max_temp: 100
|
||||
```
|
||||
|
||||
For more information on this topic and how to add additional sensors, please refer to [Klipper documentation](https://www.klipper3d.org/Config_Reference.html#builtin-micro-controller-temperature-sensor){:target="_blank"}.
|
||||
{: .info}
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
layout: default
|
||||
title: Console Shortcuts
|
||||
parent: Quicktips
|
||||
has_children: false
|
||||
permalink: /quicktips/console-shortcuts
|
||||
description: >-
|
||||
Similar to a terminal of your OS, there are some keyboard shortcuts in Mainsail that make your everyday life easier.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## Help command
|
||||
|
||||
Issue a `HELP` command to get a list of possible commands.
|
||||
|
||||
## Autocomplete
|
||||
|
||||
You can start typing a command and then complete it with the tab-key. If there are several possibilities, you will get a list of choices.
|
||||
|
||||

|
||||
|
||||
## Scroll through commands
|
||||
|
||||
Using the ↑ up / ↓ down arrow keys you can scroll through previous commands.
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
layout: default
|
||||
title: Disable Octoprint LCD menu
|
||||
parent: Quicktips
|
||||
has_children: false
|
||||
permalink: /quicktips/disable-octoprint-lcd-menu
|
||||
description: >-
|
||||
Klipper is shipped with an Octoprint entry in the LCD menu. These menu points don't work with Mainsail.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## Modify printer.cfg
|
||||
Just add the following entry to your printer.cfg:
|
||||
|
||||
```yaml
|
||||
[menu __main __octoprint]
|
||||
type: disabled
|
||||
```
|
||||
@@ -0,0 +1,34 @@
|
||||
---
|
||||
layout: default
|
||||
title: Hide macros, outputs or fans
|
||||
parent: Quicktips
|
||||
has_children: false
|
||||
permalink: /quicktips/hide-gcode_macros
|
||||
description: >-
|
||||
As you probably already noticed, you can show and hide the gcode macros in the interface settings, but there is more...
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
Did you know, that you can also hide gcode macros by prefixing the name with an underscore?
|
||||
|
||||
```yaml
|
||||
[gcode_macro MY_AWESOME_GCODE]
|
||||
gcode:
|
||||
_MY_HELPER_CODE
|
||||
```
|
||||
|
||||
```yaml
|
||||
[gcode_macro _MY_HELPER_CODE]
|
||||
gcode:
|
||||
M300
|
||||
```
|
||||
|
||||
`MY_AWESOME_GCODE` appears in your interface settings, `_MY_HELPER_CODE` not.
|
||||
|
||||

|
||||
|
||||
By the way, this also works for other configuration sections like, **fans and outputs.**
|
||||
{: .info}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
layout: default
|
||||
title: Print History/Stats
|
||||
parent: Quicktips
|
||||
has_children: false
|
||||
permalink: /quicktips/history
|
||||
description: >-
|
||||
Since Mainsail 1.5.0 it is possible to report and visualize print statistics. These contain various information such as print status, print duration, amount of filament used, etc.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
It's also possible to reprint jobs.
|
||||
|
||||
{: style="width: 50%;"}
|
||||
|
||||
## Enable print history tracking
|
||||
|
||||
For this, it is necessary to enable print history tracking in moonraker.
|
||||
|
||||
Just add `[history]` to your moonraker.conf and restart moonraker.
|
||||
|
||||
The new history entry will appear in Mainsails sidebar.
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
layout: default
|
||||
title: Quicktips
|
||||
nav_order: 10
|
||||
has_children: true
|
||||
permalink: /quicktips
|
||||
description: >-
|
||||
quick tips, without much explanation
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
@@ -0,0 +1,31 @@
|
||||
---
|
||||
layout: default
|
||||
title: Presets
|
||||
parent: Quicktips
|
||||
has_children: false
|
||||
permalink: /quicktips/presets
|
||||
description: >-
|
||||
Mainsail supports so-called presets. They are often used for preheat & cooldown, but also execute normal gcode.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## Setup
|
||||
In Mainsails interface settings you will find a section called "Preheat Presets". There you can set your presets via "ADD PRESET" and the following dialog.
|
||||
|
||||
### Preheat
|
||||
|
||||
Enter a name \(e.g. name, color and type of filament\) and the temperatures obtained. You can disable individual heaters and even specify a custom gcode for the preheat phase. The gcode will be executed after the selected temperatures are set.
|
||||
|
||||

|
||||
|
||||
### Further Examples
|
||||
|
||||
#### Z-Offset
|
||||
|
||||
To quickly switch between different Z-offsets \(flexplates with smooth and textured surfaces\), you can create presets and deactivate the heaters.
|
||||
|
||||
As G-Code you simply enter `SET_GCODE_OFFSET Z=0.2`, of course with your determined offset.
|
||||
|
||||

|
||||
@@ -0,0 +1,86 @@
|
||||
---
|
||||
layout: default
|
||||
title: Remote Access
|
||||
parent: Quicktips
|
||||
permalink: /quicktips/remote-access
|
||||
description: >-
|
||||
A guide to safe remote access.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
__Notice__
|
||||
This is not a complete guide with every single step in detail, but rather a recommendation of what to do and especially what not to do to get access to the printer from somewhere remote from your network.
|
||||
{: .info}
|
||||
|
||||
You have to decide if you ..
|
||||
- only want to have status messages on your smartphone
|
||||
- or you need full remote access to Mainsail from everywhere
|
||||
|
||||
Of course, you can also use a combination of both.
|
||||
|
||||
## Status messages
|
||||
|
||||
For simple status messages there are a couple of additional tools that can be used:
|
||||
- __discord:__ Mooncord is a bot that sends you status messages over discord.
|
||||
[https://github.com/eliteSchwein/mooncord](https://github.com/eliteSchwein/mooncord)
|
||||
- __telegram:__ moonraker-telegram is a bot that sends you status messages over telegram.
|
||||
[https://github.com/Raabi91/moonraker-telegram](https://github.com/Raabi91/moonraker-telegram)
|
||||
|
||||
These tools are installed on the local machine and send the status messages via the respective platforms. Thus, no access to your local network from outside is necessary.
|
||||
|
||||
For details, please refer to the projects instructions.
|
||||
|
||||
## Remote Access to Mainsail
|
||||
|
||||
<div class="alert">
|
||||
What <b>not to do</b>:
|
||||
<ul>
|
||||
<li>Please do not open ports of Mainsail/Moonraker in your router to the rest of the world. There are plenty of reports of Octoprint installations being freely accessible on the Internet, with just as many reasons why this is not a good idea.</li>
|
||||
</ul>
|
||||
<a href="https://isc.sans.edu/forums/diary/3D+Printers+in+The+Wild+What+Can+Go+Wrong/24044/" target="_blank">https://isc.sans.edu/forums/diary/3D+Printers+in+The+Wild+What+Can+Go+Wrong/24044/</a>
|
||||
</div>
|
||||
|
||||
<div class="warning">
|
||||
What you <b>could do</b>:
|
||||
<ul>
|
||||
<li>Use an external service provider (e.g. tailscale) to gain access to your home network.
|
||||
<ul>
|
||||
<li>Con: you give the control out of your hand</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Reverse Proxy</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="success">
|
||||
<b>Recommendation</b> what you <b>should do</b>:
|
||||
<ul>
|
||||
<li>Set up your own secured VPN tunnel.
|
||||
<ul>
|
||||
<li>either in the router</li>
|
||||
<li>or your Pi</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
## Set up VPN
|
||||
|
||||
Several routers allow you to set up a VPN tunnel without much effort.
|
||||
After you have entered the login data into e.g. your smartphone, you will have secure access to your entire network, including Mainsail.
|
||||
|
||||
If your router does not support this, you can also set up your own VPN, e.g. on your Pi.
|
||||
Therefore you could use: [OpenVPN](https://openvpn.net/), [WireGuard](https://www.wireguard.com/) or [PiVPN](https://www.pivpn.io/)
|
||||
|
||||
To be able to reach your home network even with a non-static IP address, you should use a dynamic DNS service. This will forward a domain directly to your IP address. Often, these DynDNS services can also be set up directly in the router, so that the IP address gets automatically updated on a change.
|
||||
|
||||
Some free services: [DuckDNS](https://www.duckdns.org) or [FreeDNS ](https://freedns.afraid.org/)
|
||||
|
||||
__Notice__
|
||||
The devices that dial in via the VPN tunnel are assigned to a different address range. This address range must be configured in moonraker under _trusted_clients_ and _cors_domains_. [https://moonraker.readthedocs.io/en/latest/configuration/#authorization](https://moonraker.readthedocs.io/en/latest/configuration/#authorization) <br/><br/>
|
||||
For example:
|
||||
__192.168.1__.x _// devices on your regular LAN_
|
||||
__192.168.50__.x _// devices connected through your VPN tunnel_
|
||||
{: .info}
|
||||
@@ -0,0 +1,35 @@
|
||||
---
|
||||
layout: default
|
||||
title: Slicer Upload
|
||||
parent: Quicktips
|
||||
permalink: /quicktips/slicer-upload
|
||||
description: >-
|
||||
You can upload your sliced G-Code from within your slicer and have it start printing.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
Moonraker has compatibility with Octoprint's API. To enable octoprint api compatibility,
|
||||
add the following to your `moonraker.conf` and restart Moonraker.
|
||||
|
||||
```
|
||||
[octoprint_compat]
|
||||
```
|
||||
|
||||
|
||||
### PrusaSlicer/SuperSlicer (prior to v2.3.0)
|
||||
|
||||
If not already been done, switch to advanced or expert mode and set the options under `Printer Settings / General` as shown in the screenshot below.
|
||||
For "API Key" you can type anything.
|
||||
|
||||

|
||||
|
||||
### PrusaSlicer/SuperSlicer (since v2.3.0)
|
||||
A "Physical Printer" must be defined to configure the settings from above.
|
||||
More detailed instructions will follow.
|
||||
|
||||
### Cura with OctoPrint-Connect
|
||||
Install the OctoPrint-Connection plugin via Marketplace. In `Settings > Printer > Manage Printers...`
|
||||
you can find the Button `Connect OctoPrint`. Add your printer and type anything in the `API Key` field.
|
||||
|
||||

|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
layout: default
|
||||
title: Thumbnails
|
||||
parent: Quicktips
|
||||
permalink: /quicktips/thumbnails
|
||||
description: >-
|
||||
Mainsail can display thumbnails in the file browser and as previews in the print status.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||

|
||||
|
||||
### PrusaSlicer (since v2.3.0)
|
||||
|
||||
In "Expert" mode PrusaSlicer has an option in the "Printer Settings" tab to activate previews.
|
||||
Under `General / Firmware`, enter `32x32,400x300` as "G-code thumbnails".
|
||||
|
||||

|
||||
|
||||
### SuperSlicer (since v2.2.54.0)
|
||||
|
||||
In "Expert" mode SuperSlicer has some very convenient options in the "Printer Settings" tab to activate and customize the previews.
|
||||
|
||||

|
||||
|
||||
### PrusaSlicer/SuperSlicer
|
||||
|
||||
To enable thumbnails, click on `Help > Show Configuration Folder` and navigate to your printer profiles inside the `printer` folder.
|
||||
Open your printer profile in a text editor and find `thumbnails =` and add the resolutions `32x32,400x300`. Save the file and restart your Slicer.
|
||||
|
||||

|
||||
|
||||
From now on the gcode files contain thumbnails displayed by mainsail.
|
||||
|
||||
### Cura
|
||||
|
||||
The Cura plugin "Cura2Moonraker" is required for this. You can find this plugin and a install guide
|
||||
here: [https://github.com/emtrax-ltd/Cura2MoonrakerPlugin](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin)
|
||||
|
||||

|
||||
@@ -0,0 +1,33 @@
|
||||
---
|
||||
layout: default
|
||||
title: Update Manager
|
||||
parent: Quicktips
|
||||
has_children: false
|
||||
permalink: /quicktips/update-manager
|
||||
description: >-
|
||||
Perform updates of Mainsail, Klipper, Moonraker and your system from within Mainsail.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## Moonraker.conf
|
||||
|
||||
Add the following section to your printers moonraker.conf:
|
||||
|
||||
```yaml
|
||||
[update_manager]
|
||||
|
||||
[update_manager client mainsail]
|
||||
type: web
|
||||
repo: meteyou/mainsail
|
||||
path: ~/mainsail
|
||||
```
|
||||
|
||||
Once you have restarted the moonraker service, the Update Manager will appear in Mainsails machine settings.
|
||||
|
||||

|
||||
|
||||
|
||||
You can find further information on this topic by checking out the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
|
||||
{: .info}
|
||||
@@ -2,9 +2,14 @@
|
||||
layout: default
|
||||
title: Remote Mode
|
||||
nav_order: 4
|
||||
nav_exclude: true
|
||||
has_children: false
|
||||
permalink: /remotemode
|
||||
description: >-
|
||||
description in progress
|
||||
---
|
||||
|
||||
## Remote Mode
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
The description will follow soon.
|
||||
@@ -7,8 +7,27 @@ permalink: /setup/
|
||||
has_toc: false
|
||||
---
|
||||
# Setup Guides
|
||||
There are different ways to install Mainsail.
|
||||
|
||||
- [MainsailOS (recommend)](mainsail-os.md)
|
||||
- [Kiauh (Klipper Install And Update Helper)](kiauh.md)
|
||||
- [Manual Setup](manual-setup/index.md)
|
||||
To get started, you first have to decide which route you want to follow for the installation. There are several ways to install Mainsail on a Raspberry Pi.
|
||||
|
||||
- [MainsailOS](mainsail-os.md) <span class="label label-red">recommended</span>
|
||||
A prebuilt image for your Raspberry Pi. Flash it and you are almost ready to go.
|
||||
- [KIAUH](kiauh.md) - _Klipper Installation And Update Helper_
|
||||
A script toolbox to install and keep Klipper, Moonraker and Mainsail up to date. It contains many additional features and is the way to go for multiprinter setups.
|
||||
- [Manual Setup](manual-setup/index.md)
|
||||
The rocky road. If you want to know how everything is set up by hand, you will get all the information here.
|
||||
|
||||
## my.mainsail.xyz
|
||||
In addition to these guides, there is [my.mainsail.xyz](http://my.mainsail.xyz){: target="_blank"}. The latest Mainsail version is always hosted there. This obviates the need to set up a web server for Mainsail on your hardware.
|
||||
|
||||
To use [my.mainsail.xyz](http://my.mainsail.xyz){: target="_blank"}, the following requirements must be met:
|
||||
- Klipper must be installed.
|
||||
- Moonraker must be installed.
|
||||
- my.mainsail.xyz must be configured as a CORS domain in moonraker.conf.
|
||||
|
||||
**MainsailOS & KIAUH already fulfill these requirements.**
|
||||
|
||||
_Note_, only the static .html, .js and .css files are loaded into your browser storage. No further information is transferred to the server. The communication to your printer is then done locally directly between your browser and your Moonraker installation.
|
||||
If you have any concerns, you can of course still install Mainsail on your hardware locally. Parallel operation is also possible.
|
||||
{: .info}
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
---
|
||||
layout: default
|
||||
title: Kiauh Guide
|
||||
title: KIAUH
|
||||
parent: Setup Guides
|
||||
nav_order: 2
|
||||
has_children: false
|
||||
permalink: /setup/kiauh
|
||||
---
|
||||
# Installing Mainsail with Kiauh
|
||||
# Installing Mainsail with KIAUH
|
||||
|
||||
Kiauh is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various
|
||||
other extensions easily and comfortably.
|
||||
[KIAUH](https://github.com/th33xitus/kiauh) is a handy tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various other extensions easily and comfortably.
|
||||
|
||||
For more informations and get to the guide click [here](https://github.com/th33xitus/kiauh).
|
||||

|
||||
|
||||
For more information and get to the guide click [here](https://github.com/th33xitus/kiauh).
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
layout: default
|
||||
title: MainsailOS Guide
|
||||
title: MainsailOS
|
||||
parent: Setup Guides
|
||||
nav_order: 1
|
||||
has_children: false
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
---
|
||||
layout: default
|
||||
title: Manual Setup Guide
|
||||
title: Manual Setup
|
||||
parent: Setup Guides
|
||||
nav_order: 3
|
||||
has_children: true
|
||||
permalink: /setup/manual-setup
|
||||
---
|
||||
|
||||
# Installing Mainsail the manual way
|
||||
|
||||
This is a guide to setting up Klipper, Moonraker & Mainsail on a Raspberry Pi with Raspberry Pi OS. Other SBCs and/or Linux distributions might work, but may require a customized installation script or configs.
|
||||
@@ -1,14 +1,14 @@
|
||||
---
|
||||
layout: default
|
||||
title: Klipper
|
||||
parent: Manual Setup Guide
|
||||
parent: Manual Setup
|
||||
grand_parent: Setup Guides
|
||||
nav_order: 3
|
||||
permalink: /setup/manual-setup/klipper
|
||||
---
|
||||
|
||||
## Klipper
|
||||
### Installation
|
||||
# Klipper
|
||||
## Installation
|
||||
The following commands will clone Klipper to an appropriate directory in HOME and run the setup script.
|
||||
```bash
|
||||
cd ~
|
||||
@@ -17,7 +17,7 @@ cd ~/klipper
|
||||
./scripts/install-octopi.sh
|
||||
```
|
||||
|
||||
### Configuration
|
||||
## Configuration
|
||||
After Klipper is installed, you will need to change the default location of the printer.cfg and add the UDS (unix domain socket). This is defined in the file `/etc/default/klipper`
|
||||
|
||||
To edit this file type:
|
||||
@@ -55,8 +55,9 @@ path: ~/gcode_files
|
||||
# for pause/resume functionality.
|
||||
# Mainsail needs gcode macros for `PAUSE`, `RESUME` and `CANCEL_PRINT` to make the buttons work.
|
||||
```
|
||||
> ℹ️ **These entries are very important.**
|
||||
**These entries are very important.**
|
||||
For the full functionality of mainsail, you should also define gcode macros for `PAUSE`, `RESUME` and `CANCEL_PRINT`. You'll find further information in [this](../../necessary-cfg.md){: target="_blank"} document.
|
||||
{: .info }
|
||||
|
||||
After your config is in place, restart klipper with `sudo service klipper restart`. Check the `/tmp/klippy.log` for errors, if Klipper starts correctly you can continue the guide.
|
||||
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
---
|
||||
layout: default
|
||||
title: Mainsail
|
||||
parent: Manual Setup Guide
|
||||
parent: Manual Setup
|
||||
grand_parent: Setup Guides
|
||||
nav_order: 5
|
||||
permalink: /setup/manual-setup/mainsail
|
||||
---
|
||||
|
||||
# Mainsail
|
||||
|
||||
|
||||
## Mainsail
|
||||
### Install webserver & reverse proxy (nginx)
|
||||
## Install webserver & reverse proxy (nginx)
|
||||
|
||||
nginx is important to mount all components on port 80 and host the static files from Mainsail. To install nginx you only need to execute:
|
||||
|
||||
@@ -140,7 +139,7 @@ Now you can check again the API if it works with the reverse proxy. Open the url
|
||||
|
||||
Now we can install Mainsail (static httpdocs).
|
||||
|
||||
### Install httpdocs
|
||||
## Install httpdocs
|
||||
|
||||
Now you can download the current mainsail static data
|
||||
|
||||
@@ -151,14 +150,14 @@ wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/latest/down
|
||||
|
||||
Now it should be possible to open the interface: `http://<printer-ip>/`.
|
||||
|
||||
### Important macros
|
||||
## Important macros
|
||||
|
||||
if you want to get the full experience with mainsail and klipper virtual_sdcard print, you should use these macros, or use them as templates for your own.
|
||||
|
||||
[Macro Link](../../necessary-cfg.md){: .btn target="_blank"}
|
||||
|
||||
|
||||
### Change the Hostname (optional)
|
||||
## Change the Hostname (optional)
|
||||
|
||||
to use the hostname instate of the ip, you can install the avahi-daemon:
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
---
|
||||
layout: default
|
||||
title: Moonraker
|
||||
parent: Manual Setup Guide
|
||||
parent: Manual Setup
|
||||
grand_parent: Setup Guides
|
||||
nav_order: 4
|
||||
permalink: /setup/manual-setup/moonraker
|
||||
---
|
||||
## Moonraker
|
||||
# Moonraker
|
||||
Moonraker is a web server that exposes APIs which lets Mainsail interact with Klipper.
|
||||
|
||||
### Installation
|
||||
## Installation
|
||||
Clone Moonraker into your HOME directory:
|
||||
```bash
|
||||
cd ~
|
||||
@@ -22,9 +22,10 @@ cd ~/moonraker/scripts
|
||||
./install-moonraker.sh -c /home/pi/klipper_config/moonraker.conf
|
||||
```
|
||||
|
||||
### Configuration
|
||||
> ⚠️ **Please pay attention to the following steps!**
|
||||
## Configuration
|
||||
**Please pay attention to the following steps!**
|
||||
Misconfigured trusted_clients are a very common source of failure.
|
||||
{: .warning }
|
||||
|
||||
For Moonraker you'll need to create a separate config file.
|
||||
|
||||
@@ -33,8 +34,9 @@ For Moonraker you'll need to create a separate config file.
|
||||
Insert the following part and modify `trusted_clients` according to arksines description below.
|
||||
Also consider further IP ranges, e.g. when connecting via VPN. To determine your local ip `ip a` and `ifconfig -a` are common ways to do so on Linux and `ipconfig` on Windows.
|
||||
|
||||
> ℹ️ **This is a very basic config**
|
||||
**This is a very basic config**
|
||||
For more options and detailed explanations you should follow [arksines instructions](https://github.com/Arksine/moonraker/blob/master/docs/installation.md).
|
||||
{: .info }
|
||||
|
||||
```
|
||||
[server]
|
||||
@@ -48,11 +50,14 @@ trusted_clients:
|
||||
2a02:810d:9340:33f6::/64
|
||||
|
||||
[update_manager]
|
||||
client_repo: meteyou/mainsail
|
||||
client_path: ~/mainsail
|
||||
|
||||
[update_manager client mainsail]
|
||||
type: web
|
||||
repo: meteyou/mainsail
|
||||
path: ~/mainsail
|
||||
```
|
||||
|
||||
> 🔥 **trusted_clients - read carefully** 🔥
|
||||
🔥 **trusted_clients - read carefully** 🔥
|
||||
A list of newline separated ip addresses and/or ip ranges that are
|
||||
trusted. Trusted clients are given full access to the API. Both IPv4
|
||||
and IPv6 addresses and ranges are supported. Ranges must be expressed
|
||||
@@ -61,6 +66,7 @@ For example, an entry of 192.168.1.0/24 will authorize IPs in the range of 192.1
|
||||
192.168.1.254. Note that when specifying IPv4 ranges the last segment
|
||||
of the ip address must be 0. The default is no clients or ranges are
|
||||
trusted.
|
||||
{: .alert }
|
||||
|
||||
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
|
||||
|
||||
|
||||
@@ -1,27 +1,35 @@
|
||||
---
|
||||
layout: default
|
||||
title: Operating System
|
||||
parent: Manual Setup Guide
|
||||
parent: Manual Setup
|
||||
grand_parent: Setup Guides
|
||||
nav_order: 2
|
||||
permalink: /setup/manual-setup/operating-systen
|
||||
description: >-
|
||||
Manual Setup: tips and recommendations for the OS.
|
||||
---
|
||||
## Operation System
|
||||
> ⚠️ **Please don't use an OctoPi image!**
|
||||
It can cause unforeseeable events, like rips in the space-time continuum. So be aware!
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
**Please don't use an OctoPi image!**
|
||||
It can cause unforeseeable events, like rips in the space-time continuum. So be aware!
|
||||
No seriously. Experiences have shown that it is advisable not to use an OctoPi image (especially for beginners).
|
||||
{: .warning }
|
||||
|
||||
It is recommended to use a clean Raspberry Pi OS 32-bit Lite image (previously called Raspbian). You can download it [here](https://downloads.raspberrypi.org/raspios_lite_armhf_latest){:target="_blank"}.
|
||||
For more information about installing Raspberry Pi OS click [here](https://www.raspberrypi.org/documentation/installation/installing-images/){:target="_blank"}. Don't forget to enable ssh.
|
||||
|
||||
Once you have finished the installation and are connected via ssh, you can continue.
|
||||
|
||||
### Requirements
|
||||
## Requirements
|
||||
```bash
|
||||
sudo apt update && sudo apt upgrade
|
||||
sudo apt install git dfu-util unzip
|
||||
```
|
||||
|
||||
> ⚠️ **Moonraker requires Python 3.7 or greater,** verify that your distribution's Python 3 packages meet this requirement.
|
||||
**Moonraker requires Python 3.7 or greater,** verify that your distribution's Python 3 packages meet this requirement.
|
||||
{: .alert }
|
||||
|
||||
```
|
||||
python3 --version
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
layout: default
|
||||
title: Backgrounds
|
||||
parent: Theming
|
||||
nav_order: 10
|
||||
permalink: /theming/backgrounds
|
||||
description: >-
|
||||
Place some background images to give Mainsail its own look with ease.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
|
||||
|
||||
At the moment there are two background images that can be set. In the sidebar- and mainview.
|
||||
|
||||
{:width="50%"}
|
||||
|
||||
For uploads you can use the built-in file manager. `(Settings > Machine)`
|
||||
|
||||
<!--  -->
|
||||
|
||||
## Sidebar background image
|
||||
Just load a background image into your .theme folder and name it `sidebar-background.<extension>`.
|
||||
|
||||
| Filename | sidebar-background |
|
||||
| Valid file extensions | .jpg, .png and .gif |
|
||||
| Recommended image size | 300x1000px |
|
||||
|
||||
## Mainview background image
|
||||
Upload a background image into your .theme folder and name it `main-background.<extension>`.
|
||||
|
||||
| Filename | main-background |
|
||||
| Valid file extensions | .jpg, .png and .gif |
|
||||
|
||||
**Please note**: By default, the background image is stretched to the entire area.
|
||||
For example, if you want a repeating pattern, you also need to use custom css.
|
||||
{: .info}
|
||||
@@ -0,0 +1,54 @@
|
||||
---
|
||||
layout: default
|
||||
title: Custom CSS
|
||||
parent: Theming
|
||||
nav_order: 30
|
||||
permalink: /theming/custom-css
|
||||
---
|
||||
|
||||
# Custom-CSS
|
||||
|
||||
The custom.css file allows you to customize the appearance of Mainsail
|
||||
without the need of rebuilding it. All you need to do is to place a file
|
||||
named "custom.css" into the configuration directory ".theme" and define
|
||||
your css rules in there.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
## How to CSS
|
||||
|
||||
You need to be familiar with the CSS (**C**ascading **S**tyle **S**heets) syntax.
|
||||
There are many resources to learn CSS online, for example:
|
||||
- https://www.w3schools.com/css/default.asp
|
||||
|
||||
### find the Element selector (example based on Chrome Browser)
|
||||
|
||||
Use your browser's built-in developer tools to find the right selector of the element you want to add your own flair to.
|
||||
|
||||
Open the developer tools:
|
||||
|
||||
right click anywhere on the page and select "inspect" (or F12 on the keyboard)
|
||||
|
||||

|
||||
|
||||
1. Activate the "inspector"
|
||||
2. Select the desired element
|
||||
3. Find the selector
|
||||
4. Use the style editor and fiddle arround
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
When you have achieved your desired appearance copy the full "section" including selector and curly braces
|
||||
|
||||

|
||||
|
||||
Then copy it to the "custom.css" file (you can keep everything or only what you have added)
|
||||
|
||||

|
||||
|
||||
NOTE: After saving, your browser may need a uncached reload to show the change (https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache)
|
||||
@@ -0,0 +1,38 @@
|
||||
---
|
||||
layout: default
|
||||
title: Logos/Icons
|
||||
parent: Theming
|
||||
nav_order: 20
|
||||
permalink: /theming/favicons
|
||||
description: >-
|
||||
Replace the default logos/icons, to quickly recognize your printers.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
For uploads you can use the built-in file manager. `(Settings > Machine)`
|
||||
|
||||
## Sidebar logo
|
||||
Just upload a logo into your .theme folder and name it `sidebar-logo.<extension>`.
|
||||
|
||||
| Filename | sidebar-logo |
|
||||
| Valid file extensions | .svg, .jpg, .png and .gif |
|
||||
| Recommended image size | XxY px |
|
||||
|
||||

|
||||
|
||||
## Favicons
|
||||
Upload favicons into your .theme folder and name them `favicon-32x32.png` *(required)* and `favicon-16x16.png` *(optional)*.
|
||||
|
||||
| Filename | favicon-32x32 *(required)* |
|
||||
| | favicon-16x16 *(optional)* |
|
||||
| Valid file extensions | .png |
|
||||
| Recommended image size | 32x32px, 16x16px |
|
||||
|
||||
A hard browser refresh may be necessary (CTRL+SHIFT+F5 on windows or CMD+SHIFT+R on mac).
|
||||
{: .info}
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
layout: default
|
||||
title: Theming
|
||||
nav_order: 6
|
||||
has_children: true
|
||||
permalink: /theming
|
||||
description: >-
|
||||
Personalize Mainsail according to your preferences. Here you will find instructions for custom background images, logos, icons & more.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
Start with [prepare](/theming/prepare) to create a basic structure for your own theme, or take a look in [themes](/theming/themes) to see if there are already suitable themes from the Mainsail community.
|
||||
@@ -0,0 +1,43 @@
|
||||
---
|
||||
layout: default
|
||||
title: Prepare
|
||||
parent: Theming
|
||||
nav_order: 1
|
||||
permalink: /theming/prepare
|
||||
description: >-
|
||||
Create a basic folder structure to build your own theme.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
## .theme folder
|
||||
You only need to create a ".theme" folder in your config folder.
|
||||
There you will place all the files you need to personalize Mainsail.
|
||||
|
||||
You can use Mainsail's built-in file manager `(Settings > Machine)` to create the .theme folder and upload all the files and edit your css-files.
|
||||
|
||||
The dot in the folder name means that it is a hidden folder. Therefore you have to activate "show hidden files".
|
||||
{: .info}
|
||||
|
||||

|
||||
|
||||
## directory structure
|
||||
We have prepared the following simple overview for you.
|
||||
Please refer to the separate instructions for details.
|
||||
|
||||
All listed files in the .theme folder are optional and will only be loaded if they are provided.
|
||||
{: .info}
|
||||
|
||||
```
|
||||
+-- ..
|
||||
|-- klipper_config
|
||||
| |-- .theme
|
||||
| | |-- sidebar-logo.svg|jpg|png|gif
|
||||
| | |-- sidebar-background.jpg|png|gif
|
||||
| | |-- main-background.jpg|png|gif
|
||||
| | |-- favicon-16x16.png
|
||||
| | |-- favicon-32x32.png
|
||||
| | |-- custom.css
|
||||
| | |-- ...
|
||||
```
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
layout: default
|
||||
title: Submit
|
||||
grand_parent: Theming
|
||||
parent: Community Themes
|
||||
nav_exclude: true
|
||||
nav_order: 150
|
||||
permalink: /theming/themes/submit
|
||||
description: >-
|
||||
Submit a theme!
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
work in progess
|
||||
{: .alert}
|
||||
@@ -0,0 +1,43 @@
|
||||
---
|
||||
layout: default
|
||||
title: Community Themes
|
||||
parent: Theming
|
||||
nav_order: 100
|
||||
has_children: false
|
||||
permalink: /theming/themes
|
||||
description: >-
|
||||
A collection of community themes for Mainsail.
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{: .no_toc}
|
||||
{{ page.description }}
|
||||
|
||||
|
||||
## Setup Instructions
|
||||
{: .no_toc}
|
||||
Go to the repo of the theme and download it. Place the files according to [these instructions](/theming/prepare#directory-structure).
|
||||
|
||||
[KIAUH](/setup/kiauh) has an integrated theme installer
|
||||
Go to `[Advanced] > [Theme installer]`, enter the desired theme <span class="key">id</span> and confirm with return.
|
||||
{: .info}
|
||||
|
||||
<details closed markdown="block">
|
||||
<summary>
|
||||
List of themes
|
||||
</summary>
|
||||
{: .text-delta }
|
||||
1. TOC
|
||||
{:toc}
|
||||
</details>
|
||||
|
||||
{% for theme in site.data.themes %}
|
||||
---
|
||||
## {{ theme.name }}
|
||||
<div>id: <span class="key">{{ forloop.index}}</span></div>
|
||||
<div>author: <a href="https://github.com/{{ theme.author }}" target="_blank" alt="github.com">{{ theme.author }}</a></div>
|
||||
<div>url: <a href="https://github.com/{{ theme.author }}/{{ theme.repo }}" target="_blank" alt="github.com">{{ theme.author }}/{{ theme.repo }}</a></div>
|
||||
<img width="50%" src="https://raw.githubusercontent.com/{{ theme.author }}/{{ theme.repo }}/master/screenshot.png" />
|
||||
{% endfor %}
|
||||
|
||||
|
||||
@@ -23,8 +23,11 @@ If you see a content like this
|
||||
To use the update manager in Mainsail you have to add this in your moonraker.conf:
|
||||
```
|
||||
[update_manager]
|
||||
client_repo: meteyou/mainsail
|
||||
client_path: ~/mainsail
|
||||
|
||||
[update_manager client mainsail]
|
||||
type: web
|
||||
repo: meteyou/mainsail
|
||||
path: ~/mainsail
|
||||
```
|
||||
|
||||
### Change Moonraker to systemd service (December 6th 2020)
|
||||
|
||||