Nikola

一个静态网站和博客生成器。(A static website and blog generator)

Github星跟蹤圖

Nikola(尼古拉),一个静态网站和博客生成器

内容进去,网站出来,准备部署。

为什么选择静态网站?

静态网站更安全,使用更少的资源,并避免供应商和平台锁定。你可以在 Nikola 手册 中读到更多关于这方面的内容。

Nikola 能做什么?

它有很多功能,但这里有一些比较好的功能:

  • 博客,有标签,feeds,档案,评论等。
  • 主题化
  • 快速构建,感谢 doit
  • 灵活,可通过几十个可用的插件进行扩展。
  • 小代码库(程序员可以在一天内理解 Nikola 核心的所有内容)。
  • reStructuredText 或 Markdown 作为输入语言(也包括 Wiki、BBCode、Textile 和 HTML)
  • 简单的 图片库(只需将文件放入文件夹中即可!)。
  • 几乎所有编程语言或标记的语法高亮显示
  • 多语种网站,已翻译成 50 种语言
  • 不重新发明轮子,利用现有工具。
  • 兼容 Python 3.4+。

Nikola 架构

https://getnikola.com/images/architecture.png

安装说明

假设你已经安装了 pip。

pip install Nikola

对于可选功能:

pip install "Nikola[extras]"

用于测试:

pip install "Nikola[extras,tests]"

更多信息,请见 https://getnikola.com/


(First version translated and edited by vz on 2020.12.19)

概覽

名稱與所有者getnikola/nikola
主編程語言Python
編程語言Python (語言數: 7)
平台Linux, Mac, Windows
許可證MIT License
發布數100
最新版本名稱v8.3.0 (發布於 2024-01-10 21:50:44)
第一版名稱1.1 (發布於 2012-03-31 01:47:47)
創建於2012-04-14 13:53:22
推送於2024-04-09 17:44:28
最后一次提交2024-04-09 19:44:28
星數2.5k
關注者數78
派生數444
提交數10.4k
已啟用問題?
問題數2175
打開的問題數65
拉請求數1360
打開的拉請求數8
關閉的拉請求數186
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

Nikola, a Static Site and Blog Generator

In goes content, out comes a website, ready to deploy.

.. image:: http://img.shields.io/pypi/v/Nikola.svg
:target: https://pypi.python.org/pypi/Nikola

.. image:: https://img.shields.io/requires/github/getnikola/nikola.svg
:target: https://requires.io/github/getnikola/nikola/requirements/?branch=master

.. image:: http://img.shields.io/travis/getnikola/nikola.svg
:target: https://travis-ci.org/getnikola/nikola

.. image:: http://img.shields.io/coveralls/getnikola/nikola.png
:target: https://coveralls.io/r/getnikola/nikola?branch=master

.. image:: http://img.shields.io/badge/license-MIT-green.svg
:target: https://github.com/getnikola/nikola/blob/master/LICENSE.txt

.. image:: https://build.snapcraft.io/badge/getnikola/nikola.svg
:target: https://build.snapcraft.io/user/getnikola/nikola

Why Static Websites?

Static websites are safer, use fewer resources, and avoid vendor and platform lock-in.
You can read more about this in the Nikola Handbook_

What Can Nikola Do?

It has many features, but here are some of the nicer ones:

  • Blogs, with tags, feeds, archives, comments, etc.__
  • Themable_
  • Fast builds, thanks to doit_
  • Flexible, extensible via the dozens of available plugins_
  • Small codebase (programmers can understand all of Nikola core in a day)
  • reStructuredText_ or Markdown as input language (also Wiki, BBCode, Textile, and HTML)
  • Easy image galleries_ (just drop files in a folder!)
  • Syntax highlighting for almost any programming language or markup
  • Multilingual sites, translated to 50 languages.__
  • Doesn't reinvent wheels, leverages existing tools.
  • Python 3.4+ compatible.

.. _Nikola Handbook: https://getnikola.com/handbook.html#why-static
__ https://users.getnikola.com/
.. _Themable: https://themes.getnikola.com
.. _doit: http://pydoit.org
.. _available plugins: https://plugins.getnikola.com/
.. _reStructuredText: https://getnikola.com/quickstart.html
.. _image galleries: https://getnikola.com/galleries/demo/
__ https://www.transifex.com/projects/p/nikola/

Nikola Architecture

.. image:: https://getnikola.com/images/architecture.png

Installation Instructions

Assuming you have pip installed::

pip install Nikola

For optional features::

pip install "Nikola[extras]"

For tests::

pip install "Nikola[extras,tests]"

For more information, see https://getnikola.com/

去到頂部