cogmoteGO is the "air traffic control" for remote neuroexperiments: a lightweight Go system coordinating distributed data streams, commands, and full experiment lifecycle management - from deployment to data collection.
curl -sS https://raw.githubusercontent.com/cagelab/cogmoteGO/main/install.sh | shirm -Uri 'https://raw.githubusercontent.com/cagelab/cogmoteGO/main/install.ps1' | iexThe winget version is relatively outdated; currently, we recommend installing via a script.
winget install ccccraz.cogmoteGOrestart the service as user
We recommend that you register cogmoteGO as a user service on Linux
cogmoteGO service -ustart the service as user
cogmoteGO service start -uregister the service
sudo cogmoteGO servicestart the service
sudo cogmoteGO service startregister the service
note: you need to run the command as administrator
cogmoteGO servicestart the service
cogmoteGO service startrestart the service as user
note: the password is required for running the service as user
cogmoteGO service -u -p <your_password>start the service as user
cogmoteGO service start -ufor more info about the service, run
cogmoteGO service --helpcurl --location --request GET 'http://localhost:9012/api/device'cogmoteGO supports sending email notifications. Credentials are securely stored in the system keyring.
Interactive setup (prompts for email and password):
cogmoteGO email setWith SMTP server options:
cogmoteGO email set --host smtp.example.com --port 587cogmoteGO email showExample output:
Email Configuration:
Email address : [email protected]
SMTP host : smtp.example.com
SMTP port : 587
Recipients : [email protected], [email protected]
Credentials : configured
cogmoteGO email deletecogmoteGO email --helpManage application settings via CLI.
Show all configuration:
cogmoteGO config showShow specific key:
cogmoteGO config show portcogmoteGO config set port 8080
cogmoteGO config set proxy.max_retries 5Reset specific key to default:
cogmoteGO config reset portReset all configuration (email settings not affected):
cogmoteGO config reset| Key | Default | Description |
|---|---|---|
port |
9012 | Server listening port |
instance_id |
auto | Unique instance identifier |
proxy.handshake_timeout |
5000 | WebSocket handshake timeout (ms) |
proxy.msg_timeout |
5000 | Message timeout (ms) |
proxy.max_retries |
3 | Maximum retry attempts |
proxy.retry_interval |
200 | Retry interval (ms) |
cogmoteGO config --help