Skip to main content

Blogger cli is a CLI tool to convert ipynb, md, txt file to responsive html files.

Project description

Blogger-cli

A custom cli tool to process jupyter notebooks, markdown files and html files. Write your blog in markdown or jupyter notebooks and then transform into blog post with mathjax, code support, google analytics, navigation, disqus support.

See a sample blog made by blogger-cli: Here

Why?

It is easy to get your hands on, works flawlessly and won't get bulky and slow overtime. Blogger-cli has simple conversion system that is fast as well extremely customizable.

Features

  • Robust conversion of ipynb notebooks with great support for mobile devices as well.
  • Built in support for disqus, google analytics, navigation bar, mathjax and code highlighting.
  • Blog management: updating index, parsing out images, managing topics and metadata.
  • Write and post blogs from android or any micro device. All that is required is command line with python and pip.
  • Built in design, blog_templates for rapidly setting up your blog from scratch.
  • Fully customizable with support for custom themes and templates
  • Also support conversion of other file formats like markdown. You can also implement your own.

💻 Installation

Recommended Method

$ curl -sSL https://hemanta212.github.io/blogger-cli/get_blogger.py | python

Since blogger has alot of dependecies (nbconvert, jupyter), this custom installer will install in a virtualenv and add it to your path for global access!.

Using pip

pip install blogger-cli

If you mainly use jupyter notebook, then you already have all dependecies although it is recommende to use virutalenv.

🚀 Getting Started

Make a website repository and clone it to your computer. Now register your blogname with blogger $ blogger addblog <blogname> and setup necessary configs. Now, If you have new site or empty site. You can get blogger default design and boiler plate.

$ blogger export blog_layout -b <blogname>

Now, all assets will be moved to the blog_dir you specified in the blog config during setup.

$ blogger serve <blogname>

Open the url http://localhost:8000/ in your browser to view your blog!!

📖 Documentation

View docs in: website

Author

👤 Hemanta Sharma

Special Thanks

👤 Nipun Batra : Inspiration for core conversion mechanism and design resources.

Show your support

Please ⭐️ this repository if this project helped you!

📝 License

Copyright © 2019 Hemanta Sharma.
This project is MIT licensed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blogger-cli-1.0.2.tar.gz (80.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blogger_cli-1.0.2-py3-none-any.whl (346.9 kB view details)

Uploaded Python 3

File details

Details for the file blogger-cli-1.0.2.tar.gz.

File metadata

  • Download URL: blogger-cli-1.0.2.tar.gz
  • Upload date:
  • Size: 80.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0a2 CPython/3.5.3 Linux/4.4.0-18362-Microsoft

File hashes

Hashes for blogger-cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 04e31b9394acf1e3f3c900d3e65c43ef6526a286e159795f043f1467ab76358d
MD5 ab8321f03ae7c598e09bad73532a64d0
BLAKE2b-256 a87c06ac8490c10a0071199980aa00dd859e5d7b16d055af15f1910807daa256

See more details on using hashes here.

File details

Details for the file blogger_cli-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: blogger_cli-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 346.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0a2 CPython/3.5.3 Linux/4.4.0-18362-Microsoft

File hashes

Hashes for blogger_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 91c9ed7cfb77ce562a231ffc9930db1fb72ad93eec38e940c537a5909a11fb43
MD5 d48d8c6fd6626f6f4580fe1867df090c
BLAKE2b-256 893c7637ee3d1a7dee320fd862c61174777b8679cc143f7b886a95364a01fd09

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page