Selaa lähdekoodia

extend openautolab blog post

Thomas Buck 10 kuukautta sitten
vanhempi
commit
3dafdcf9a4
1 muutettua tiedostoa jossa 31 lisäystä ja 0 poistoa
  1. 31
    0
      input/blog/2023/2023_12_29_openautolab.md

+ 31
- 0
input/blog/2023/2023_12_29_openautolab.md Näytä tiedosto

@@ -2,7 +2,9 @@ title: Blog
2 2
 post: 'OpenAutoLab' by Kauzerei
3 3
 description: Open-Source automatic film development machine
4 4
 date: 2023-12-29
5
+update: 2024-01-02
5 6
 comments: false
7
+github: https://github.com/kauzerei/openautolab
6 8
 ---
7 9
 
8 10
 My good friend [Kauzerei](https://github.com/kauzerei) has built [the automatic film development machine OpenAutoLab](https://github.com/kauzerei/openautolab).
@@ -16,3 +18,32 @@ lightgallery([
16 18
 %-->
17 19
 
18 20
 Please also take a look at [the OpenAutoLab documentation](https://kauzerei.github.io/openautolab/) for detailed build and usage instructions.
21
+
22
+## Background
23
+
24
+I haven't really participated in the construction of this machine in any way.
25
+But we went to 37C3 together, where I fully saw the machine in action for the first time.
26
+While socializing we noticed that it is (or was) really hard to find the project by googling.
27
+Neither 'openautolab', 'kauzerei', 'github openautolab kauzerei', or any other combination of these words and quotation marks, no results at all came up.
28
+
29
+Therefore I decided to do some "SEO" in the hopes of making it easier for people remembering the name to find the project.
30
+I also wanted to play around a bit more with GitHub Actions, or CI in general, and GitHub Pages.
31
+So I came up with [the OpenAutoLab documentation](https://kauzerei.github.io/openautolab/).
32
+The job was actually pretty easy, because the hard work of writing most of the documentation was already done.
33
+I just had to find a suitable way of converting these markdown files to html, and host them on GitHub Pages, preferably automated.
34
+The result is [this GitHub Actions workflow](https://github.com/kauzerei/openautolab/blob/main/.github/workflows/deploy.yml) using [mdBook](https://rust-lang.github.io/mdBook/).
35
+
36
+While thinking about making it easier for "normal users" to use this project, I decided to also test out making a web flashing utility.
37
+The main board of OpenAutoLab contains an Arduino Nano, so it can be updated via WebSerial using a [compatible browser](https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API#browser_compatibility) (only Chromium based ones, unfortunately).
38
+To do this I used [avrgirl-arduino](https://github.com/sudevkrishnan/avrgirl-arduino) for the update process, and [zip.js](https://gildas-lormeau.github.io/zip.js/), and wrote some JavaScript to fetch binaries from GitHub releases or GitHub actions.
39
+The result it [this web flashing utility](https://kauzerei.github.io/openautolab/web_update.html).
40
+
41
+Of course I also had to add a [workflow to build the firmware hex](https://github.com/kauzerei/openautolab/blob/main/.github/workflows/compile.yml) on each commit push and upload the artifact for new GitHub releases / tags.
42
+And I did the same for [generating the STL files from the OpenSCAD sources](https://github.com/kauzerei/openautolab/blob/main/.github/workflows/scad.yml).
43
+
44
+![Firmware](https://github.com/kauzerei/openautolab/actions/workflows/compile.yml/badge.svg)
45
+![STLs](https://github.com/kauzerei/openautolab/actions/workflows/scad.yml/badge.svg)
46
+![Documentation](https://github.com/kauzerei/openautolab/actions/workflows/deploy.yml/badge.svg)
47
+
48
+I'm quite happy with the results.
49
+So this was my small share of hacking on 37C3.

Loading…
Peruuta
Tallenna