Git Product home page Git Product logo

Comments (5)

aniketpant avatar aniketpant commented on May 11, 2024

The idea sounds awesome.
I guess I will be happy to learn Python to work on this idea.

from jrnl.

maebert avatar maebert commented on May 11, 2024

Hey Aniket, please feel free to get on to that; just fork the Repo and send a pull request and I'll be happy to merge it in. I think though that instead of doing it with python it might be easier to write a shell script wrapper that does a hit pull, calls jrnl passing on all parameters, and stages and commits the latest jrnl entry.

from jrnl.

aniketpant avatar aniketpant commented on May 11, 2024

Starting on the git integration. Will add the git repo name as a part of the config file.

I am modifying the idea as this -

  • During install you will asked in the configuration regarding the name of the repo you wish to push to
  • If the repo name is configured, it will do a git push for every new entry in the journal

from jrnl.

maebert avatar maebert commented on May 11, 2024

Hi Aniket, I'm sorry i took so long to comment on this. After considerable thought, I don't think that Git integration is something that should be built in. I think it's very easy to accomplish with a short shell script that wraps around the jrnl command, and our philosophy as a command line tool should be to integrate as good as possible with other tools, while remaining focused on what we do best. Git integration blows up the entire module by a number of dependencies. I'm really thankful for the work you put into this and think most of it will make it into master soon as part of the revamped export functionality.

In stead of built-in git integration, I would favour a "recipe" section in the docs that shows how to integration jrnl in different workflows, i.e. short scripts for automatic commit-and-push after writing an entry. Would you be interested in this?

from jrnl.

aniketpant avatar aniketpant commented on May 11, 2024

@maebert I think I can help you with creating the recipes. It will be a great addition. Let's start working on it once the export functionality is ready.

from jrnl.

Related Issues (20)

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.