Giter Site home page Giter Site logo

blog-automation's Introduction

#:construction: Automatic blogging :construction:

###Cron jobs, shell scripts, and python

I built this thing to ask me 3 questions every day:

  1. How many hours did I work, how focused was I, how effective was I, and how many lines of code did I write?

  2. Write a blog post based on whatever I have been doing. Probably short and opinionated but hopefully with useful details.

  3. Record my desktop and show the state of whatever I'm working on. I just like webms; to be honest, I don't know about this.

This data is labelled and sent to my server when the scripts finish getting all of the above data.

After all of that is done, a cron job on the server (also in this repo) makes this data into nice pretty blog posts. That's gonna be a lot of python, probably.

###HTML sucks to write

I am pretty fucking tired of writing HTML. I never want to write any HTML outside of JSX ever again. That is the motivation for this.

###Templating language for something this small?

No thanks. I'm gonna hand-write a bunch of python that can parse my data and produce HTML that nginx can point to. That way I don't have excess and then the entire process of data entry to polished blog output is 100% hand made, which is nice.

blog-automation's People

Contributors

louisritchie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.