seshat-scribe 0.5.1 → 0.7.0

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,210 +1,209 @@
1
- # Seshat 𓇋𓏏
1
+ # Seshat
2
2
 
3
- **The Autonomous Scribe for Static Blogs**
3
+ AI-powered automatic content generation for blogs and headless CMS platforms. Seshat analyzes your existing content, generates new blog posts using Google Gemini, and publishes. Automatic generation and publication via Github Actions run on a schedule. Currently support local MDX files and Sanity CMS.
4
4
 
5
- Seshat is a strictly typed Node.js CLI tool that autonomously reads your local markdown blog, identifies content gaps using Google Gemini, generates non-duplicate MDX articles with images, and can be automated via GitHub Actions.
5
+ ## Features
6
6
 
7
- ## Features
7
+ - **AI-Powered Planning**: Analyzes existing content to generate unique, non-duplicate topics
8
+ - **BYOK** - Bring Your Own Key, it will use your Gemini key to generate posts
9
+ - **Flexible Output**: Commit local MDX files or publish to Sanity CMS automatically
10
+ - **Smart Generation**: Creates complete articles with frontmatter and hero images
11
+ - **Framework Support**: Optional presets for Remix, Next.js, and Astro (or custom configuration)
12
+ - **Flexible Configuration**: Customizable frontmatter, file naming, and content generation options
13
+ - **GitHub Actions Integration**: Automate content creation on a schedule
14
+ - **Type-Safe**: Built with TypeScript and Zod for runtime validation
8
15
 
9
- - 🤖 **AI-Powered Content Planning**: Uses Google Gemini to analyze your existing blog and suggest new, non-duplicate topics
10
- - ✍️ **Automated Writing**: Generates complete, high-quality MDX blog posts with proper frontmatter
11
- - 🎨 **Image Generation**: Creates hero images for your posts (with placeholder support)
12
- - 🔒 **Type-Safe**: Built with TypeScript and Zod for strict validation
13
- - 🎯 **Framework Agnostic**: Supports Remix, Next.js, and Astro
14
- - 🤝 **GitHub Actions Ready**: Automate content creation with scheduled workflows
15
- - 🎨 **Beautiful CLI**: Gold and cyan themed output with progress indicators
16
-
17
- ## 📦 Installation
16
+ ## Installation
18
17
 
19
18
  ```bash
20
19
  npm install -g seshat-scribe
21
20
  ```
22
21
 
23
- Or use directly with npx:
22
+ Or use directly:
24
23
 
25
24
  ```bash
26
25
  npx seshat-scribe init
27
26
  ```
28
27
 
29
- ## 🚀 Quick Start
28
+ ## Quick Start
30
29
 
31
- ### 1. Initialize Configuration
30
+ ### 1. Initialize
32
31
 
33
32
  ```bash
34
33
  cd your-blog-project
35
34
  seshat init
36
35
  ```
37
36
 
38
- **New!** Seshat now features an **interactive setup wizard** that guides you through configuration:
39
- - **Quick Setup**: Get started in seconds with recommended defaults
40
- - **Custom Setup**: Full control over every option
41
-
42
- See [SETUP_WIZARD.md](./SETUP_WIZARD.md) for details.
37
+ The interactive wizard will guide you through setup:
38
+ - Choose between quick setup (recommended defaults) or custom configuration
39
+ - Select output mode: local files or Sanity CMS
40
+ - Select framework preset (Remix, Next.js, Astro) or custom configuration
41
+ - Auto-detect existing blog structure if available
43
42
 
44
- ### 2. Configure Your Blog
43
+ ### 2. Configure API Keys
45
44
 
