This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

adjust the path structure

+3 -3
+2 -2
src/index.ts
··· 2 2 import * as dotenv from "dotenv"; // Import dotenv for loading environment variables 3 3 import { CronJob } from "cron"; // Import CronJob for scheduling tasks 4 4 import * as process from "process"; // Import process for accessing environment variables 5 - import { generateWolfNoiseString } from "./wolf-noise-generator"; // Import the function for generating wolf noise strings 5 + import { generateWolfNoiseString } from "./wolf-noise-generator"; 6 6 7 7 // Load environment variables from the config.env file 8 - dotenv.config({ path: "./config.env" }); 8 + dotenv.config({ path: "./src/config.env" }); 9 9 10 10 // Create a Bluesky Agent 11 11 const agent = new BskyAgent({
+1 -1
src/wolf-noise-generator.ts
··· 13 13 punctuation: { [category: string]: string[] }; // Nested object for category-specific punctuation 14 14 } { 15 15 try { 16 - const data = fs.readFileSync("./wolf-noises.json", "utf-8"); 16 + const data = fs.readFileSync("src/wolf-noises.json", "utf-8"); 17 17 return JSON.parse(data); 18 18 } catch (error) { 19 19 console.error("Error reading wolf-noises.json:", error);