一个静态网站生成器,允许你用图片讲述故事
项目描述
Prosopopee
Prosopopee. 用于你的故事的静态网站生成器。
使用Python编写的静态网站生成器,创建美观的自定义图片画廊,通过图片讲述故事。你不需要关心css、代码和展示,只需在YAML文件中管理你的内容,Prosopopee会处理其余的工作。
Prosopopee以部分导向,非常灵活,已有多种部分可供使用
- 视差
- 图片组(画廊)
- 段落
- Iframe(YouTube、地图等..)
- 引用
- 还有更多
屏幕截图
特性
Prosopopee目前支持
- 自动生成
- 轻量级
- 缩略图和多种分辨率,快速预览(JPEG渐进式)
- 视频支持
- 移动友好
- 缓存,快速渲染
- 多级画廊
- 支持主题(默认、材料、浅色)
- 密码访问(加密页面)
- 图片懒加载
- 夜间模式
- 完全静态输出,易于在任何地方托管
- 可黑客攻击
示例
您可以在以下位置找到示例用法
- http://surleschemins.fr
- http://media.faimaison.net/photos/galerie/
- https://www.thebrownianmovement.org/
- http://outside.browny.pink
- http://www.street-art.me
代码示例
title: Title
date: 2015-12-18
cover: P1070043-01-01.jpeg
sections:
- type: full-picture
image: P1060979-01-01.jpeg
fixed: true
text:
title: My Story
sub_title: some subtitle
date: 2015-12-18
- type: paragraph
title: Beautiful Title
text: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor
- type: pictures-group
images:
-
- P1060938-01-01.jpeg
- P1060946-01-01.jpeg
- P1060947-01-01.jpeg
- P1060948-01-01.jpeg
用法
prosopopee
prosopopee test
prosopopee preview
prosopopee deploy
prosopopee autogen (-d <folder> | --all ) [--force]
prosopopee (-h | --help)
prosopopee --version
Options:
test Verify all your yaml data
preview Start preview webserver on port 8000
deploy Deploy your website
autogen Generate gallery automaticaly
-h, --help Show this screen.
--version Show version.
Docker
https://hub.docker.com/r/beudbeud/prosopopee/
许可证
GLPv3
文档
http://prosopopee.readthedocs.org/en/latest/
IRC
频道:irc.freenode.net#prosopopee
项目细节
关闭
prosopopee-1.1.5.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | f895bda53af9f9625c979942a513a726c9facaba2c65c8b379850d6b877eeb56 |
|
MD5 | 4d2ab825ffcffe52a0ee9dae831d5ba2 |
|
BLAKE2b-256 | d86fed9bcab7ce13396bb3ae8df8c4ae270539ee5ab9155feae2582c96aa2bcb |
关闭
prosopopee-1.1.5-py2.py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 0e9416da3e7e214ed1948116d8add0062c1628208a75e59b1c03952fae26cf51 |
|
MD5 | 6ebcc24e605d3f38f59ceebd400705e4 |
|
BLAKE2b-256 | 4573d9c35d69f5d57e12cd0e8dcb0b85181124f524b655e152ccc231b53e2ba4 |