#build #customizable #rss #opinionated #own #tool #magazine

app zine

一个简单且具有个人观点的构建您自己的杂志的工具

22 个版本 (重大变更)

0.16.0 2023 年 7 月 4 日
0.14.0 2023 年 4 月 23 日
0.13.0 2023 年 3 月 12 日
0.9.0 2022 年 12 月 15 日
0.2.1 2022 年 3 月 23 日

#14#rss

Download history 3/week @ 2024-03-10 70/week @ 2024-03-31 203/week @ 2024-04-28

每月 98 次下载

Apache-2.0

115KB
2.5K SLoC

zine

Crates.io Crates.io license-apache dependency status

杂志 - 一个简单且具有个人观点的构建您自己的杂志的工具。

https://zineland.github.io

  • 以移动端优先。
  • 直观且优雅的杂志设计。
  • 最佳阅读体验。
  • 主题可定制,扩展友好。
  • 支持 RSS 源。
  • 支持 Open Graph 协议。
  • 支持文章主题。
  • 支持国际化 (I18n) 和本地化 (l10n)。
  • 构建为静态网站,可在任何地方托管。

安装

cargo安装 zine

brew install zineland/tap/zine

brew tap zineland/tap,然后 brew install zine

开始使用

运行 zine new your-zine-site,您将获得以下目录

$ tree your-zine-site
your-zine-site
├── content             # The content directory your issues located
│   └── issue-1         # The first issue directory
│       ├── 1-first.md  # The first markdown article in this issue
│       └── zine.toml   # The issue Zine config file
└── zine.toml           # The root Zine config file of this project

2 directories, 3 files

运行 zine serve 在本地计算机上预览您的杂志网站

$ cd your-zine-site

$ zine serve

███████╗██╗███╗   ██╗███████╗
╚══███╔╝██║████╗  ██║██╔════╝
  ███╔╝ ██║██╔██╗ ██║█████╗
 ███╔╝  ██║██║╚██╗██║██╔══╝
███████╗██║██║ ╚████║███████╗
╚══════╝╚═╝╚═╝  ╚═══╝╚══════╝

listening on http://127.0.0.1:3000

运行 zine build 将您的杂志网站构建为静态网站

$ cd your-zine-site

$ zine build
Build success! The build directory is `build`.

一些由 Zine 驱动的精彩杂志

文档

待办事项

  • 支持 RSS 源
  • 支持渲染 OGP 元数据
  • 支持本地化
  • 支持 sitemap.xml
  • 支持代码语法高亮
  • 支持目录
  • 支持国际化
  • zine serve 支持实时重新加载
  • 支持文章主题

许可证

本项目采用 Apache-2.0 许可证

依赖项

~28–42MB
~728K SLoC