Total Pageviews

5,442,866

Wednesday, 19 February 2025

基于java的博客程序tale

 

搭建思路

看了tale作者的(github)[https://github.com/otale] 发现有建好docker,所以果断使用docker搭建tale的环境

构建docker镜像

下载tale-docker到本地。

# 下载官方Dockerfile
$ git clone https://github.com/otale/tale-docker.git
# 构建 tale 镜像
$ docker build -t tale:1.0 .
bash复制代码

下载tale博客文件

# 下载压缩包
$ sudo wget http://7xls9k.dl1.z0.glb.clouddn.com/tale.zip

# 讲解压出来的文件夹移入home目录
$ unzip tale.zip
$ mv tale /home
bash复制代码

构建tale镜像

docker run -d --privileged --hostname tale --name tale \
-v /etc/localtime:/etc/localtime:ro \
-v /home/tale:/var/tale_home -p 80:9000 \
-m 1024m --memory-swap -1 tale:1.0
bash复制代码

访问

浏览器进入 127.0.0.1 即可访问

管理后台
管理后台

首页
首页文章

体验

管理后台

  1. 文章支持Markdown和富文本。
  2. 文章/评论/友链/标签管理/主题,设置简单,一目了然
  3. 支持插件扩展

博客

  1. 主题简洁(当然支持切换主题)
  2. 使用 instantclick ,页面切换流畅
  3. 评论系统,简洁易用
  4. 搜索只支持文章标题

整体

  1. 管理简单方便
  2. 使用docker后,迁移数据也方便
  3. 主题还不是很多
  4. 对于常年使用静态blog,手动渲染/发布,使用这个之后还有点小清新。

最后

tale整体不错,值得入手。

不过目前没有笔者喜欢的主题(当然默认主题也不错)

--------------------------------------------------------------------------------------------

Best beautiful java blog, worth a try.

Tale's English meaning for the Story, I believe that every person who insists on writing a blog is a story; Chinese you call it Collapse does not matter.

Tale uses a lightweight mvc framework Blade for development, the default theme using a beautiful pinghsu, if you think this project is good, please support it star.

demo website:https://tale.biezhi.me

Build Status License @biezhi on zhihu Gitter

QuickStart  |  Contribution  |  Donate  |  Video  |  中文

Here is a throughput graph of the repository for the last few weeks:

Throughput Graph

Feature

  • Simple design, beautiful interface
  • Markdown article published
  • Custom article links
  • Support multiple themes
  • Support plugin extension
  • Support Emoji
  • Support Netease cloud music player
  • Support for attachments and database backups
  • Deployment is simple, do not rely on Tomcat
  • No database, sqlite embedded.

fom https://github.com/otale/tale 

--------------------------------------------

tale-cli

tale的命令行帮助程序 🌟

License Travis branch Go Report Card GoDoc

特性

  • 支持启动、停止、升级 Tale 博客
  • 支持 Linux、MacOSX 系统
  • 支持旧版本迁移
  • 支持博客备份

预览

tale-cli

安装 (go install github.com/otale/tale-cli@latest )

目前二进制文件存储在仓库 bin 目录,等发布版本后会提供一个在线下载地址。

帮助

» ./tale-cli

Tale 博客程序帮助工具

Github: https://github.com/otale/tale

Usage:
	tale-cli command [arguments]

Available commands:
backup   备份 Tale 博客
log      查看 Tale 博客日志
restart  重启 Tale 博客
start    启动 Tale 博客
status   查看 Tale 博客运行状态
stop     停止 Tale 博客
upgrade  升级 Tale 博客

备份的文件在当前目录下形如 backup_201709109281.zip

 from  https://github.com/otale/tale-cli

No comments:

Post a Comment