Sparky
sample web application built with FastAPI + uvicorn
Install / Use
/learn @perfecto25/SparkyREADME
SPARKY
Sample web application built with FastAPI & Python 3.8
shows simple Flask-like structure with a Bootstrap template index.html
also has a background task scheduler (tasks.py) and error handler (errors.py)
Youtube tutorial:
https://www.youtube.com/watch?v=Vcqc4GzDvbI
how to run
use Pipenv to install dependencies (Pipfile)
pipenv install
start the web server
pipenv run sparky
testing server load for background tasks
quick and dirty way to test server response, initiate multiple simultaneous curl calls from different hosts
# will start 1000 curl calls to your background task route
for i in {1..1000}; do curl -X POST "http://0.0.0.0:5700/task/run/NAME/$i" -H "accept: application/json"; done
additional resources
https://github.com/mjhea0/awesome-fastapi#tutorials
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
