Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terwer/jvue-front
以 Metaweblog API 为标准的博客轻量级平台。默认适配并支持支持思源笔记、博客园、WordPress以及支持 Metaweblog API 的平台
https://github.com/terwer/jvue-front
jvue metaweblog nuxt3 vue3
Last synced: 11 days ago
JSON representation
以 Metaweblog API 为标准的博客轻量级平台。默认适配并支持支持思源笔记、博客园、WordPress以及支持 Metaweblog API 的平台
- Host: GitHub
- URL: https://github.com/terwer/jvue-front
- Owner: terwer
- Created: 2022-06-12T19:45:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T01:18:54.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T17:23:17.375Z (9 months ago)
- Topics: jvue, metaweblog, nuxt3, vue3
- Language: TypeScript
- Homepage: https://terwer.space
- Size: 3.99 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jvue-front
Next version for jvue-front using [nuxt3](https://github.com/nuxt/framework) which supports Metaweblog API.We will start develop after Nuxt3 **stabe** release,please wait...
See also:[https://github.com/element-plus/element-plus-nuxt-starter/issues/46](https://github.com/element-plus/element-plus-nuxt-starter/issues/46)
## Install
```bash
dnf install npm
# apt install nom
npm i -g n
sudo n stablenpm i -g yarn
npm i -g vercel
npm i -g pm2
```
## Init
```bash
yarn
```## Set up environment variables
Copy the .env.example file in this directory to .env (which will be ignored by Git):
```bash
cp .env.example .env
```and change the config, the file maybe like this:
```properties
# setting for Siyuan-Note
SIYUAN_API_URL=
SIYUAN_AUTH_TOKEN=# setting for WordPress
WORDPRESS_API_URL=https://wordpress-host/xmlrpc.php
WORDPRESS_USERNAME=
WORDPRESS_PASSWORD=# set wordpress as default
DEFAULT_TYPE=wordpress
```## Dev
```bash
yarn dev
```or
```bash
yarn vdev
```## Deploy
```bash
pm2 start pm2.json
``````bash
pm2 stop pm2.json
```