19 releases (12 breaking)

0.13.0 Mar 12, 2023
0.11.1 Feb 27, 2023
0.9.0 Dec 15, 2022
0.8.0 Nov 28, 2022
0.2.1 Mar 23, 2022

#185 in Text processing

Download history 46/week @ 2022-12-01 5/week @ 2022-12-08 48/week @ 2022-12-15 24/week @ 2022-12-22 2/week @ 2022-12-29 3/week @ 2023-01-05 8/week @ 2023-01-12 7/week @ 2023-01-19 50/week @ 2023-01-26 30/week @ 2023-02-02 62/week @ 2023-02-09 66/week @ 2023-02-16 44/week @ 2023-02-23 34/week @ 2023-03-02 62/week @ 2023-03-09 40/week @ 2023-03-16

183 downloads per month

Apache-2.0

1MB
4K SLoC

zine

Crates.io Crates.io license-apache

Zine - a simple and opinionated tool to build your own magazine.

https://zineland.github.io

  • Mobile-first.
  • Intuitive and elegant magazine design.
  • Best reading experiences.
  • Theme customizable, extend friendly.
  • RSS Feed supported.
  • Open Graph Protocol supported.
  • Article topic supported.
  • I18n and l10n supported.
  • Build into a static website, hosting anywhere.

Installation

cargo install zine

or brew install zineland/tap/zine

or brew tap zineland/tap, then brew install zine

Get Started

Run zine new your-zine-site, you'll get following directory:

$ 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

Run zine serve to preview your zine site on your local computer:

$ cd your-zine-site

$ zine serve

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

listening on http://127.0.0.1:3000

Run zine build to build your zine site into a static website:

$ cd your-zine-site

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

Some cool magazines powered by Zine

Docmentations

TODO

  • Support RSS Feed
  • Support render OGP meta
  • Support l10n
  • Support sitemap.xml
  • Support code syntax highlight
  • Support table of content
  • Support i18n
  • zine serve support live reload
  • Support article topic

License

This project is licensed under the Apache-2.0 license.

Dependencies

~25–33MB
~671K SLoC