import subprocess import logging from fastapi import FastAPI from fastapi.responses import HTMLResponse app = FastAPI() subprocess.Popen(["python3", "TimeStampBuddy/cron_processor.py"]) @app.get("/", response_class=HTMLResponse) def welcome(): return """
This service powers the @TimeStampBuddy's activity on Twitter.
For more details, visit GitHub Repository.