discord-interactions-python
cdk-valheim
discord-interactions-python | cdk-valheim | |
---|---|---|
2 | 3 | |
98 | 25 | |
- | - | |
0.0 | 1.0 | |
almost 2 years ago | 3 days ago | |
Python | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
discord-interactions-python
-
On-demand, serverless Valheim server setup with AWS CDK, Discord Interactions and GitLab CI
When we add this URL in the application settings, Discord will make sure that our endpoint is properly verifying the request based on its headers. Check out this function to see how it works:
-
On-demand, serverless Valheim server setup with AWS CDK, Discord Interactions and GitLab CI (repo, summary and article link in comments)
I got the idea to use flask from this interaction examples on DIscord's GitHub: https://github.com/discord/discord-interactions-python/blob/main/examples/flask_app.py
cdk-valheim
-
On-demand, serverless Valheim server setup with AWS CDK, Discord Interactions and GitLab CI
The best part of CDK is that it enables the creation high-level, reusable constructs that can be published to software registries like npm and PyPI. Developers can import and use these constructs in their own CDK code. A quick google search for "cdk valheim" turned up a few results. cdk-valheim seems like the best option for what I was looking for. This project uses ECS, a container orchestration tool from AWS that I have experience using with web applications and EFS for persistent file storage. Although it is written in Typescript, I can still use the construct in my preferred programming language (Python) without any extra effort or configuration. This is thanks to the jsii. From https://github.com/aws/jsii:
-
On-demand, serverless Valheim server setup with AWS CDK, Discord Interactions and GitLab CI (repo, summary and article link in comments)
That's correct, I am using Fargate to run the container, but I am using it by way of another CDK construct that I have imported in my CDK code: https://github.com/gotodeploy/cdk-valheim. CDK allows you to import reusable applications, so you don't have to write everything from scratch. I was going to try to write something similar, but this construct has everything I need and is tested. Even though it is written in Typescript, I can import it from PyPI were it is also published (thanks to jsii)
This is the cdk-valheim construct that I use in this project.
What are some alternatives?
discord.py - An API wrapper for Discord written in Python.
r2modmanPlus - A simple and easy to use mod manager for several games using Thunderstore
nextcord - A Python wrapper for the Discord API forked from discord.py
valheim-server-docker - Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
SimpleLogin - The SimpleLogin back-end and web app
valheim-cdk-discord-interactions
pycord - Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API
terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
CDK-SPA-Deploy - This is an AWS CDK Construct to make deploying a single page website (Angular/React/Vue) to AWS S3 behind SSL/Cloudfront easier
Flask RestPlus - Fully featured framework for fast, easy and documented API development with Flask
cdk-datadog-integration - Amazon Cloud Development Kit (CDK) logic to integrate your AWS account with Datadog