8000 Add a headless (no GUI) mode by hanzi · Pull Request #372 · 40Cakes/pokebot-gen3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add a headless (no GUI) mode #372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy stateme 8000 nt. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2024
Merged

Add a headless (no GUI) mode #372

merged 1 commit into from
Sep 1, 2024

Conversation

hanzi
Copy link
Collaborator
@hanzi hanzi commented Aug 30, 2024

Description

This adds the command line argument --headless which allows running the bot without the GUI.

It's meant for people (i.e. me) that want to run the bot on a server system and remotely control it using the HTTP server.

Currently, it does not support creating or selecting profiles interactively, so a profile needs to exist and it needs to be specified when starting the bot.

I have also added Waitress as a dependency, which is a simple production-ready HTTP server. Using this avoids Flask's warning message ('This is a development server...') and also makes it less noisy in general (the access log is no longer written to stdout.)

Notes

This works best in conjunction with #371 which adds some more interactive features (as well as button controls) to the HTTP server.

Checklist

  • Black Linter has been ran, using --line-length 120 argument
  • Wiki has been updated (if relevant)

This adds the command line argument `--headless` which allows running the bot without the GUI.

It's meant for people (i.e. me) that want to run the bot on a server system and remotely control it using the HTTP server.

Currently, it does not support creating or selecting profiles interactively, so a profile needs to exist and it needs to be specified when starting the bot.

I have also added Waitress as a dependency, which is a simple production-ready HTTP server. Using this avoids Flask's warning message ('This is a development server...') and also makes it less noisy in general (the access log is no longer written to stdout.)
@40Cakes 40Cakes merged commit 80fbd6c into 40Cakes:main Sep 1, 2024
1 check passed
@hanzi hanzi deleted the headless-mode branch September 6, 2024 17:38
hanzi added a commit to hanzi/pokebot-gen3 that referenced this pull request Jan 22, 2025
This adds the command line argument `--headless` which allows running the bot without the GUI.

It's meant for people (i.e. me) that want to run the bot on a server system and remotely control it using the HTTP server.

Currently, it does not support creating or selecting profiles interactively, so a profile needs to exist and it needs to be specified when starting the bot.

I have also added Waitress as a dependency, which is a simple production-ready HTTP server. Using this avoids Flask's warning message ('This is a development server...') and also makes it less noisy in general (the access log is no longer written to stdout.)
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
0