@jant/core 0.0.1 → 0.0.3

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.
Files changed (2) hide show
  1. package/README.md +64 -0
  2. package/package.json +19 -20
package/README.md ADDED
@@ -0,0 +1,64 @@
1
+ # @jant/core
2
+
3
+ A modern, open-source microblogging platform built on Cloudflare Workers.
4
+
5
+ ## What is Jant?
6
+
7
+ Jant is a single-author microblog for people who want to share thoughts without the noise of social media. No followers, no likes, no algorithms—just your words.
8
+
9
+ ## Features
10
+
11
+ - **Multiple content types** - Notes, articles, links, quotes, images, and pages
12
+ - **Thread support** - Chain posts together for longer thoughts
13
+ - **Collections** - Curate posts into themed collections
14
+ - **Full-text search** - Find anything with FTS5-powered search
15
+ - **i18n ready** - Built-in internationalization support
16
+ - **Beautiful themes** - Clean, responsive design with dark mode
17
+ - **Fast & cheap** - Runs on Cloudflare's edge network
18
+
19
+ ## Tech Stack
20
+
21
+ - **Runtime**: Cloudflare Workers
22
+ - **Framework**: [Hono](https://hono.dev)
23
+ - **Database**: Cloudflare D1 (SQLite)
24
+ - **Storage**: Cloudflare R2
25
+ - **Auth**: [better-auth](https://better-auth.com)
26
+ - **ORM**: [Drizzle](https://orm.drizzle.team)
27
+ - **CSS**: Tailwind CSS v4 + [BaseCoat](https://basecoat.dev)
28
+
29
+ ## Quick Start
30
+
31
+ The easiest way to create a new Jant site:
32
+
33
+ ```bash
34
+ pnpm create jant my-blog
35
+ cd my-blog
36
+ pnpm dev
37
+ ```
38
+
39
+ ## Manual Setup
40
+
41
+ If you want to set up manually:
42
+
43
+ ```bash
44
+ # Install
45
+ pnpm add @jant/core
46
+
47
+ # See documentation for configuration
48
+ ```
49
+
50
+ ## Documentation
51
+
52
+ - [Getting Started](https://github.com/jant-me/jant/blob/main/docs/getting-started.md)
53
+ - [Deployment](https://github.com/jant-me/jant/blob/main/docs/deployment.md)
54
+ - [Configuration](https://github.com/jant-me/jant/blob/main/docs/configuration.md)
55
+ - [Theming](https://github.com/jant-me/jant/blob/main/docs/theming.md)
56
+ - [API Reference](https://github.com/jant-me/jant/blob/main/docs/API.md)
57
+
58
+ ## Contributing
59
+
60
+ We welcome contributions! See [CONTRIBUTING.md](https://github.com/jant-me/jant/blob/main/CONTRIBUTING.md) for guidelines.
61
+
62
+ ## License
63
+
64
+ AGPL-3.0 License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jant/core",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "A modern, open-source microblogging platform built on Cloudflare Workers",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,24 +26,6 @@
26
26
  "vite.config.ts",
27
27
  "wrangler.toml"
28
28
  ],
29
- "scripts": {
30
- "dev": "pnpm db:migrate:local && vite dev",
31
- "dev:debug": "pnpm db:migrate:local && vite dev --port 19019",
32
- "build": "vite build",
33
- "deploy": "pnpm build && wrangler deploy",
34
- "preview": "vite preview",
35
- "typecheck": "tsc --noEmit",
36
- "lint": "eslint src/",
37
- "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
38
- "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
39
- "db:generate": "drizzle-kit generate",
40
- "db:migrate:local": "wrangler d1 migrations apply DB --local",
41
- "db:migrate:remote": "wrangler d1 migrations apply DB --remote",
42
- "i18n:extract": "lingui extract",
43
- "i18n:compile": "lingui compile --typescript",
44
- "i18n:build": "pnpm i18n:extract && pnpm i18n:compile",
45
- "prepare": "husky"
46
- },
47
29
  "dependencies": {
48
30
  "@lingui/core": "^5.9.0",
49
31
  "better-auth": "^1.4.18",
@@ -112,5 +94,22 @@
112
94
  "homepage": "https://jant.me",
113
95
  "engines": {
114
96
  "node": ">=24.0.0"
97
+ },
98
+ "scripts": {
99
+ "dev": "pnpm db:migrate:local && vite dev",
100
+ "dev:debug": "pnpm db:migrate:local && vite dev --port 19019",
101
+ "build": "vite build",
102
+ "deploy": "pnpm build && wrangler deploy",
103
+ "preview": "vite preview",
104
+ "typecheck": "tsc --noEmit",
105
+ "lint": "eslint src/",
106
+ "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
107
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"",
108
+ "db:generate": "drizzle-kit generate",
109
+ "db:migrate:local": "wrangler d1 migrations apply DB --local",
110
+ "db:migrate:remote": "wrangler d1 migrations apply DB --remote",
111
+ "i18n:extract": "lingui extract",
112
+ "i18n:compile": "lingui compile --typescript",
113
+ "i18n:build": "pnpm i18n:extract && pnpm i18n:compile"
115
114
  }
116
- }
115
+ }