Skip to content

Novel reader with built-in crawler and translation with SakuraLLM

Notifications You must be signed in to change notification settings

Eason0729/novel-tralslate

Repository files navigation

novel-tralslate

wakatime

成果展示

Home Page Novel Page Article Page
Home Page Dark Novel Page Dark Article Page Dark

設置網頁

使用docker compose,訪問http://localhost:8000

services:
  app:
    image: ghcr.io/eason0729/novel-tralslate:latest
    restart: unless-stopped
    network_mode: "host"
    environment:
      - SQLITE_PATH=/data/database.sqlite3
      - "API_URL=http://ollama:11434"
      - "WAF_COOKIES=aws-waf-token=get_one_if_you_want_alphapolis.co.jp;"
    volumes:
      - "./data:/data"

ollama服務器

  1. 下載ollama

https://ollama.com/

  1. 下載模型
ollama pull hf.co/SakuraLLM/Sakura-1.5B-Qwen2.5-v1.0-GGUF
  1. 啟動ollama

雜項

  1. 設置WAF_COOKIES來爬https://www.alphapolis.co.jp的輕小說
  2. 對你的database執行index.sql以提昇反應時間
  3. 使用更大的模型

About

Novel reader with built-in crawler and translation with SakuraLLM

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published