@insapp-dev/inslog 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,11 +1,15 @@
1
1
  # inslog
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@insapp-dev/inslog)](https://www.npmjs.com/package/@insapp-dev/inslog)
4
+
3
5
  一个基于 Node.js + Next.js 的 Blog APP:让作者专注于写作,让读者专注于阅读。
4
6
 
5
7
  **路径短、界面干净、默认安全。** 单用户、单站点、纯自用;没有账号系统、密码、追踪、评论、推荐算法、弹窗和花哨装饰。不做多用户、后台、社交、统计,也没有主题模板。
6
8
 
7
9
  **归属权在你手里。** 内容在 MongoDB,文件在 Vercel Blob / S3 / 本地磁盘,邮件走 Resend / SMTP。服务可换,配置由你自己保存。公开部署需在页脚保留源码链接。
8
10
 
11
+ 安装:`npm i @insapp-dev/inslog`
12
+
9
13
  ## 能做什么
10
14
 
11
15
  - 首页时间线:日期 + 标题,支持搜索、标签、分页;公开文章 6 个月内标 `new`,置顶只调排序。
@@ -20,7 +24,7 @@
20
24
 
21
25
  推荐 Vercel:把 Production Branch / Branch Tracking 设为 `main`,避免推 `nightly` 影响正式站点。
22
26
 
23
- 1. 导入 `daveswong/inslog`,Framework Preset 选 Next.js,根目录留空,Deploy。
27
+ 1. 导入 `insapp-dev/inslog`,Framework Preset 选 Next.js,根目录留空,Deploy。
24
28
  2. 打开 `/setup`,填数据库地址、库名、`RP_ID`、`ORIGIN`,选发信 / 存储方案,点「生成 .env 文件」。
25
29
  3. 把下载的 `.env` 导入 Vercel 环境变量,重新部署;库名必须明确,`AUTH_SECRET` 和 `RECOVERY_TOKEN` 自动生成、页面不显示。
26
30
  4. 回 `/setup` 点「检查配置,完成安装」,通过后跳登录页。
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@insapp-dev/inslog",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "一个基于 Node.js + Next.js 的 Blog APP:让作者专注于写作,让读者专注于阅读。",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/daveswong/inslog.git"
8
+ "url": "https://github.com/insapp-dev/inslog.git"
9
9
  },
10
10
  "homepage": "https://inslog.insapp.tech",
11
11
  "files": [
@@ -16,7 +16,7 @@
16
16
 
17
17
  set -euo pipefail
18
18
 
19
- REPO_SLUG="daveswong/inslog"
19
+ REPO_SLUG="insapp-dev/inslog"
20
20
  DEV_BRANCH="nightly"
21
21
  PUBLISH_BRANCH="main"
22
22
 
@@ -18,7 +18,7 @@ export default async function SiteFooter() {
18
18
  return (
19
19
  <footer className="site-foot">
20
20
  <a href="/">{t("首页")}</a> · {footerText || "© 2026"}{" "}
21
- <a href="https://github.com/daveswong/inslog">inslog on GitHub</a>
21
+ <a href="https://github.com/insapp-dev/inslog">inslog on GitHub</a>
22
22
  {loggedIn ? (
23
23
  <>
24
24
  {" · "}