• Stars
    star
    635
  • Rank 70,331 (Top 2 %)
  • Language Vue
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My Blog Using Sanic

lyanna

Build Status Tag Python Version Checked with mypy

My Blog Using Sanic

查看文档 📖

版本提示

  • 4.0版本开始已经使用了最新的Python3.10语法
  • 3.X版本使用Python3.8语法
  • 2.X版本兼容Python2

强烈建议升级到最新的CPython版本。

Overview

这是一个使用asyncio生态开发的个人技术博客。具体如下:

  • Web框架: Sanic
  • 模板: Mako/Sanic-Mako
  • 数据库: TortoiseORM/aiomysql
  • 缓存: aiomcache
  • KV数据库: aioredis
  • 任务队列: arq
  • 代码质量: mypy/flake8/isort/bandit

其他aio扩展: Sanic-Auth、Sanic-wtf、sanic-session、aiotask-context、asyncblink、sanic-sentry、sanic-jwt、aiosmtplib

管理后台使用: ElementUI + Vue-CLI + Vue-Router + Vuex

Inspired by vue-element-admin and vue3-admin-plus

动态 使用: Vue-CLI + Vue-Router + Vuex

Features

  • 可以通过后台对文章、标签等做增删改查
  • 后台支持Markdown编辑/预览
  • 支持代码语法高亮
  • 支持TOC
  • 支持文章搜索
  • 支持Github登录评论
  • 支持Github登录对文章和平台表态
  • 可以分享文章到微信/微博/豆瓣/印象笔记/Linkedin
  • 支持Hexo等其他Markdown源文件的导入
  • 支持文章的语法高亮
  • 支持个人设置(如设置头像,个人介绍)
  • 支持定制导航栏
  • 支持RSS/Sitemap
  • 相关文章推荐(根据相似标签)
  • 响应式设计
  • 支持评论提及邮件
  • 支持 Github Cards. 具体用法请看 这里
  • 文章内容(除代码部分之外)自动「盘古之白」
  • 支持「文章专题」
  • 支持「动态」
  • 可对评论回应
  • 支持用Docker Compose本地开发
  • 支持kubernetes上运行
  • Widget系统,内置aboutme、blogroll、most_viewed、latest_comments、tagcloud、html等widget
  • 导航栏项可以设置icon和颜色(如RSS)
  • 支持配置CDN域名服务静态文件
  • 支持笔记类型的文章,在右侧会显示对应条目信息
  • 支持展示收藏的Movie(Tv)、Book和Game三种类型条目,并可以通过widget展示在主页右侧
  • 支持通过Widget显示rss阅读器feedly和inoreader的订阅链接,可以显示feedly订阅数

Github Cards

文章中支持引用Github User/Repo Card,代码源于Github Cards,对样式做了微调,感恩~

效果: 我的博客

在文章中可以这么用:

```card
{
  'user': 'dongweiming',
  'repo': 'lyanna',
  'right': 1
}
```

card是lang,内容是json数据,你需要确保它可以作为参数让ast.literal_eval正常执行。其中user是必选键值对,包含repo会从user里面搜索这个repo,找不到的话会「Not Found」。right项是为了让Card向右对齐(默认向左对齐)

Showcase

这些博客使用了Lyanna:

PS: 如果博主不希望自己的博客出现在此列表中可以各种渠道私信我或者提PR去掉~

Video

My blog

My blog's Admin page

Thanks

PyCharm

More Repositories

1

wechat-admin

Wechat Management System
Vue
1,747
star
2

web_develop

《Python Web开发实战》书中源码
Python
1,211
star
3

weapp-zhihulive

知乎Live微信小程序 & asyncio爬虫
Python
360
star
4

commentbox

网易云音乐精彩评论[关闭]
255
star
5

sed_and_awk

A online presentation for sed & awk
HTML
168
star
6

Mtime

A spider... ^.^
Python
99
star
7

mp

微信公众号文章代码库
Python
89
star
8

data-analysis

A data analysis site by flask and mongoengine
JavaScript
73
star
9

r

Upload file service with react
CSS
63
star
10

daenerys

Scraping and Web Crawling Framework For Zhihu Live
Python
63
star
11

django-linux-dash

A clone of linux-dash written in Django, Also Support OS X, Most use psutils, Not use systemcall method
CSS
56
star
12

flask_reveal

The Easiest Way to Present Online
JavaScript
45
star
13

aiglos

Aiglos (埃格洛斯) 吉爾加拉德的神矛
CSS
26
star
14

divingintoipynb

Diving into ipython notebook
JavaScript
24
star
15

sanic-mako

Mako support for sanic
Python
17
star
16

gentle

Help you quickly submit code to the test environment tools.
Python
17
star
17

Ipynb-viewer

Rendering local ipynb to static HTML
JavaScript
14
star
18

wechat-plugins

Collection of plugins for https://github.com/dongweiming/wechat-admin
Python
14
star
19

emacs.d

A python web developer's .emacs.d
Emacs Lisp
12
star
20

idb

ipython db.py shell extension
Python
10
star
21

lisp-koans-answer

This is my answers for lisp-koans
Common Lisp
8
star
22

speakerdeck

Code and PPT for my speak
Python
8
star
23

dongweiming

😺My Github profile README.md
7
star
24

slack-alert

Send message onto a channel when this need be alerted
Python
6
star
25

octopress-douban_favorite_show

Display douban favorite show
5
star
26

douban-activity-readme

Updates README.md with the recent Douban activities of a user.
Go
4
star
27

vary.vim

A script to converting tabs to spaces and auto save with remove spaces in end of line
Vim Script
4
star
28

geek-pu

摆摊摆摊,极客电玩小铺
Go
2
star
29

divingintoipynb_pelican

a pelican blog that use ipython notebook format
Makefile
1
star
30

go-eshop

Library with a set of tools for scraping information about Nintendo games and its prices
Go
1
star
31

dotzshrc

my .zshrc
Shell
1
star
32

stable-diffusion-model-tutorial

A stable diffusion tutorial written by a senior python engineer
JavaScript
1
star
33

ipynb-reader

A ipython notebook reader plugin for pelican
1
star
34

plim-mode

Major mode for editing Plim files
Emacs Lisp
1
star
35

tola

Just for test
Python
1
star