Tiny Tiny RSS

关于

Tiny Tiny RSS 是一款基于 PHP 的免费开源 RSS 聚合阅读器。🐋 Awesome TTRSS 旨在提供一个 「一站式容器化」 的 Tiny Tiny RSS 解决方案,通过提供简易的部署方式以及一些额外插件,以提升用户体验。

部署

官方 Docker-Compose

https://github.com/HenryQW/Awesome-TTRSS/blob/master/docker-compose.yml

version: "3"
services:
  database.postgres:
    image: sameersbn/postgresql:latest
    container_name: postgres
    environment:
      - PG_PASSWORD=ttrss # please change the password
      - DB_EXTENSION=pg_trgm
    volumes:
      - ~/postgres/data/:/var/lib/postgresql/ # persist postgres data to ~/postgres/data/ on the host
    restart: always

  service.rss:
    image: wangqiru/ttrss:latest
    container_name: ttrss
    ports:
      - 181:80
    environment:
      - SELF_URL_PATH=http://localhost:181/ # please change to your own domain
      - DB_HOST=database.postgres
      - DB_PORT=5432
      - DB_NAME=ttrss
      - DB_USER=postgres
      - DB_PASS=ttrss # please change the password
      - ENABLE_PLUGINS=auth_internal,fever # auth_internal is required. Plugins enabled here will be enabled for all users as system plugins
    stdin_open: true
    tty: true
    restart: always
    command: sh -c 'sh /wait-for.sh database.postgres:5432 -- php /configure-db.php && exec s6-svscan /etc/s6/'

  service.mercury: # set Mercury Parser API endpoint to `service.mercury:3000` on TTRSS plugin setting page
    image: wangqiru/mercury-parser-api:latest
    container_name: mercury
    expose:
      - 3000
    restart: always

  service.opencc: # set OpenCC API endpoint to `service.opencc:3000` on TTRSS plugin setting page
    image: wangqiru/opencc-api-server:latest
    container_name: opencc
    environment:
      NODE_ENV: production
    expose:
      - 3000
    restart: always

插件

Mercury 全文获取

  1. 在 Preferences 设置中启用 mercury-fulltext 插件
  2. 在 Feeds 设置中填入 Mercury Parser API 地址 service.mercury:3000

OpenCC 繁简转换

  1. 在 Preferences 设置中启用 opencc 插件
  2. 在 Feeds 设置中填入 OpenCC API 地址 service.opencc:3000

字体

Font Size

https://gist.github.com/XXpE3/2e3452574ca1a6788319dcbb991ab73c

/* Google font CDN */
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+SC|Source+Code+Pro&display=");

/* Code pre font */
body.ttrss_main #content-insert pre, body.ttrss_main #headlines-frame pre, body.ttrss_main .dijitContentPane pre {
    font-family: 'Source Code Pro';
    font-size: 20px;
}

/* Read font */
body.ttrss_main.ttrss_index.flat .dijitMenu .dijitMenuItemLabel, body.ttrss_main.ttrss_index.flat .content-inner, body.ttrss_main.ttrss_index.flat #content-insert, body.ttrss_main.ttrss_index.flat .cdm .content, body.ttrss_main.ttrss_index.flat .post .content {
    font-size: 20px ! important;
    font-family: 'Noto Sans SC';
}

body.ttrss_main h1 {
    font-size: 29px;
    font-family: 'Noto Sans SC';
}

body.ttrss_main h2 {
    font-size: 27px;
    font-family: 'Noto Sans SC';
}

body.ttrss_main h3 {
    font-size: 25px;
    font-family: 'Noto Sans SC';
}

body.ttrss_main h4 {
    font-size: 23px;
    font-family: 'Noto Sans SC';
}

body.ttrss_main h5 {
    font-size: 22px;
    font-family: 'Noto Sans SC';
}

文章作者: REPL\ acgio
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 REPL\ acgio !
 上一篇
AdGuard Home AdGuard Home
OS: Ubuntu ServerVersion: 18.04 LTS AdGuard HomeAdGuard Home 是一款全网广告拦截与反跟踪软件。在您将其安装完毕后,它将保护您所有家用设备,同时您不再需要安装任何客户端软件。随
2019-08-14
下一篇 
Hexo GitHub Pages Cloudflare Hexo GitHub Pages Cloudflare
安装 Hexo 安装 NodeJS https://nodejs.org 安装 Hexo $npm install hexo-cli -g 配置 Hexo Hexo 初始化 $hexo init blog $cd blog $
2019-08-12
  目录