30 lines
537 B
Markdown
30 lines
537 B
Markdown
# phomeme
|
|
|
|
A bluetooth client for Phomemo M110.
|
|
|
|
## Development
|
|
|
|
```sh
|
|
poetry run flask --app phomeme:app run \
|
|
--debug --host 0.0.0.0 --port 8000
|
|
```
|
|
|
|
## Production
|
|
|
|
```sh
|
|
poetry run gunicorn -w 1 'phomeme:app' -b [::0]
|
|
```
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
Visit the awesome [frontend][1] on http://localhost:8000 or send via
|
|
curl using `curl -v -F image=@image.pdf localhost:5000/print`.
|
|
|
|
## Credits
|
|
|
|
Heavily based on [SFZ-aalen][2]
|
|
|
|
[1]: https://github.com/fl0rp/phomemer
|
|
[1]: https://gitlab.com/sfz.aalen/infra/labelprinter/-/tree/main?ref_type=heads
|