Coder Social home page Coder Social logo

dev-journal's Introduction

Dev Journal (DJ)

Overview

It started with tracking my work in markdown files a few years back. I'd create a new markdown file and start typing away each day. The formatting could have been more consistent, timestamps were only sometimes there, or I would get too lazy to type it out.

After a while, I made a few Python scripts to spice things up. But I wrote those with relative paths, meaning I had to execute them in a specific directory. Also, my "source code" was in the journal directory itself.

While attempting to add a Vim script to execute the Python scripts from any terminal session anywhere, I realized I needed to create a CLI application to solve this problem.

This project solves a few problems:

  • I get work with Go, which is new to me
  • Log my work from anywhere in a terminal, including with Vim scripts
  • Work with Dev Containers

Installing

  1. go build -o dj
  2. sudo mv dj /usr/local/bin

If you use go install it will put the binary in the $GOBIN, which may make it so the autocompletion does not work properly.

dev-journal's People

Watchers

Adam Nolan 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.