CLI tool for Medium
Install vellm easily with your Go environment:
go install github.com/HenrikFricke/vellm
Vellm needs an integration token to work with Medium. Run vellm setup
for more information
and to add the token. After you setup Vellm you can upload Markdown files in seconds.
- Create a Markdown file:
touch mystory.md
- Write your story, for example:
--- Title: This is a title Tags: - go - lang - development --- # This is a title Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis nec consectetur purus. Integer malesuada nunc vitae nisl porttitor, id aliquet nibh facilisis.
- Run
vellm publish -f ./mystory.md
- Check your new story on Medium and publish it :)
You can define several meta data with a Front Matter. Vellm accepts the following options:
Key | Format | Example | Default |
---|---|---|---|
Title | string | Title: This is a title |
- |
Tags | []string | Tags: - golang - development |
- |
Published | boolean | Published: true |
false |