新网站搬家

关于本网站

准备逐渐弃坑WordPress,所以自己写了一个静态网站生成器——Lumos。目前已完成WordPress大部分功能,Widget,Category,TagCloud。搜索功能。 我原来的WordPress网站:https://etasry.ml
同样江苏苏州电信,老站点的加载速度为1.4s,本站点加载速度为219ms(数据来自Chrome F12大法)

国际化

我注册了两个域名,rongyi.ml是本站,yirong.ml是英文站(主要用英文写东西)。国内的网站仅对中国大陆优化,包括[useso字体,百度统计,简体中文网页,多说评论系统]。国外的网站中国访问就比较慢了,使用了很多被墙的优质服务[Google字体, Google Analytics, imgur, Disqus]。所以建议中国大陆各位访问这个站(rongyi.ml),或者开着VPN访问yirong.ml。

导航

本站的文章地址为/年/月/日/slug.html (但是日后加入permalink支持后可能会变成原来的/category/slug.html)
站内搜索功能的正确打开方式: 双击Alt 或者 点击右上方搜索框, 输入时将实时预览搜索结果
旧网站的数据正在慢慢的搬过来,同时旧网站不会关闭

Read More

Lumos静态网站生成器

现在是个托管在Github上的闭源项目,估计开源了也没什么人会来用,所以我就一个人玩单机吧(需要源码的可以在下面评论)。
以下是Github上本项目的README:

Lumos

license israfil
Full Featured Static Site Generator

About

What it is

A static site generator, aiming to support most features of WordPress and replace my old WP Blog.

Why? There’re dozens of Hexo-s

I created this project mainly because I can’t bear the slow loading speed of WordPress while there isn’t a full alternative static site generator. It’s probably just my personal project, but everyone can use it for free under the term of AGPL. Issues are also welcomed.

Features

  • [x] Categories!
  • [x] Side Widgets!
  • [x] TagCloud! (in my theme)
  • [x] FrontPage and PostPage support
  • [x] Full site minify !
  • [x] Post Counts for specific Cat or Tag
  • [x] Recent Posts
  • [x] Cross All Platforms and Architectures
  • [x] Search !
  • [x] Other awesome features from PUGO 0.10
    • [x] Auto Deploy to git, aws, ftp, cdn.
    • [x] Sitemap and Feed generation
  • [x] Other awesome features from Deuna
    • [x] Fully responsive
    • [x] Flat and modern design
    • [x] Social Info
  • [ ] Customized Permalink

Screenshots

Since my goal is to replace my wp site, here are the current comparison between the site generated by Lumos and the original WordPress site (both in Duena Theme).

Lumos Site:

lumospng

WordPress Site:

wppng

Compile

  • Requires Go 1.5+ and Glide package manager
  • Install the required packages using glide install then,
  • If you are on *nix, then build-all.sh will help you generate binaries for all platforms(Win, Linux, Darwin, Freebsd) with all archs(386, amd64, arm)
  • Else go build will always produce the executable.

License

Lumos is licensed under AGPL V3 (see doc/LICENSE). However, the website generated does not apply this license, meaning you can freely modify the output HTMLs.
This project contains part of code from Pugo 0.10.0(MIT License), see doc/PUGO.LICENSE for details

Read More