From 0fd8a4dfa48651ba8d25b799e1a72e692b5e9e62 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 3 Dec 2025 14:45:44 -0800 Subject: switch to sqlite db, allow for post queueing --- .env.template | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to '.env.template') diff --git a/.env.template b/.env.template index f300eb4..5d5833d 100644 --- a/.env.template +++ b/.env.template @@ -1,3 +1,19 @@ -SHARKEY_KEY= -SHARKEY_INSTANCE= -HASH_FILE_PATH= +# Database configuration +DB_PATH=rasis.db + +# Rate limiting - maximum posts per hour +POSTS_PER_HOUR=3 + +# Start date filter (YYYY-MM-DD format) - only process posts after this date +# Leave empty to process all posts +START_DATE=2025-12-03 + +# Dry run mode - set to "true" to simulate posting without actually posting +DRY_RUN=false + +# Fediverse/Sharkey instance configuration +SHARKEY_INSTANCE=your-instance.com +SHARKEY_KEY=your-api-key-here + +# Legacy file path (not used with SQLite version) +# HASH_FILE_PATH=processed_hashes.txt -- cgit v1.2.3