diff --git a/.gitignore b/.gitignore index 301b271d..db9f9bfd 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ __pycache__ , .json temp build -dist \ No newline at end of file +dist +.env diff --git a/abcli/__init__.py b/abcli/__init__.py index e0b599a9..1fa64c85 100644 --- a/abcli/__init__.py +++ b/abcli/__init__.py @@ -2,7 +2,7 @@ NAME = "abcli" -VERSION = "7.2816.1" +VERSION = "7.2818.1" DESCRIPTION = "🚀 a language to speak AI." diff --git a/assets/env/area550.env b/assets/env/area550.env new file mode 100644 index 00000000..bb5580f8 --- /dev/null +++ b/assets/env/area550.env @@ -0,0 +1,8 @@ +abcli_camera_hi_res=false +abcli_camera_height=120 +abcli_camera_width=160 +abcli_hardware_kind=unicorn_16x16 +abcli_plugins=blue-sbc +abcli_session=blue_sbc +abcli_session_imager_period=3 +abcli_session_screen_period=0.1 \ No newline at end of file diff --git a/assets/env/candle.env b/assets/env/candle.env new file mode 100644 index 00000000..91c37aaf --- /dev/null +++ b/assets/env/candle.env @@ -0,0 +1,5 @@ +abcli_camera_hi_res=false +abcli_hardware_kind=scroll_phat_hd +abcli_plugins=blue-sbc +abcli_session=blue_sbc +abcli_session_screen_period=0.1 diff --git a/assets/env/dec82.env b/assets/env/dec82.env new file mode 100644 index 00000000..a06747df --- /dev/null +++ b/assets/env/dec82.env @@ -0,0 +1,5 @@ +abcli_hardware_kind=grove +abcli_plugins=blue-sbcdec82 +abcli_session=dec82 +abcli_session_imager_period=60 +abcli_session_screen_period=0.75 \ No newline at end of file diff --git a/assets/env/dec82q.env b/assets/env/dec82q.env new file mode 100644 index 00000000..668dbb90 --- /dev/null +++ b/assets/env/dec82q.env @@ -0,0 +1,5 @@ +abcli_hardware_kind=sparkfun-top-phat +abcli_plugins=blue-sbcdec82 +abcli_session=dec82 +abcli_session_imager_period=60 +abcli_session_screen_period=0.75 \ No newline at end of file diff --git a/assets/env/eye.env b/assets/env/eye.env new file mode 100644 index 00000000..8a2a5f59 --- /dev/null +++ b/assets/env/eye.env @@ -0,0 +1,2 @@ +abcli_plugins=blue-sbc +abcli_session=blue_sbc \ No newline at end of file diff --git a/assets/env/may26.env b/assets/env/may26.env new file mode 100644 index 00000000..d7bf09df --- /dev/null +++ b/assets/env/may26.env @@ -0,0 +1,10 @@ +abcli_blue_sbc_application=blue_sbc_applications_may26 +abcli_messenger_recipients=DALL-E +abcli_plugins=blue-sbc +abcli_session=blue_sbc +abcli_session_imager_enabled=false +abcli_session_object_tags=may26 +abcli_session_messenger_period=60 +abcli_session_monitor_enabled=false +abcli_session_outbound_queue= +abcli_session_screen_period=2 \ No newline at end of file diff --git a/assets/env/mirror.env b/assets/env/mirror.env new file mode 100644 index 00000000..29382498 --- /dev/null +++ b/assets/env/mirror.env @@ -0,0 +1,4 @@ +abcli_messenger_recipients=stream +abcli_plugins=blue-sbc +abcli_session=blue_sbc +abcli_session_imager_enabled=false \ No newline at end of file diff --git a/assets/env/nurah.env b/assets/env/nurah.env new file mode 100644 index 00000000..03ff2fe1 --- /dev/null +++ b/assets/env/nurah.env @@ -0,0 +1,5 @@ +abcli_camera_hi_res=false +abcli_hardware_kind=adafruit_rgb_matrix +abcli_plugins=blue-sbc +abcli_session=blue_sbc +abcli_session_screen_period=0.1 \ No newline at end of file diff --git a/assets/env/portal.env b/assets/env/portal.env new file mode 100644 index 00000000..23683dc4 --- /dev/null +++ b/assets/env/portal.env @@ -0,0 +1,4 @@ +abcli_plugins=blue-sbc,RAW-Vancouver-PORTAL-2022 +abcli_session=blue_sbc +abcli_camera_rotation=180 +abcli_session_object_tags=rv22 \ No newline at end of file diff --git a/assets/env/thermal.env b/assets/env/thermal.env new file mode 100644 index 00000000..b568cc3e --- /dev/null +++ b/assets/env/thermal.env @@ -0,0 +1,3 @@ +abcli_plugins=blue-sbc +abcli_session=blue_sbc +abcli_session_imager=lepton \ No newline at end of file diff --git a/assets/env/unicorn.env b/assets/env/unicorn.env new file mode 100644 index 00000000..564ac317 --- /dev/null +++ b/assets/env/unicorn.env @@ -0,0 +1,5 @@ +abcli_camera_hi_res=false +abcli_hardware_kind=unicorn_16x16 +abcli_plugins=blue-sbc +abcli_session=blue_sbc +abcli_session_screen_period=0_1 \ No newline at end of file diff --git a/assets/env/worker.env b/assets/env/worker.env new file mode 100644 index 00000000..942a6933 --- /dev/null +++ b/assets/env/worker.env @@ -0,0 +1,2 @@ +abcli_plugins=aiart,blue-stability,blue-wiki,blue-worker,Kanata,openai,Vancouver-Watching,Iran-Watching,yolov5 +abcli_session=blue_worker \ No newline at end of file diff --git a/bash/bootstrap/cookie/.gitignore b/assets/ignore/.gitignore similarity index 51% rename from bash/bootstrap/cookie/.gitignore rename to assets/ignore/.gitignore index 8956f699..d6b7ef32 100644 --- a/bash/bootstrap/cookie/.gitignore +++ b/assets/ignore/.gitignore @@ -1,4 +1,2 @@ * !.gitignore -!repo -!repo/* \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/area550.json b/bash/bootstrap/cookie/repo/area550.json deleted file mode 100644 index d43d81bb..00000000 --- a/bash/bootstrap/cookie/repo/area550.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "camera.hi_res": false, - "camera.height": 120, - "camera.width": 160, - "hardware.kind": "unicorn_16x16", - "plugins": "blue-sbc", - "session": "blue_sbc", - "session.imager.period": 3, - "session.screen.period": 0.1 -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/candle.json b/bash/bootstrap/cookie/repo/candle.json deleted file mode 100644 index 6a435561..00000000 --- a/bash/bootstrap/cookie/repo/candle.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "camera.hi_res": false, - "hardware.kind": "scroll_phat_hd", - "plugins": "blue-sbc", - "session": "blue_sbc", - "session.screen.period": 0.1 -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/dec82.json b/bash/bootstrap/cookie/repo/dec82.json deleted file mode 100644 index f56229a9..00000000 --- a/bash/bootstrap/cookie/repo/dec82.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "hardware.kind": "grove", - "plugins": "blue-sbc,dec82", - "session": "dec82", - "session.imager.period": 60, - "session.screen.period": 0.75 -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/dec82q.json b/bash/bootstrap/cookie/repo/dec82q.json deleted file mode 100644 index 4522776a..00000000 --- a/bash/bootstrap/cookie/repo/dec82q.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "hardware.kind": "sparkfun-top-phat", - "plugins": "blue-sbc,dec82", - "session": "dec82", - "session.imager.period": 60, - "session.screen.period": 0.75 -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/eye.json b/bash/bootstrap/cookie/repo/eye.json deleted file mode 100644 index 4f325cc4..00000000 --- a/bash/bootstrap/cookie/repo/eye.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "plugins": "blue-sbc", - "session": "blue_sbc" -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/may26.json b/bash/bootstrap/cookie/repo/may26.json deleted file mode 100644 index 3c270ccd..00000000 --- a/bash/bootstrap/cookie/repo/may26.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "blue_sbc.application": "blue_sbc.applications.may26", - "messenger.recipients": "DALL-E", - "plugins": "blue-sbc", - "session": "blue_sbc", - "session.imager.enabled": false, - "session.object.tags": "may26", - "session.messenger.period": 60, - "session.monitor.enabled": false, - "session.outbound_queue": "", - "session.screen.period": 2 -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/mirror.json b/bash/bootstrap/cookie/repo/mirror.json deleted file mode 100644 index adbdde10..00000000 --- a/bash/bootstrap/cookie/repo/mirror.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "messenger.recipients": "stream", - "plugins": "blue-sbc", - "session": "blue_sbc", - "session.imager.enabled": false -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/nurah.json b/bash/bootstrap/cookie/repo/nurah.json deleted file mode 100644 index e024fe7c..00000000 --- a/bash/bootstrap/cookie/repo/nurah.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "camera.hi_res": false, - "hardware.kind": "adafruit_rgb_matrix", - "plugins": "blue-sbc", - "session": "blue_sbc", - "session.screen.period": 0.1 -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/portal.json b/bash/bootstrap/cookie/repo/portal.json deleted file mode 100644 index ea1095fc..00000000 --- a/bash/bootstrap/cookie/repo/portal.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "plugins": "blue-sbc,RAW-Vancouver-PORTAL-2022", - "session": "blue_sbc", - "camera.rotation": 180, - "session.object.tags": "rv22" -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/template.json b/bash/bootstrap/cookie/repo/template.json deleted file mode 100644 index 7d221150..00000000 --- a/bash/bootstrap/cookie/repo/template.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "blue_sbc.application": "", - "camera.hi_res": true, - "camera.rotation": 0, - "display.fullscreen": true, - "gpu": 1, - "hardware.kind": "led_switch", - "messenger.recipients": "stream", - "plugins": "blue-sbc,blue-wiki,blue-worker", - "session": "blue_sbc", - "session.auto_upload": true, - "session.imager": "lepton", - "session.imager.diff": 0.1, - "session.imager.enabled": true, - "session.imager.period": 300, - "session.object.tags": "this,that", - "session.messenger.period": 60, - "session.monitor.enabled": false, - "session.outbound_queue": "stream", - "session.reboot.period": 14400, - "session.screen.period": 4, - "session.temperature.period": 300, - "youtube.api_key": "...", - "stability_key": "...", - "openai_api_key": "..." -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/thermal.json b/bash/bootstrap/cookie/repo/thermal.json deleted file mode 100644 index b2008a1e..00000000 --- a/bash/bootstrap/cookie/repo/thermal.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "plugins": "blue-sbc", - "session": "blue_sbc", - "session.imager": "lepton" -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/unicorn.json b/bash/bootstrap/cookie/repo/unicorn.json deleted file mode 100644 index 9c05ed7b..00000000 --- a/bash/bootstrap/cookie/repo/unicorn.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "camera.hi_res": false, - "hardware.kind": "unicorn_16x16", - "plugins": "blue-sbc", - "session": "blue_sbc", - "session.screen.period": 0.1 -} \ No newline at end of file diff --git a/bash/bootstrap/cookie/repo/worker.json b/bash/bootstrap/cookie/repo/worker.json deleted file mode 100644 index e98b195d..00000000 --- a/bash/bootstrap/cookie/repo/worker.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "plugins": "aiart,blue-stability,blue-wiki,blue-worker,Kanata,openai,Vancouver-Watching,Iran-Watching,yolov5", - "session": "blue_worker" -} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 44a0d435..44775d1a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -pymysql==0.10.1 \ No newline at end of file +pymysql==0.10.1 +python-dotenv \ No newline at end of file diff --git a/sample.env b/sample.env new file mode 100644 index 00000000..a90966d1 --- /dev/null +++ b/sample.env @@ -0,0 +1,24 @@ +abcli_blue_sbc_application= +abcli_camera_hi_res=true +abcli_camera_rotation=0 +abcli_display_fullscreen=true +abcli_gpu=1 +abcli_hardware_kind=led_switch +abcli_messenger_recipients=stream +abcli_plugins=blue-sbc,blue-wiki,blue-worker +abcli_session=blue_sbc +abcli_session_auto_upload=true +abcli_session_imager=lepton +abcli_session_imager_diff=0.1 +abcli_session_imager_enabled=true +abcli_session_imager_period=300 +abcli_session_object_tags=this,that +abcli_session_messenger_period=60 +abcli_session_monitor_enabled=false +abcli_session_outbound_queue=stream +abcli_session_reboot_period=14400 +abcli_session_screen_period=4 +abcli_session_temperature_period=300 +abcli_youtube_api_key= +abcli_stability_key= +abcli_openai_api_key= \ No newline at end of file