Skip to content

Add an optional desktop app launcher - #400

Merged
KingAkeem merged 3 commits into
devfrom
feature/optional-torbot-app
Jul 28, 2026
Merged

Add an optional desktop app launcher#400
KingAkeem merged 3 commits into
devfrom
feature/optional-torbot-app

Conversation

@KingAkeem

Copy link
Copy Markdown
Member

What changed

This keeps TorBot CLI-first, but gives people a simple way to open the separate TorBotApp desktop UI when they have it installed locally. The app stays optional, so we are not pulling Node or Electron into the Python package.

The installed torbot command now supports both torbot app and torbot --app, with discovery through --app-dir, TORBOT_APP_DIR, or a sibling TorBotApp checkout.

I also moved the CLI implementation into the package so the console entry point works from an installed wheel, bumped the version to 4.2.0, removed the deprecated sklearn dependency, and made the publish script safer around current-version artifacts and PyPI tokens.

Checks

  • .venv/bin/python -m pytest
  • .venv/bin/python -m flake8 main.py src/torbot/cli.py src/torbot/modules/app_launcher.py tests/test_cli_and_crawler.py
  • scripts/publish.sh
  • Installed the built torbot-4.2.0 wheel in a fresh temp venv and checked torbot --version plus the app-launch guidance path

@KingAkeem
KingAkeem marked this pull request as ready for review July 28, 2026 21:11
@KingAkeem
KingAkeem merged commit 87c9576 into dev Jul 28, 2026
12 checks passed
@KingAkeem
KingAkeem deleted the feature/optional-torbot-app branch July 28, 2026 21:13
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.

1 participant