You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-3Lines changed: 39 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,22 @@
2
2
3
3
A GUI application for letting members log in on a public machine and interact with their data. It connects to a [makeradmin](https://github.com/makerspace/makeradmin) backend where the data resides. Memberbooth can perform the following:
4
4
* Display current member status (lab membership end date)
5
-
* Print labels for storage boxes (with QR code that can be scanned with [box-terminator](https://github.com/makerspace/BoxTerminator-App)) and labels for other temporary storage.
5
+
* Print labels for storage boxes (with QR code that can be scanned with the box-terminator functionality built-in to makeradmin) and labels for other temporary storage.
6
6
7
7
Optional Slack usage logging can be enabled.
8
8
9
+
This is used at Stockholm Makerspace for their [memberbooth](https://wiki.makerspace.se/Memberbooth).
* You need to obtain a token from the makeradmin backend that has the correct permissions for accessing the "memberbooth" endpoints.
15
+
- You need to obtain a token from the makeradmin backend that has the correct permissions for accessing the "memberbooth" endpoints. You can find it in the Settings page.
12
16
13
17
## Installation
14
18
19
+
**Supported OS**: Linux (possibly works on mac and windows too, but not guaranteed)
20
+
15
21
Install the `uv` package manager: https://docs.astral.sh/uv/getting-started/installation/
16
22
17
23
## Usage
@@ -28,9 +34,39 @@ If you want to run against a custom backend (e.g. for development purposes), the
28
34
### Logging in
29
35
The memberbooth application is then logged in by running the *login.py* script. This script will log in to the backend and a optionally a slack notification system.
30
36
31
-
### Printing labels for members
37
+
### Printing labels from the command line
32
38
*print_label.py* prints labels for members.
33
39
34
40
```bash
35
41
uv run ./print_label.py <member_number> --no-printer --type=box
36
42
```
43
+
44
+
## Types of labels
45
+
46
+
Example label images can be found in the [examples directory](./examples):
f'This project is, as of {datetime.today().date()}, violating our project marking rules. Unless corrected, the board may throw this away by {label.expires_at.strftime('%Y-%m-%d')}.',
374
+
f'This project is, as of {label.base.created_at.date()}, violating our storage rules. Unless corrected, the board may throw this away by {label.expires_at.strftime('%Y-%m-%d')}.',
0 commit comments