Skip to content

Add optional cloud key prompt for transcribe#359

Merged
HenryNdubuaku merged 3 commits intomainfrom
roman/cloud-onboarding
Feb 16, 2026
Merged

Add optional cloud key prompt for transcribe#359
HenryNdubuaku merged 3 commits intomainfrom
roman/cloud-onboarding

Conversation

@rshemet
Copy link
Copy Markdown
Collaborator

@rshemet rshemet commented Feb 16, 2026

Prompts user for cloud API key when not set. If provided, saves to config and exports as env var. If skipped, prompts again next run.

rshemet and others added 3 commits February 16, 2026 18:13
Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
@HenryNdubuaku HenryNdubuaku merged commit 9fd21c5 into main Feb 16, 2026
1 of 2 checks passed
jakmro pushed a commit that referenced this pull request Feb 17, 2026
* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
Signed-off-by: jakmro <[email protected]>
HenryNdubuaku added a commit that referenced this pull request Feb 17, 2026
* Refactor model export process to support multiple precision options and streamline configuration handling

Signed-off-by: jakmro <[email protected]>

* Add optional cloud key prompt for transcribe (#359)

* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
Signed-off-by: jakmro <[email protected]>

* Cactus auth command (#360)

* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

* pauth

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: Roman Shemet <[email protected]>
Signed-off-by: jakmro <[email protected]>

* fix rate limiter

Signed-off-by: jakmro <[email protected]>

* remove torchaudio

Signed-off-by: jakmro <[email protected]>

---------

Signed-off-by: jakmro <[email protected]>
Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: rshemet <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
Co-authored-by: Roman Shemet <[email protected]>
ncylich pushed a commit that referenced this pull request Feb 24, 2026
* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
ncylich pushed a commit that referenced this pull request Feb 24, 2026
* Refactor model export process to support multiple precision options and streamline configuration handling

Signed-off-by: jakmro <[email protected]>

* Add optional cloud key prompt for transcribe (#359)

* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
Signed-off-by: jakmro <[email protected]>

* Cactus auth command (#360)

* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

* pauth

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: Roman Shemet <[email protected]>
Signed-off-by: jakmro <[email protected]>

* fix rate limiter

Signed-off-by: jakmro <[email protected]>

* remove torchaudio

Signed-off-by: jakmro <[email protected]>

---------

Signed-off-by: jakmro <[email protected]>
Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: rshemet <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
Co-authored-by: Roman Shemet <[email protected]>
cattermelon1234 pushed a commit to cattermelon1234/cactus that referenced this pull request Feb 28, 2026
* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
cattermelon1234 pushed a commit to cattermelon1234/cactus that referenced this pull request Feb 28, 2026
* Refactor model export process to support multiple precision options and streamline configuration handling

Signed-off-by: jakmro <[email protected]>

* Add optional cloud key prompt for transcribe (cactus-compute#359)

* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
Signed-off-by: jakmro <[email protected]>

* Cactus auth command (cactus-compute#360)

* Add optional cloud key prompt for transcribe

Prompts user for cloud API key on first run or whenever key is not set.
If provided, key is saved to ~/.cactus/config.json and exported as
CACTUS_CLOUD_API_KEY env var for C++ cloud code. If skipped, user is
prompted again on next run. Env var takes precedence over config file.

Signed-off-by: Roman Shemet <[email protected]>

* Structure code properly

Signed-off-by: HenryNdubuaku <[email protected]>

* More changes padded in

Signed-off-by: HenryNdubuaku <[email protected]>

* pauth

Signed-off-by: HenryNdubuaku <[email protected]>

---------

Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: Roman Shemet <[email protected]>
Signed-off-by: jakmro <[email protected]>

* fix rate limiter

Signed-off-by: jakmro <[email protected]>

* remove torchaudio

Signed-off-by: jakmro <[email protected]>

---------

Signed-off-by: jakmro <[email protected]>
Signed-off-by: Roman Shemet <[email protected]>
Signed-off-by: HenryNdubuaku <[email protected]>
Co-authored-by: rshemet <[email protected]>
Co-authored-by: HenryNdubuaku <[email protected]>
Co-authored-by: Roman Shemet <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants