This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
forked from pelican-eggs/eggs
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://mirror.ghproxy.com/https://github.co…
- Loading branch information
Showing
69 changed files
with
2,195 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Aoede | ||
|
||
### Authors / Contributors | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
<table> | ||
<tr> | ||
<td align="center"> | ||
<a href="https://github.com/cleme29"> | ||
<img src="https://avatars.githubusercontent.com/u/8092733" width="50px;" alt=""/><br /><sub><b>cleme29</b></sub> | ||
</a> | ||
<br /> | ||
<a href="https://github.com/parkervcp/eggs/commits?author=cleme29" title="Codes">💻</a> | ||
<a href="https://github.com/parkervcp/eggs/commits?author=cleme29" title="Maintains">🔨</a> | ||
</td> | ||
</tr> | ||
</table> | ||
<!-- markdownlint-enable --> | ||
<!-- prettier-ignore-end --> | ||
Special thanks to Red-Thirten for providing most of the installation script and to TubaApollo & QuintenQVD0 for the Muse egg that helped build most of this one ! | ||
|
||
## Their [Github](https://github.com/codetheweb/aoede) | ||
|
||
Aoede is a Discord music bot that directly streams from Spotify to Discord. The only interface is Spotify itself. | ||
|
||
## Server Ports | ||
|
||
There are no ports required for the Aoede bot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||
"meta": { | ||
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2023-12-12T20:05:05+00:00", | ||
"name": "Aoede", | ||
"author": "[email protected]", | ||
"description": "Aoede is a Discord music bot that directly streams from Spotify to Discord. The only interface is Spotify itself.", | ||
"features": null, | ||
"docker_images": { | ||
"registry.cn-shanghai.aliyuncs.com\/pterodactyl-images\/yolks:ubuntu": "registry.cn-shanghai.aliyuncs.com\/pterodactyl-images\/yolks:ubuntu" | ||
}, | ||
"file_denylist": [], | ||
"startup": ".\/aoede", | ||
"config": { | ||
"files": "{}", | ||
"startup": "{\r\n \"done\": \"Invite me with\"\r\n}", | ||
"logs": "{}", | ||
"stop": "^C" | ||
}, | ||
"scripts": { | ||
"installation": { | ||
"script": "## Credits: Red-Thirten (https:\/\/github.com\/lilkingjr1) for providing most of the installation script\r\n## Credits to TubaApollo & QuintenQVD0 for the Muse egg that helped build most of this one\r\napt-get update\r\napt-get install git curl jq cmake -y -qq\r\n\r\nGITHUB_PACKAGE=\"codetheweb\/aoede\"\r\n\r\n# Find GitHub download URL for Muse for specified version\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/${GITHUB_PACKAGE}\/releases\")\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq -r '.tarball_url')\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tarball_url')\r\n else\r\n echo -e \"Could not find version \\\"${VERSION}\\\" of Muse. Defaulting to latest release...\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq -r '.tarball_url')\r\n fi\r\nfi\r\n\r\n# Download Aoede from GitHub & Extract\r\ncd \/mnt\/server\r\necho -e \"Downloading Aoede from GitHub...\"\r\ncurl -L ${DOWNLOAD_URL} -o aoede.tar.gz\r\necho -e \"Extracting Aoede from tarball...\"\r\ntar -xvzf aoede.tar.gz --strip-components=1\r\nrm aoede.tar.gz\r\n\r\n# Verify and clean up Aoede installation\r\nif [ ! -f Cargo.toml ]; then\r\n echo -e \"\\nFailed to download release: ${DOWNLOAD_URL}\\n\"\r\n exit 1\r\nfi\r\nrm -rf .dockerignore Dockerfile .gitignore .github\/\r\ncargo build --release\r\nmv target\/release\/aoede .\r\ncargo clean\r\n\r\n\r\necho -e \"\\nAoede Successfully Installed!\"", | ||
"container": "rust:1.74-slim", | ||
"entrypoint": "bash" | ||
} | ||
}, | ||
"variables": [ | ||
{ | ||
"name": "Token", | ||
"description": "Discord Bot Token", | ||
"env_variable": "DISCORD_TOKEN", | ||
"default_value": "", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "required|string", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Username", | ||
"description": "Spotify Username", | ||
"env_variable": "SPOTIFY_USERNAME", | ||
"default_value": "", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "required|string", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Password", | ||
"description": "Spotify Password", | ||
"env_variable": "SPOTIFY_PASSWORD", | ||
"default_value": "", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "required|string", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Discord User ID", | ||
"description": "Discord user ID of the user you want Aoede to follow", | ||
"env_variable": "DISCORD_USER_ID", | ||
"default_value": "", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "required|string", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Autoplay", | ||
"description": "Autoplay similar songs when your music ends \r\nValue : true\/false", | ||
"env_variable": "SPOTIFY_BOT_AUTOPLAY", | ||
"default_value": "false", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "required|string|in:true,false", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Version", | ||
"description": "Specify a version, for example: \"v0.7.0\"\r\nFor the latest version, type \"latest\"", | ||
"env_variable": "VERSION", | ||
"default_value": "latest", | ||
"user_viewable": true, | ||
"user_editable": true, | ||
"rules": "required|string", | ||
"field_type": "text" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2023-10-24T16:33:47+00:00", | ||
"exported_at": "2023-12-06T09:05:57+00:00", | ||
"name": "Game Server Watcher", | ||
"author": "[email protected]", | ||
"description": "A simple discord\/telegram\/slack bot that can be hosted on a free service to monitor your game servers and players in style. \ud83d\ude0e", | ||
|
@@ -22,7 +22,7 @@ | |
}, | ||
"scripts": { | ||
"installation": { | ||
"script": "#!\/bin\/bash\r\napt-get update && apt-get install ca-certificates git -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages\r\ncd \/mnt\/server\r\ngit config --global --add safe.directory \/mnt\/server\r\ngit clone https:\/\/mirror.ghproxy.com\/https:\/\/github.com\/a-sync\/game-server-watcher.git . || git pull\r\nnpm install && npm run build\r\nnpm prune --omit=dev", | ||
"script": "#!\/bin\/bash\r\napt-get update && apt-get install ca-certificates git -yq --no-install-suggests --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages\r\ncd \/mnt\/server\r\ngit config --global --add safe.directory \/mnt\/server\r\ngit clone https:\/\/mirror.ghproxy.com\/https:\/\/github.com\/a-sync\/game-server-watcher.git . || git pull\r\nnpm install && npm update gamedig && npm run build\r\nnpm prune --omit=dev", | ||
"container": "node:20-bullseye-slim", | ||
"entrypoint": "bash" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
{ | ||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||
"meta": { | ||
"version": "PTDL_v1" | ||
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2019-11-06T18:52:33-05:00", | ||
"name": "MariaDB", | ||
"exported_at": "2023-12-19T09:54:17+01:00", | ||
"name": "MariaDB 10.3", | ||
"author": "[email protected]", | ||
"description": "One of the most popular database servers. Made by the original developers of MySQL. Guaranteed to stay open source.", | ||
"image": "quay.dockerproxy.com\/parkervcp\/pterodactyl-images:db_mariadb", | ||
"features": null, | ||
"docker_images": { | ||
"MariaDB 10.3": "registry.cn-shanghai.aliyuncs.com\/pterodactyl-images\/yolks:mariadb_10.3" | ||
}, | ||
"file_denylist": [], | ||
"startup": "{ \/usr\/sbin\/mysqld & } && sleep 5 && mysql -u root", | ||
"config": { | ||
"files": "{\r\n \".my.cnf\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"port\": \"port = {{server.build.default.port}}\",\r\n \"bind-address\": \"bind-address=0.0.0.0\"\r\n }\r\n }\r\n}", | ||
|
@@ -23,4 +28,4 @@ | |
} | ||
}, | ||
"variables": [] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||
"meta": { | ||
"version": "PTDL_v1", | ||
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2022-05-08T21:54:05+02:00", | ||
"name": "Postgres", | ||
"exported_at": "2023-12-12T15:32:12+01:00", | ||
"name": "Postgres 14", | ||
"author": "[email protected]", | ||
"description": "A default Postgres install that is not really editable.", | ||
"features": null, | ||
"images": [ | ||
"registry.cn-shanghai.aliyuncs.com\/pterodactyl-images\/yolks:postgres_14" | ||
], | ||
"docker_images": { | ||
"registry.cn-shanghai.aliyuncs.com\/pterodactyl-images\/yolks:postgres_14": "registry.cn-shanghai.aliyuncs.com\/pterodactyl-images\/yolks:postgres_14" | ||
}, | ||
"file_denylist": [], | ||
"startup": "postgres -D \/home\/container\/postgres_db\/", | ||
"config": { | ||
|
@@ -35,7 +35,8 @@ | |
"default_value": "pterodactyl", | ||
"user_viewable": true, | ||
"user_editable": false, | ||
"rules": "required|string|max:20" | ||
"rules": "required|string|max:20", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Superuser Password", | ||
|
@@ -44,7 +45,8 @@ | |
"default_value": "Pl3453Ch4n63M3!", | ||
"user_viewable": true, | ||
"user_editable": false, | ||
"rules": "required|string|max:20" | ||
"rules": "required|string|max:20", | ||
"field_type": "text" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||
"meta": { | ||
"version": "PTDL_v2", | ||
"update_url": null | ||
}, | ||
"exported_at": "2023-12-12T15:33:25+01:00", | ||
"name": "Postgres 16", | ||
"author": "[email protected]", | ||
"description": "A default Postgres install that is not really editable.", | ||
"features": null, | ||
"docker_images": { | ||
"registry.cn-shanghai.aliyuncs.com\/pterodactyl-images\/yolks:postgres_16": "registry.cn-shanghai.aliyuncs.com\/pterodactyl-images\/yolks:postgres_16" | ||
}, | ||
"file_denylist": [], | ||
"startup": "postgres -D \/home\/container\/postgres_db\/", | ||
"config": { | ||
"files": "{\r\n \"postgres_db\/postgresql.conf\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"#port =\": \"port = {{server.build.default.port}}\",\r\n \"#external_pid_file =\": \"external_pid_file = '\/home\/container\/postgres_db\/run\/postgres.pid'\",\r\n \"#unix_socket_directories =\": \"unix_socket_directories = '\/home\/container\/postgres_db\/run\/'\"\r\n }\r\n }\r\n}", | ||
"startup": "{\r\n \"done\": \"database system is ready to accept connections\"\r\n}", | ||
"logs": "{}", | ||
"stop": "^C" | ||
}, | ||
"scripts": { | ||
"installation": { | ||
"script": "#! \/bin\/ash\r\nadduser -D -h \/home\/container container\r\n\r\nchown -R container: \/mnt\/server\/\r\n\r\nsu container -c 'initdb -D \/mnt\/server\/postgres_db\/ -A md5 -U \"$PGUSER\" --pwfile=<(echo \"$PGPASSWORD\")'\r\n\r\nmkdir -p \/mnt\/server\/postgres_db\/run\/\r\n\r\n## Add default \"allow from all\" auth rule to pg_hba\r\nif ! grep -q \"# Custom rules\" \"\/mnt\/server\/postgres_db\/pg_hba.conf\"; then\r\n echo -e \"# Custom rules\\nhost all all 0.0.0.0\/0 md5\" >> \"\/mnt\/server\/postgres_db\/pg_hba.conf\"\r\nfi\r\n\r\necho -e \"Done\"", | ||
"container": "postgres:16-alpine", | ||
"entrypoint": "bash" | ||
} | ||
}, | ||
"variables": [ | ||
{ | ||
"name": "Superuser Name", | ||
"description": "The username for the postgres superuser", | ||
"env_variable": "PGUSER", | ||
"default_value": "pterodactyl", | ||
"user_viewable": true, | ||
"user_editable": false, | ||
"rules": "required|string|max:20", | ||
"field_type": "text" | ||
}, | ||
{ | ||
"name": "Superuser Password", | ||
"description": "The postgres super user password with a strong default.\r\nYou should be generating new ones for each server.\r\nIf you don't then users can hit other users DB's", | ||
"env_variable": "PGPASSWORD", | ||
"default_value": "Pl3453Ch4n63M3!", | ||
"user_viewable": true, | ||
"user_editable": false, | ||
"rules": "required|string|max:20", | ||
"field_type": "text" | ||
} | ||
] | ||
} |
Oops, something went wrong.