feat:添加hexo到列表

This commit is contained in:
okxlin 2023-07-25 01:35:46 +08:00
parent 16ddafd97a
commit 71f9cc3cb6
12 changed files with 276 additions and 0 deletions

102
apps/hexo/README.md Normal file
View File

@ -0,0 +1,102 @@
<img src="https://raw.githubusercontent.com/hexojs/logo/master/hexo-logo-avatar.png" alt="Hexo logo" width="100" height="100" align="right" />
# Hexo
> A fast, simple & powerful blog framework, powered by [Node.js](https://nodejs.org).
[Website](https://hexo.io) |
[Documentation](https://hexo.io/docs/) |
[Installation Guide](https://hexo.io/docs/#Installation) |
[Contribution Guide](https://hexo.io/docs/contributing) |
[Code of Conduct](CODE_OF_CONDUCT.md) |
[API](https://hexo.io/api/) |
[Twitter](https://twitter.com/hexojs)
[![NPM version](https://badge.fury.io/js/hexo.svg)](https://www.npmjs.com/package/hexo)
![Required Node version](https://img.shields.io/node/v/hexo)
[![Build Status](https://github.com/hexojs/hexo/workflows/Tester/badge.svg)](https://github.com/hexojs/hexo/actions?query=workflow%3ATester)
[![dependencies Status](https://img.shields.io/librariesio/release/npm/hexo)](https://libraries.io/npm/hexo)
[![Coverage Status](https://coveralls.io/repos/hexojs/hexo/badge.svg?branch=master)](https://coveralls.io/r/hexojs/hexo?branch=master)
[![Gitter](https://badges.gitter.im/hexojs/hexo.svg)](https://gitter.im/hexojs/hexo)
[![Discord Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/teM2Anj)
[![Telegram Chat](https://img.shields.io/badge/chat-on%20telegram-32afed.svg)](https://t.me/hexojs)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fhexojs%2Fhexo.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_shield)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
## Features
- Blazing fast generating
- Support for GitHub Flavored Markdown and most Octopress plugins
- One-command deploy to GitHub Pages, Heroku, etc.
- Powerful API for limitless extensibility
- Hundreds of [themes](https://hexo.io/themes/) & [plugins](https://hexo.io/plugins/)
## Quick Start
**Install Hexo**
``` bash
$ npm install hexo-cli -g
```
Install with [brew](https://brew.sh/) on macOS and Linux:
```bash
$ brew install hexo
```
**Setup your blog**
``` bash
$ hexo init blog
$ cd blog
```
**Start the server**
``` bash
$ hexo server
```
**Create a new post**
``` bash
$ hexo new "Hello Hexo"
```
**Generate static files**
``` bash
$ hexo generate
```
## More Information
- Read the [documentation](https://hexo.io/)
- Visit the [Awesome Hexo](https://github.com/hexojs/awesome-hexo) list
- Find solutions in [troubleshooting](https://hexo.io/docs/troubleshooting.html)
- Join discussion on [Google Group](https://groups.google.com/group/hexo), [Discord](https://discord.gg/teM2Anj), [Gitter](https://gitter.im/hexojs/hexo) or [Telegram](https://t.me/hexojs)
- See the [plugin list](https://hexo.io/plugins/) and the [theme list](https://hexo.io/themes/) on wiki
- Follow [@hexojs](https://twitter.com/hexojs) for latest news
## Contributing
We welcome you to join the development of Hexo. Please see [contributing document](https://hexo.io/docs/contributing). 🤗
Also, we welcome PR or issue to [official-plugins](https://github.com/hexojs).
## Contributors
[![](https://opencollective.com/Hexo/contributors.svg?width=890)](https://github.com/hexojs/hexo/graphs/contributors)
## Backers
[![Backers](https://opencollective.com/hexo/tiers/backers.svg?avatarHeight=36&width=600)](https://opencollective.com/hexo)
## Sponsors
<a href="https://linktr.ee/rss3"><img src="https://d1fdloi71mui9q.cloudfront.net/8xxahBqRTnecXgXKObeo_L8ks2KjC31fmM5Nd" alt="RSS3" width="200"/></a>
## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fhexojs%2Fhexo.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fhexojs%2Fhexo?ref=badge_large)

20
apps/hexo/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: Hexo
tags:
- 建站
title: 快速、简洁且高效的博客框架
type: 建站
description: 快速、简洁且高效的博客框架
additionalProperties:
key: hexo
name: Hexo
tags:
- WebSite
shortDescZh: 快速、简洁且高效的博客框架
shortDescEn: A fast, simple & powerful blog framework
type: website
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://hexo.io/
github: https://github.com/hexojs/hexo
document: https://hexo.io/docs/

View File

@ -0,0 +1,5 @@
CONTAINER_NAME="hexo"
PANEL_APP_PORT_HTTP="40064"
DATA_PATH="./data"
GIT_USERNAME="gituser"
GIT_MAIL="user@email.com"

31
apps/hexo/latest/data.yml Normal file
View File

@ -0,0 +1,31 @@
additionalProperties:
formFields:
- default: 40064
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ""
edit: true
envKey: GIT_USERNAME
labelEn: Git username
labelZh: Git 用户名
required: true
type: text
- default: ""
edit: true
envKey: GIT_MAIL
labelEn: Git Email
labelZh: Git 邮箱
required: true
type: text

View File

@ -0,0 +1,24 @@
version: '3'
services:
hexo:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
volumes:
- "${DATA_PATH}:/app"
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- GIT_USER=${GIT_USERNAME}
- GIT_EMAIL=${GIT_MAIL}
image: bloodstar/hexo:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/hexo/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -0,0 +1,5 @@
CONTAINER_NAME="hexo"
PANEL_APP_PORT_HTTP="40064"
DATA_PATH="./data"
GIT_USERNAME="gituser"
GIT_MAIL="user@email.com"

View File

@ -0,0 +1,31 @@
additionalProperties:
formFields:
- default: 40064
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ""
edit: true
envKey: GIT_USERNAME
labelEn: Git username
labelZh: Git 用户名
required: true
type: text
- default: ""
edit: true
envKey: GIT_MAIL
labelEn: Git Email
labelZh: Git 邮箱
required: true
type: text

View File

@ -0,0 +1,24 @@
version: '3'
services:
hexo:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
volumes:
- "${DATA_PATH}:/app"
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- GIT_USER=${GIT_USERNAME}
- GIT_EMAIL=${GIT_MAIL}
image: bloodstar/hexo:stable-23-07-01
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -0,0 +1,2 @@
CONTAINER_NAME="hexo"
PANEL_APP_PORT_HTTP="40064"

View File

@ -0,0 +1,11 @@
additionalProperties:
formFields:
- default: 40064
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number

View File

@ -0,0 +1,21 @@
version: '3'
services:
hexo:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
volumes:
- hexo_data:/home/hexo/.hexo
image: taskbjorn/hexo:alpine-latest
labels:
createdBy: "Apps"
volumes:
hexo_data:
networks:
1panel-network:
external: true