Skip to content

Commit

Permalink
Merge pull request #50 from zaanposni/zaanposni-patch-01
Browse files Browse the repository at this point in the history
release 1.11.0
  • Loading branch information
zaanposni authored Sep 14, 2024
2 parents 8c02d52 + b01fd3c commit 5ff5eaa
Show file tree
Hide file tree
Showing 97 changed files with 2,400 additions and 748 deletions.
6 changes: 3 additions & 3 deletions src/dataimport/hello-cron
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
10 * * * * . /root/project_env.sh; /usr/local/bin/python /app/youtube_video_linker.py >> /var/log/cron.log 2>&1
45 01 * * * . /root/project_env.sh; /usr/local/bin/python /app/instagram.py >> /var/log/cron.log 2>&1
33 09 * * * . /root/project_env.sh; /usr/local/bin/python /app/instagramstory.py >> /var/log/cron.log 2>&1
44 15 * * * . /root/project_env.sh; /usr/local/bin/python /app/instagramstory.py >> /var/log/cron.log 2>&1
55 20 * * * . /root/project_env.sh; /usr/local/bin/python /app/instagramstory.py >> /var/log/cron.log 2>&1
30 * * * * . /root/project_env.sh; /usr/local/bin/python /app/instagramstorydelete.py >> /var/log/cron.log 2>&1
# 44 15 * * * . /root/project_env.sh; /usr/local/bin/python /app/instagramstory.py >> /var/log/cron.log 2>&1
# 55 20 * * * . /root/project_env.sh; /usr/local/bin/python /app/instagramstory.py >> /var/log/cron.log 2>&1
30 5 1 * * . /root/project_env.sh; /usr/local/bin/python /app/instagramstorydelete.py >> /var/log/cron.log 2>&1
*/15 * * * * . /root/project_env.sh; /usr/local/bin/python /app/reddit.py >> /var/log/cron.log 2>&1
*/1 * * * * . /root/project_env.sh; /usr/local/bin/python /app/twitch.py >> /var/log/cron.log 2>&1
# 10 1 * * * . /root/project_env.sh; /usr/local/bin/python /app/informationopenaianalyze.py >> /var/log/cron.log 2>&1
Expand Down
3 changes: 2 additions & 1 deletion src/dataimport/informationopenaianalyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
from uuid import uuid4
from datetime import datetime, timedelta, timezone

from rich import print
from rich.console import Console
from databases import Database
from openai import OpenAI
from dateutil.parser import parse


if not os.getenv("OPENAI_API_KEY"):
print("OPENAI_API_KEY not set", style="bold red")
print("OPENAI_API_KEY not set")
exit(1)

console = Console()
Expand Down
5 changes: 5 additions & 0 deletions src/dataimport/twitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
import asyncio
from uuid import uuid4

from rich import print
from rich.console import Console
from databases import Database
from twitchAPI.twitch import Twitch
from twitchAPI.helper import first


if not os.getenv("TWITCH_CLIENT_ID") or not os.getenv("TWITCH_CLIENT_SECRET"):
print("TWITCH_CLIENT_ID or TWITCH_CLIENT_SECRET not set")
exit(1)

console = Console()


Expand Down
14 changes: 14 additions & 0 deletions src/psaggregator/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://shadcn-svelte.com/schema.json",
"style": "default",
"tailwind": {
"config": "tailwind.config.js",
"css": "src/app.css",
"baseColor": "slate"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils"
},
"typescript": true
}
Loading

0 comments on commit 5ff5eaa

Please sign in to comment.