Article publishing platform that automatically distributes your articles to various media channels
TypeScript
3,203
249 commits
updated Jan 29, 2026
ArtiPub AI is a revolutionary AI-powered article publishing platform that leverages advanced language models to automatically optimize and distribute your content across multiple platforms with maximum engagement potential.
ArtiPub has been completely rebuilt from the ground up with modern AI technology:
The new ArtiPub AI replaces the previous browser automation approach with intelligent AI agents:
ArtiPub now features an innovative multi-stage automation workflow system with AI-powered spec discovery:
# Clone the repository
git clone https://github.com/crawlab-team/artipub
cd artipub
# Install dependencies
npm install
# Start the development server
npm run dev
The application will be available at http://localhost:3000.
npm run build
npm start
The platform supports multiple AI providers. Configure in your environment:
# OpenAI
OPENAI_API_KEY=your_key_here
# Anthropic
ANTHROPIC_API_KEY=your_key_here
ArtiPub uses a specification-driven approach for automation workflows. Workflow specifications are stored in docs/automation-workflow/.
The easiest way to add a new platform is to let AI discover the workflow automatically:
import { workflowManagement } from '@/lib/workflow-management';
// Start AI-powered discovery with vision AI and multi-page support
const sessionId = await workflowManagement.discoverWorkflow(
'https://newplatform.com/editor',
{
supervisionMode: 'optional', // none | optional | required
useVisionAI: true, // Enable vision-based detection
multiPage: true, // Follow multi-page workflows
maxPages: 5, // Maximum pages to discover
testArticle: {
title: 'Test Article',
content: 'Test content for validation'
}
}
);
// Monitor discovery progress
const session = workflowManagement.getDiscoverySession(sessionId);
console.log(`Progress: ${session.progress}% - ${session.currentStep}`);
// When complete, apply the discovered workflow
if (session.status === 'completed') {
const workflow = await workflowManagement.applyDiscoveredWorkflow(sessionId);
console.log(`Workflow ready: ${workflow.spec.platform.name}`);
console.log(`Pages: ${session.discoveredPages?.length}`);
}
How AI Discovery Works:
Supervision Modes:
none: Fully automatic, no human interventionoptional: AI discovers, human reviews before activationrequired: Human must approve each discovery stepCreate Workflow Specification (Markdown):
### Platform Information
- **Platform ID**: myplatform
- **Base URL**: https://platform.com
- **Editor URL**: https://platform.com/editor
### Workflow Steps
#### Step 1: Navigate to Editor
- Action: navigate
- URL: https://platform.com/editor
#### Step 2: Input Title
- Action: fill
- Selector: input[name="title"]
- Value: {{article.title}}
Load and Generate Code:
import { workflowManagement } from '@/lib/workflow-management';
// Load workflow from markdown
const workflow = await workflowManagement.loadWorkflowFromMarkdown(
'myplatform',
markdownContent
);
// The system automatically generates TypeScript code
console.log(workflow.generatedCode.code);
Execute Workflow:
const result = await workflowManagement.executeWorkflow('myplatform', {
article: {
id: '123',
title: 'My Article',
content: 'Article content...'
},
platform: 'myplatform'
});
The AI Workflow Guardian automatically:
// Get all versions for a platform
const versions = workflowManagement.getAllVersions('zhihu');
// Rollback to a previous version
workflowManagement.rollbackToVersion('zhihu', '1.0.0');
// Export workflow as markdown
const markdown = workflowManagement.exportWorkflowAsMarkdown('zhihu');
Configure platform-specific settings in src/lib/types.ts:
export const PLATFORMS: Platform[] = [
{
id: 'zhihu',
name: 'zhihu',
displayName: '知乎',
// ... configuration
}
// ... more platforms
];
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the BSD-3-Clause License - see the LICENSE file for details.
ArtiPub AI - Revolutionizing content publishing with artificial intelligence
Overall
Maintained
Code review
npm
Latest release
Releases this year
574 followers · starred Mar 2021
81 followers · starred Aug 2022
611 followers · starred Oct 2019
226 followers · starred Sep 2019
Article publishing platform that automatically distributes your articles to various media channels
TypeScript
3,203
249 commits
updated Jan 29, 2026
ArtiPub AI is a revolutionary AI-powered article publishing platform that leverages advanced language models to automatically optimize and distribute your content across multiple platforms with maximum engagement potential.
ArtiPub has been completely rebuilt from the ground up with modern AI technology:
The new ArtiPub AI replaces the previous browser automation approach with intelligent AI agents:
ArtiPub now features an innovative multi-stage automation workflow system with AI-powered spec discovery:
# Clone the repository
git clone https://github.com/crawlab-team/artipub
cd artipub
# Install dependencies
npm install
# Start the development server
npm run dev
The application will be available at http://localhost:3000.
npm run build
npm start
The platform supports multiple AI providers. Configure in your environment:
# OpenAI
OPENAI_API_KEY=your_key_here
# Anthropic
ANTHROPIC_API_KEY=your_key_here
ArtiPub uses a specification-driven approach for automation workflows. Workflow specifications are stored in docs/automation-workflow/.
The easiest way to add a new platform is to let AI discover the workflow automatically:
import { workflowManagement } from '@/lib/workflow-management';
// Start AI-powered discovery with vision AI and multi-page support
const sessionId = await workflowManagement.discoverWorkflow(
'https://newplatform.com/editor',
{
supervisionMode: 'optional', // none | optional | required
useVisionAI: true, // Enable vision-based detection
multiPage: true, // Follow multi-page workflows
maxPages: 5, // Maximum pages to discover
testArticle: {
title: 'Test Article',
content: 'Test content for validation'
}
}
);
// Monitor discovery progress
const session = workflowManagement.getDiscoverySession(sessionId);
console.log(`Progress: ${session.progress}% - ${session.currentStep}`);
// When complete, apply the discovered workflow
if (session.status === 'completed') {
const workflow = await workflowManagement.applyDiscoveredWorkflow(sessionId);
console.log(`Workflow ready: ${workflow.spec.platform.name}`);
console.log(`Pages: ${session.discoveredPages?.length}`);
}
How AI Discovery Works:
Supervision Modes:
none: Fully automatic, no human interventionoptional: AI discovers, human reviews before activationrequired: Human must approve each discovery stepCreate Workflow Specification (Markdown):
### Platform Information
- **Platform ID**: myplatform
- **Base URL**: https://platform.com
- **Editor URL**: https://platform.com/editor
### Workflow Steps
#### Step 1: Navigate to Editor
- Action: navigate
- URL: https://platform.com/editor
#### Step 2: Input Title
- Action: fill
- Selector: input[name="title"]
- Value: {{article.title}}
Load and Generate Code:
import { workflowManagement } from '@/lib/workflow-management';
// Load workflow from markdown
const workflow = await workflowManagement.loadWorkflowFromMarkdown(
'myplatform',
markdownContent
);
// The system automatically generates TypeScript code
console.log(workflow.generatedCode.code);
Execute Workflow:
const result = await workflowManagement.executeWorkflow('myplatform', {
article: {
id: '123',
title: 'My Article',
content: 'Article content...'
},
platform: 'myplatform'
});
The AI Workflow Guardian automatically:
// Get all versions for a platform
const versions = workflowManagement.getAllVersions('zhihu');
// Rollback to a previous version
workflowManagement.rollbackToVersion('zhihu', '1.0.0');
// Export workflow as markdown
const markdown = workflowManagement.exportWorkflowAsMarkdown('zhihu');
Configure platform-specific settings in src/lib/types.ts:
export const PLATFORMS: Platform[] = [
{
id: 'zhihu',
name: 'zhihu',
displayName: '知乎',
// ... configuration
}
// ... more platforms
];
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the BSD-3-Clause License - see the LICENSE file for details.
ArtiPub AI - Revolutionizing content publishing with artificial intelligence
Overall
Maintained
Code review
npm
Latest release
Releases this year
574 followers · starred Mar 2021
81 followers · starred Aug 2022
611 followers · starred Oct 2019
226 followers · starred Sep 2019