
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@yafoo/melog
Advanced tools
一个基于 jj.js 开发的简单轻量级博客系统
代码极简,无需编译,方便二次开发。
| 环境 | 要求 |
|---|---|
| Node.js | >= 20.19.0 |
| 数据库 | MySQL >= 5.5 或 SQLite |
# 拉取镜像
docker pull yafoo/melog
# 运行容器
docker run -p 3003:3003 --restart unless-stopped --name melog -d yafoo/melog
# 持久化配置与上传目录
docker run -p 3003:3003 --restart unless-stopped --name melog -d \
-v $PWD/melog/config:/melog/config \
-v $PWD/melog/upload:/melog/public/upload \
yafoo/melog
# 创建博客项目
npx @yafoo/melog init myblog
# 进入项目目录
cd myblog
# 启动服务
npx @yafoo/melog start
💡 不指定目录名时,会提示输入,直接回车则在当前目录初始化。
git clone https://github.com/yafoo/melog.git
cd melog
npm install
# 启动服务(默认端口 3003)
node server.js
浏览器打开 http://127.0.0.1:3003/install,配置数据库并点击安装即可完成部署。
💡 如遇问题,可将
/config/app.js中的app_debug设为true开启调试模式,重启后在控制台查看运行日志。
| 页面 | 地址 |
|---|---|
| 前台首页 | http://127.0.0.1:3003 |
| 后台管理 | http://127.0.0.1:3003/admin |
location / {
proxy_pass http://127.0.0.1:3003;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
MIT © 雨思
FAQs
一个基于jj.js开发的简单轻量级blog系统
The npm package @yafoo/melog receives a total of 17 weekly downloads. As such, @yafoo/melog popularity was classified as not popular.
We found that @yafoo/melog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.