Easy image controller for obsidian. Change internal file links to externa
Project description
obs3dian
Easy image controller for obsidian. Change internal file links to external S3 links. Obs3dian converts local image file path to external url by uploading file in S3.
Installation
$ pip install obs3dian
Requirements
- python > 3.10
- AWS accounts with permissions to
- create bucket
- put image
- set bucket public
Commands
$ obs3dian config
Config file is not founded... Input your configuration
AWS Profile Name [your aws profile]:
S3 bucket Name [your bucket name]:
Output Path [your ouput path]:
Image Folder Path [your image path]:
$ obs3dian apply
Connected to AWS S3
Bucket obs3dian is created
Create Output Folder in ./ouput
$ obs3dian run [your mark down path (file or directory)]
Processing [############################--------] 78%
Finished [README.md]
Processing [#############################-------] 82%
Finished [CONTRIBUTING.md]
Processing [###############################-----] 86%
Finished [LINKS.md]
Processing [################################----] 91%
Finished [SUPPORTED_PLATFORMS.md]
Processing [##################################--] 95%
Finished [ISSUE_TEMPLATE.md]
Processing [####################################] 100%
Total converts: 23 obs3dian is successfully finished
You can get more info by --help option
$ obs3dian --help
Info
- Obs3dian converts all *.md files contain input path.
- If given path is dir then dir/.md, dir/subdir/.md is all converted.
- Created Bucket is public read.
- run command automatically executes apply before run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
obs3dian-0.2.4.tar.gz
(7.8 kB
view hashes)