
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@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 |
| 项目 | 值 |
|---|---|
| 账号 | admin |
| 密码 | 123456 |
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;
}
Melog 内置了 Token 管理和 RESTful API 接口,配合 Skill 技能文件,可让 AI Agent 直接操作博客内容。
melog-api.skill 加载到你的 AI 工具中💡 API 使用 Bearer Token 认证,支持细粒度权限控制(分类增删改查、文章增删改查)。
MIT © 雨思
FAQs
一个基于jj.js开发的简单轻量级blog系统
The npm package @yafoo/melog receives a total of 0 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.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.