Skip to content

Commit 302de9d

Browse files
committed
Implement self-described user concept and api
1 parent e96eebf commit 302de9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The application is single-licenced under the Affero GPL v3.0, a copyleft licence
1515
- If you manually configure a B2000, B3000 or B3000n badge of the right firmware version using the on-device configuration menu, and run this software on a server connected to the right IP with the right ssid and password... you can probably get some really bad speech recognition output. Pretty good for a hobby project! If you have multiple badges you should also be able to manually trigger a badge-badge call through the web API.
1616
- The controller code will handle the existence of multiple badges, and will transcribe each stream fully independently. So far, the transcription is terrible and nothing is done with it - but it is technically functional.
1717
- There is a rudimentary self-describing API at port 1031. You can send the json `{"userName":"u-jdax","prettyName":"Jadzia Dax"}` or similar to the `/badge/:macaddress/user` endpoint on the api to change user on a badge. Sending an empty body (as in, `{}`) to the same endpoint will log out the badge. As an example: `curl -H "Content-Type: application/json" -d '{"userName":"u-wsomogh","prettyName":"Worf, Son of Mogh"}' http://servername:1031/badges/0009efabcdef/user`
18+
- You can register users by posting to the API. The fallback user can be used as a template.
1819
- Should work on Node 12, 14, 16? I've not been too brave. Doesn't work on node 18 due to STT issues.
1920
- Now requires AVX! THANKS, tflite. You'll run on a Pi 02, but not a brand new Atom or a Westmere Xeon... P.S. You can manually compile tflite, but blegh.
2021

0 commit comments

Comments
 (0)