-
Notifications
You must be signed in to change notification settings - Fork 412
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 statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Submission: Phantombot #1608
base: master
Are you sure you want to change the base?
Changes from all commits
b2603ad
75697ff
0823b1a
26653e0
185c52d
4b08fad
cbf93ff
5aeecc1
53170ec
a848b5c
e173670
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
services: | ||
server: | ||
image: ghcr.io/phantombot/phantombot:3.14.1.0@sha256:dbec9818e40f967ac5aee3abcac5a1857481cbbe6b35400f9a2fa8f1dc638df0 | ||
user: 0:900 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If possible, we want to avoid running services as |
||
restart: on-failure | ||
volumes: | ||
- ${APP_DATA_DIR}/data:/opt/PhantomBot_data | ||
ports: | ||
Check notice on line 8 in phantombot/docker-compose.yml GitHub Actions / Lint appsExternal port mapping "${APP_PHANTOM_SERVER_PORT}:${APP_PHANTOM_SERVER_PORT}"
|
||
- "${APP_PHANTOM_SERVER_PORT}:${APP_PHANTOM_SERVER_PORT}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This |
||
environment: | ||
PHANTOMBOT_USEHTTPS: "true" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I haven't tested this submission yet, but I'd imagine this forces user to use https, so they'd click the app and go to https://umbrel.local:25000, is that right? If so they'll be met with the big scary insecure warning that we shouldn't be teaching the average umbrel user to just click through. We can set this to false, so the user is accessing over http on their local network. |
||
PHANTOMBOT_PANELUSER: umbrel | ||
PHANTOMBOT_PANELPASSWORD: $APP_PASSWORD | ||
PHANTOMBOT_BASEPORT: $APP_PHANTOM_SERVER_PORT | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if this is the default port that phantombot runs on, then this can be removed entirely #1608 (comment) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export APP_PHANTOM_SERVER_PORT="25000" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is the default port, then this entire exports.sh should be removed for simplicity |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
manifestVersion: 1.1 | ||
id: phantombot | ||
category: social | ||
name: PhantomBot | ||
version: "3.14.1.0" | ||
tagline: PhantomBot is a Twitch chat bot powered by Java | ||
icon: "" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This entire And the icon rendering logic in umbrelOS will grab the correct icon. |
||
gallery: [] | ||
description: >- | ||
PhantomBot is an actively developed open source interactive Twitch bot with a vibrant community that provides entertainment and moderation for your channel, | ||
allowing you to focus on what matters the most to you - your game and your viewers. | ||
|
||
|
||
🛠️ Set-Up Instructions | ||
Required! If you don't perform the initial setup, you will encounter an error when connecting to the control panel! | ||
|
||
1. Connect Your Twitch Account | ||
Using the instructions on the page https://umbrel.local:25000/oauth/, create oauth app and connect your Twitch account. | ||
|
||
2. Fill Chanel Configuration Fields | ||
Complete the channel and owner fields on the configuration page https://umbrel.local:25000/setup/. | ||
|
||
3. Log In | ||
Done! You can log in to the control panel at https://umbrel.local:25000/panel/login using the default credentials. | ||
Comment on lines
+14
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Awesome work adding these! If users can navigate to these links by clicking things within the UI, then I would suggest making these instructions more generic. For example, telling the user to "navigate to the oauth settings" instead of providing a specific link. My reasoning here is that:
|
||
releaseNotes: "" | ||
developer: PhantomBot | ||
website: https://phantombot.dev | ||
dependencies: [] | ||
repo: https://github.com/phantombot/PhantomBot | ||
support: https://discord.com/invite/YKvMd78 | ||
port: 25000 | ||
path: "" | ||
defaultUsername: "umbrel" | ||
deterministicPassword: true | ||
submitter: kriakiku | ||
submission: https://github.com/getumbrel/umbrel-apps/pull/1608 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Umbrel's app proxy service should be added here as the first service, which can then point to the
phantombot_server_1
container and default port25000
. That way you can remove the port mapping in yourserver
service and then PhantomBot will running behind our transparent proxy and inherit the security properties of our umbrel auth:firefox example to follow
umbrel-apps/firefox/docker-compose.yml
Lines 3 to 7 in 2dbb418
e.g., adding this env var to the proxy container