This commit is contained in:
2025-06-08 16:35:06 +09:00
parent 230b3558b9
commit be026db3d8
20 changed files with 182 additions and 73 deletions

View File

@ -1,22 +1,22 @@
import { Hono } from "hono";
import { serve } from "@hono/node-server";
import { basicAuth } from "hono/basic-auth";
import { Database } from "bun:sqlite";
import path from "path";
import { serve } from "@hono/node-server";
import { Hono } from "hono";
import { basicAuth } from "hono/basic-auth";
import { addNewFeedUrl, batchProcess } from "./scripts/fetch_and_generate.js";
import { batchScheduler } from "./services/batch-scheduler.js";
import { config, validateConfig } from "./services/config.js";
import {
getAllFeedsIncludingInactive,
deleteFeed,
toggleFeedActive,
getFeedByUrl,
getFeedById,
fetchAllEpisodes,
fetchEpisodesWithArticles,
getAllFeedsIncludingInactive,
getFeedById,
getFeedByUrl,
getFeedRequests,
toggleFeedActive,
updateFeedRequestStatus,
} from "./services/database.js";
import { Database } from "bun:sqlite";
import { batchProcess, addNewFeedUrl } from "./scripts/fetch_and_generate.js";
import { batchScheduler } from "./services/batch-scheduler.js";
// Validate configuration on startup
try {