Comments (5)
The idea sounds awesome.
I guess I will be happy to learn Python to work on this idea.
from jrnl.
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.
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.
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.
@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)
- DeprecationWarning from parsedatetime when running tests
- Update from `4.0.1_4` to `4.0.1_5` broke something with colors HOT 3
- Crash in v4.0.1_5 (Homebrew) HOT 2
- Application failing to start in MacOS after installing 4.1 in HomeBrew HOT 9
- I can´t encrypt my journal HOT 3
- Maintainers on vacation December 2023
- Don't include ANSI codes when output is non-interactive HOT 4
- Ignore color when used in a pipeline HOT 1
- How can I set macOS TextEdit as external editor? HOT 3
- Strange behavior for the "-on" flag HOT 3
- Add 1password support for saving and retrieving jrnl passwords
- Linewrap works incorrectly for mixed CJK and English text HOT 1
- Feature: Import from org-journal
- How to update jrnl from the version 2.8.4 to the last one (4.1) HOT 2
- Bug Report HOT 1
- Feature Report Add a config option to output any new entries to the terminal after submission.
- Tests failing on develop branch starting with pytest-bdd 7.1.2 HOT 4
- -and flag with -contains HOT 1
- Tests are failing with pytest 8.1
- [Bug Report] AttributeError: '_PasswordRetriever' object has no attribute 'encode' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jrnl.