Metadata-Version: 2.3
Name: export_to_obsidian
Version: 0.3.25.2
Summary: A tool to export all you need to obsidian
License: AGPL-3.0
Author: hx
Author-email: im@bgzo.cc
Requires-Python: >=3.12
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: beautifulsoup4 (>=4.13.4,<4.14.0)
Requires-Dist: click (>=8.2.1,<8.3.0)
Requires-Dist: html2text (>=2025.4.15,<2025.5.0)
Requires-Dist: markdownify (>=1.1.0,<1.2.0)
Requires-Dist: pytest (>=8.4.1,<8.5.0)
Requires-Dist: python-frontmatter (>=1.1.0,<1.2.0)
Requires-Dist: requests (>=2.32.4,<2.33.0)
Requires-Dist: urllib3 (>=2.5.0,<2.6.0)
Project-URL: Repository, https://github.com/bGZo/playground/tree/2025/07/export-to-obsidian
Description-Content-Type: text/markdown

# Export all your data into Obsidian

Your data is your asset, you should own it. This tool helps you export your data from various platforms into markdown files that can be easily imported and managed by Obsidian.


## Installation

```python
pipx install export_to_obsidian
```

## Use Case

Get your token or cookies from the target platform, then input in `.env.bak` and rename it to `.env`, source it via:

```shell
chmod +x ./export-env.sh
./export-env.sh
```

Then you coud run the command like below to export data to your local folder:


```python
# 博客园
eto cnblog --output output/cnblog
# Bangumi
eto bangumi -t ./config/bangumi_template.md -s 1 -o output/bangumi
```

## License

All code is licensed under the AGPL-3.0 license.

