Metadata-Version: 2.4
Name: daspress
Version: 2.0.0
Summary: Complete Obsidian to Jekyll blog publishing system
Author: Shuvangkar Das
Author-email: shuvangkarcdas@gmail.com.com
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE-PRO.txt
Requires-Dist: PyYAML>=6.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# daspress Pro

Complete Obsidian to Jekyll blog publishing system.

## 🚀 Quick Start

### Install
```bash
pip install daspress
```

### Setup
```bash
daspress setup
```

### Convert your first post
```bash
daspress convert "My Blog Post.md"
```

## ✨ Features

- **Convert**: Transform Obsidian posts to Jekyll format with automatic image processing
- **Local Preview**: Start Jekyll server automatically for instant preview
- **Git Publishing**: Auto-commit and push to your repository
- **Smart Paths**: Works with Obsidian's file paths and regular filenames
- **Cross-Platform**: Works on Windows, Mac, and Linux

## 📋 Commands

```bash
daspress setup                    # Interactive configuration wizard
daspress convert "post.md"        # Convert post to Jekyll format
daspress local "post.md"          # Convert + start local Jekyll server
daspress remote "post.md"         # Convert + publish to git repository  
daspress both "post.md"           # Convert + local preview + git publish
```

## 🔧 Setup Requirements

1. **Obsidian vault** with your blog posts
2. **Jekyll blog** repository 
3. **Git** configured for your Jekyll repository (for remote publishing)
4. **Ruby/Jekyll** installed (for local server)

## 🎯 Obsidian Integration

Add this command to Obsidian Shell Commands plugin:

**Command:** 
```bash
daspress local "{{file_path:absolute}}"
```

**Name:** "Publish Blog Post"

Now you can publish directly from Obsidian with one click!

## 📁 How It Works

1. **Reads** your Obsidian markdown files
2. **Converts** `![[image.png]]` syntax to Jekyll format
3. **Copies** images from Obsidian to Jekyll assets folder
4. **Saves** processed post to Jekyll `_posts` folder
5. **Optionally** starts local server and/or publishes to git

## 🛠️ Configuration

Run `daspress setup` to configure:
- Obsidian posts folder path
- Obsidian images folder path  
- Jekyll blog root directory

Configuration is saved to `~/.daspress/config.yaml`

## 📚 Documentation

- See `docs/GETTING-STARTED.md` for detailed setup
- See `QUICKSTART.md` for developers

## 📄 License

See LICENSE-PRO.txt for terms and conditions.

## 🐛 Issues

If you encounter any issues, run with debug mode:
```bash
daspress --debug convert "post.md"
```