46
- Edit `seshat.config.json`:
47
-
48
- ```json
49
- {
50
- "contentDir": "app/routes/blog",
51
- "assetsDir": "public/images/generated",
52
- "publicAssetPath": "/images/generated",
53
- "topic": "Software Engineering and Technology",
54
- "tone": "Professional yet witty",
55
- "framework": "remix"
56
- }
57
- ```
58
-
59
- ### 3. Set Up Your API Key
60
-
61
- Get a Google Gemini API key from [Google AI Studio](https://aistudio.google.com/app/apikey) and add it to your environment:
45
+ Get a [Google Gemini API key](https://aistudio.google.com/app/apikey) and add to your environment:
62
46
 
63
47
  ```bash
64
48
  export GEMINI_API_KEY="your_api_key_here"
65
49
  ```
66
50
 
67
- Or create a `.env` file:
51
+ For Sanity CMS, also set:
68
52
 
69
- ```env
70
- GEMINI_API_KEY=your_api_key_here
53
+ ```bash
54
+ export SANITY_WRITE_TOKEN="your_sanity_token_here"
71
55
  ```
72
56
 
73
- ### 4. Generate Your First Post
57
+ ### 3. Generate Content
74
58
 
75
59
  ```bash
76
60
  seshat write
77
61
  ```
78
62
 
79
- Use `--dry-run` to preview without saving:
63
+ Preview without saving:
80
64
 
81
65
  ```bash
82
66
  seshat write --dry-run
83
67
  ```
84
68
 
85
- ## 🔧 Configuration Options
69
+ ## Configuration
86
70
 
87
- Seshat is highly configurable to match your blog's structure and needs.
71
+ Seshat uses `seshat.config.json` for configuration. The wizard creates this automatically, but you can also edit it manually.
88
72
 
89
- ### Quick Configuration
73
+ ### Core Settings
90
74
 
91
- | Option | Type | Description |
92
- |--------|------|-------------|
93
- | `contentDir` | string | Directory containing your blog MDX files |
94
- | `assetsDir` | string | Directory for generated images |
95
- | `publicAssetPath` | string | Public URL path for images in frontmatter |
96
- | `topic` | string | Global topic constraint for content generation |
97
- | `tone` | string | Writing tone (e.g., "Professional yet witty") |
98
- | `framework` | "remix" \| "next" \| "astro" | Blog framework preset (optional) |
99
-
100
- ### Advanced Configuration
75
+ ```json
76
+ {
77
+ "topic": "Software Engineering and Technology",
78
+ "tone": "Professional yet approachable",
79
+ "framework": "remix",
80
+ "outputMode": "local"
81
+ }
82
+ ```
101
83
 
102
- Seshat supports extensive customization:
84
+ - `topic`: Global topic constraint for content generation
85
+ - `tone`: Writing style and voice
86
+ - `framework`: Optional preset - one of `remix`, `next`, `astro`, or `custom` for manual configuration. Framework presets configure frontmatter fields automatically, but are not required
87
+ - `outputMode`: `local` or `sanity`
103
88
 
104
- - **File Structure**: Custom file extensions, naming templates, nested directories
105
- - **Frontmatter**: Custom field names, date formats, additional metadata
106
- - **Content Generation**: Word count targets, code examples, SEO optimization, custom instructions
89
+ ### Local File Output
107
90
 
108
- **📖 See [CONFIG.md](./CONFIG.md) for complete documentation and examples**
91
+ Required when `outputMode` is `local`:
109
92
 
110
- ## 🤖 GitHub Actions Automation
93
+ ```json
94
+ {
95
+ "contentDir": "app/routes/blog",
96
+ "assetsDir": "public/images/generated",
97
+ "publicAssetPath": "/images/generated"
98
+ }
99
+ ```
111
100
 
112
- Automate Seshat to write blog posts on a schedule:
101
+ ### Sanity CMS Output
113
102
 
114
- ### 1. Copy the Workflow Template
103
+ Required when `outputMode` is `sanity`:
115
104
 
116
- ```bash
117
- mkdir -p .github/workflows
118
- cp node_modules/seshat-scribe/templates/workflow.yml .github/workflows/seshat.yml
105
+ ```json
106
+ {
107
+ "sanity": {
108
+ "projectId": "your-project-id",
109
+ "dataset": "production",
110
+ "apiVersion": "2024-01-01",
111
+ "documentType": "post"
112
+ }
113
+ }
119
114
  ```
120
115
 
121
- ### 2. Add Your API Keys to GitHub Secrets
116
+ ### Advanced Options
122
117
 
123
- 1. Go to your repository settings
124
- 2. Navigate to Secrets and Variables → Actions
125
- 3. Add these secrets:
126
- - `GEMINI_API_KEY`: Your Google Gemini API key
127
- - `SANITY_WRITE_TOKEN`: Your Sanity write token (if using Sanity CMS)
118
+ **File Structure**
119
+ - `fileExtension`: `mdx` or `md`
120
+ - `imageFormat`: `png`, `jpg`, or `svg`
121
+ - `fileNameTemplate`: e.g., `{{slug}}` or `{{date}}-{{slug}}`
122
+ - `nestedDirectories`: Use date-based nested directories
128
123
 
129
- ### 3. Customize the Schedule
124
+ **Frontmatter Customization**
125
+ - `frontmatter.dateField`: Field name for date (e.g., `date`, `pubDate`)
126
+ - `frontmatter.dateFormat`: `iso`, `date-only`, or custom format
127
+ - `frontmatter.imageField`: Field name for image
128
+ - `frontmatter.additionalFields`: Custom metadata as key-value pairs
130
129
 
131
- Edit `.github/workflows/seshat.yml`:
130
+ **Content Generation**
131
+ - `generation.targetWordCount`: Target word count (optional)
132
+ - `generation.includeCodeExamples`: Emphasize code examples
133
+ - `generation.seoOptimized`: Generate SEO-optimized content
134
+ - `generation.customInstructions`: Additional instructions for AI
132
135
 
133
- ```yaml
134
- on:
135
- schedule:
136
- - cron: '0 9 * * 1' # Every Monday at 9 AM
137
- ```
138
136
 
139
- ## 🎨 CLI Commands
137
+ ## GitHub Actions Automation
140
138
 
141
- ### `seshat init`
139
+ Automate content generation on a schedule:
142
140
 
143
- Initialize Seshat configuration in the current directory.
141
+ ### Setup
144
142
 
145
143
  ```bash
146
- seshat init
144
+ seshat setup-workflow
147
145
  ```
148
146
 
149
- ### `seshat write`
147
+ This creates `.github/workflows/seshat.yml` based on your configuration.
150
148
 
151
- Generate a new blog post with AI.
149
+ ### Configure Secrets
152
150
 
153
- ```bash
154
- seshat write [options]
155
- ```
151
+ Add these to your repository secrets (Settings → Secrets and Variables → Actions):
156
152
 
157
- **Options:**
158
- - `--dry-run`: Preview the content without saving files
153
+ - `GEMINI_API_KEY`: Your Google Gemini API key
154
+ - `SANITY_WRITE_TOKEN`: Your Sanity write token (if using Sanity CMS)
159
155
 
160
- ## 🏗️ Tech Stack
156
+ ### Customize Schedule
161
157
 
162
- - **Runtime**: Node.js v20+
163
- - **Language**: TypeScript
164
- - **AI Engine**: @google/generative-ai (Gemini 1.5 Pro)
165
- - **CLI Framework**: commander + chalk
166
- - **File Parsing**: gray-matter + zod
167
- - **Progress UI**: ora
158
+ This will run the Github action workflow to generate and publish posts automatically according to the defined schedule.
168
159
 
169
- ## 📝 How It Works
160
+ Edit the `schedule` field in `seshat.config.json`:
170
161
 
171
- 1. **Analysis**: Seshat scans your existing blog posts to understand what you've already written
172
- 2. **Planning**: Uses Gemini to propose a new, non-duplicate topic
173
- 3. **Writing**: Generates a complete MDX article with proper structure and frontmatter
174
- 4. **Illustration**: Creates a hero image for the post
175
- 5. **Assembly**: Saves the MDX file and image to your project
162
+ ```json
163
+ {
164
+ "schedule": "0 9 * * 1"
165
+ }
166
+ ```
167
+
168
+ Then run `seshat setup-workflow` again to update the workflow file.
169
+
170
+ ## CLI Commands
176
171
 
177
- ## 🎭 The Seshat Vibe
172
+ ### `seshat init`
173
+
174
+ Initialize configuration with interactive wizard:
178
175
 
179
- Seshat is named after the ancient Egyptian goddess of writing, wisdom, and knowledge. The CLI embraces this theme with:
176
+ ```bash
177
+ seshat init
178
+ ```
180
179
 
181
- - Gold (#FFD700) and Cyan (#00FFFF) color scheme
182
- - 𓇋𓏏 Egyptian hieroglyphic symbols
183
- - Sacred completion message: "The scroll is written. The archives are updated."
180
+ ### `seshat write`
184
181
 
185
- ## 🛠️ Development
182
+ Generate a new blog post:
186
183
 
187
184
  ```bash
188
- # Clone the repository
189
- git clone https://github.com/yourusername/seshat.git
190
- cd seshat
185
+ seshat write
186
+ seshat write --dry-run # Preview without saving
187
+ ```
191
188
 
192
- # Install dependencies
193
- npm install
189
+ ### `seshat setup-workflow`
194
190
 
195
- # Build
196
- npm run build
191
+ Create or update GitHub Actions workflow:
197
192
 
198
- # Link for local development
199
- npm link
193
+ ```bash
194
+ seshat setup-workflow
200
195
  ```
201
196
 
202
- ## 🙏 Acknowledgments
197
+ ## How It Works
203
198
 
204
- - Inspired by ancient Egyptian wisdom
205
- - Powered by Google Gemini
206
- - Built for modern static site generators
199
+ 1. **Analysis**: Scans existing content (local MDX files or Sanity CMS) to understand what you've written
200
+ 2. **Planning**: Uses Google Gemini to propose a new, non-duplicate topic
201
+ 3. **Writing**: Generates complete article with frontmatter (or Portable Text for Sanity)
202
+ 4. **Illustration**: Creates a hero image using Gemini's image generation
203
+ 5. **Publishing**: Saves to local files, uploads to Sanity CMS, or both
207
204
 
208
- ---
205
+ ## Requirements
209
206
 
210
- **✦ Seshat 𓇋𓏏** - *The scroll is written. The archives are updated.*
207
+ - Node.js v20+
208
+ - Google Gemini API key ([Get one here](https://aistudio.google.com/app/apikey))
209
+ - Sanity write token (if using Sanity CMS)
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAsB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiM3E"}
1
+ {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAsB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuM3E"}
@@ -73,10 +73,10 @@ export async function generate(options = {}) {
73
73
  let mdxContent;
74
74
  let portableTextBody;
75
75
  try {
76
- if (outputMode === 'local' || outputMode === 'both') {
76
+ if (outputMode === 'local') {
77
77
  mdxContent = await writeBlogPost(config, plan, postDate);
78
78
  }
79
- if (outputMode === 'sanity' || outputMode === 'both') {
79
+ if (outputMode === 'sanity') {
80
80
  portableTextBody = await writePortableTextContent(config, plan);
81
81
  }
82
82
  writeSpinner.succeed('Content written');
@@ -124,7 +124,7 @@ export async function generate(options = {}) {
124
124
  try {
125
125
  const imageExtension = config.imageFormat === 'jpg' ? 'jpg' : (config.imageFormat === 'svg' ? 'svg' : 'png');
126
126
  // Upload to Sanity if configured
127
- if ((outputMode === 'sanity' || outputMode === 'both') && portableTextBody) {
127
+ if (outputMode === 'sanity' && portableTextBody) {
128
128
  if (options.dryRun) {
129
129
  saveSpinner.info('Dry run: skipping Sanity upload');
130
130
  }
@@ -144,12 +144,15 @@ export async function generate(options = {}) {
144
144
  }
145
145
  }
146
146
  // Save to local files if configured
147
- if ((outputMode === 'local' || outputMode === 'both') && mdxContent) {
147
+ if (outputMode === 'local' && mdxContent) {
148
148
  // Build file name from template
149
149
  const fileExtension = config.fileExtension || 'mdx';
150
150
  const fileNameTemplate = config.fileNameTemplate || '{{slug}}';
151
151
  const fileName = buildFileName(fileNameTemplate, plan.slug, postDate, fileExtension);
152
152
  // Replace the placeholder image path with the actual path
153
+ if (!config.publicAssetPath) {
154
+ throw new Error('publicAssetPath is required for local output mode');
155
+ }
153
156
  const publicImagePath = `${config.publicAssetPath}/${plan.slug}.${imageExtension}`;
154
157
  mdxContent = mdxContent.replace(/PLACEHOLDER_IMAGE/g, publicImagePath);
155
158
  if (options.dryRun) {
@@ -161,6 +164,9 @@ export async function generate(options = {}) {
161
164
  }
162
165
  else {
163
166
  // Determine content directory (with optional nested structure)
167
+ if (!config.contentDir) {
168
+ throw new Error('contentDir is required for local output mode');
169
+ }
164
170
  let contentPath = path.resolve(process.cwd(), config.contentDir);
165
171
  if (config.nestedDirectories) {
166
172
  contentPath = buildNestedPath(postDate, contentPath);
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAE,cAAc,EAA0B,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAMvE;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,UAA2B,EAAE;IAC1D,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,oBAAoB,CAAC,CAAC;IAElE,qBAAqB;IACrB,IAAI,MAAoB,CAAC;IACzB,IAAI,CAAC;QACH,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,MAAM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CAAC;QAC5D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,gBAAgB;IAChB,MAAM,UAAU,GAAG,kBAAkB,EAAE,CAAC;IACxC,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAChB,KAAK,MAAM,IAAI,IAAI,UAAU,EAAE,CAAC;YAC9B,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,CAAC;IACH,CAAC;IAED,WAAW;IACX,aAAa,EAAE,CAAC;AAClB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAMA,UAAU,WAAW;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,wBAAsB,IAAI,CAAC,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAkXnE"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAOA,UAAU,WAAW;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,wBAAsB,IAAI,CAAC,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CA+dnE"}