matrixcli
Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI
Our great sponsors
matrixcli | Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI | |
---|---|---|
1 | 8 | |
133 | 4 | |
- | - | |
0.0 | 3.6 | |
over 2 years ago | 5 months ago | |
Python | Python | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
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.
matrixcli
Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI
-
Server-Side events with FastAPI and Webhooks
I have a project where I have used FastAPI to provide a webhook for Sid Meier's Civilization VI's multiplayer mode. Its main purpose is to send a message to a Matrix server when it's someone's turn, but I also have a main page where you can go and see all the games currently being played. (see: https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI/blob/d893555a70a8e2445ed73c2c68f17406004cfd10/screenshots/index.png ) Right now I'm using HTMX and having it reload the current games every 15 seconds (https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI/blob/main/civ_vi_webhook/templates/partials/current_games_table.html) . But that's pretty wasteful in a situation where a turn might be done anywhere between 15 minutes and days later. I just have it set to 15s because, coincidentally, someone might finish a game right after you load up a page. It would be more efficient to use Server-Side Events.
- Help: HTMX not replacing the div
-
Struggling to get my triggers right
One is here: https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI/blob/467bf50833045d3b9c465b8233e6df297ffdfaa9/civ_vi_webhook/templates/partials/current_games_table.html
-
how do you go from basic python stuff to building a project????
https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI - to handle PBEM and Play by Cloud in Civilization VI
-
Flask makes you a better developer
I created a Flask app to handle the webhook-based notification that Sid Meier's Civilization VI uses for Play By Cloud games in just a weekend.I ended up moving to FastAPI for a few of its features, but going from one to the other is *ALMOST* copy/paste.
-
Basic FastAPI webhook receiver
if you want an example, here's a pretty basic little app I made to accept a webhook and post to Matrix chat: https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI
-
Sunday Daily Thread: What's everyone working on this week?
The repo is at https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI
-
Why is my logging not coming through?
I'm launching my code via this shell script: https://github.com/djotaku/Civilization_VI_Play_By_Cloud_Webhook_with_FastAPI/blob/429fce401c978721cca34c1529e0a21a855d4fa4/start_server.sh
What are some alternatives?
xbmc-adult - main xbmc-adult Kodi repo for Frodo, Gotham, Helix, Isengar, Krypton, Leia and Matrix
amortization - Amortization Program for creating a table of payments
mirage - A fancy, customizable, keyboard-operable Qt/QML & Python Matrix chat client for encrypted and decentralized communication.
civ6-graph - Dependency graph for entities in Civ VI game.
matrix-commander - simple but convenient CLI-based Matrix client app for sending and receiving
RPICovidScraper - scraper for Rensselaer Polytechnic Institute (RPI)'s Covid Dashboard
simplematrixbotlib - Development continued at https://codeberg.org/imbev/simplematrixbotlib
mathgenerator - A program to generate math problems in a pretty format
neocapy - Matrix bot for capy.life
lastfmeoystats - Create some stats for last.fm End of Year Post
Snap-in-Time - script for btrfs backups