Nikola

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

Github stars Tracking Chart

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)

Overview

Name With Ownergetnikola/nikola
Primary LanguagePython
Program languagePython (Language Count: 7)
PlatformLinux, Mac, Windows
License:MIT License
Release Count100
Last Release Namev8.3.0 (Posted on 2024-01-10 21:50:44)
First Release Name1.1 (Posted on 2012-03-31 01:47:47)
Created At2012-04-14 13:53:22
Pushed At2024-03-02 18:00:17
Last Commit At2024-03-02 19:00:17
Stargazers Count2.5k
Watchers Count79
Fork Count444
Commits Count10.4k
Has Issues Enabled
Issues Count2170
Issue Open Count61
Pull Requests Count1360
Pull Requests Open Count8
Pull Requests Close Count186
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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/

To the top