Note taking with version control
Project description
Epistle
epistle /ɪˈpɪs(ə)l/ noun formal, humourous - A letter.
Take ad hoc notes using Vim. Save them in a remote Git repository. This supports sharing notes across devices.
Can be configured to use a private (or public) gist.
Requirements
- Python 3.6
- Vim
- Git
Both Vim and Git must be in your PATH
.
Installation
Via PyPI
$ pip install epistle
Or, clone this repo and run pip install directly:
$ git clone git@github.com:msharp/epistle.git
$ pip install epistle/
Usage
Epistle is a command-line tool.
To create a new note:
$ epistle new my_note
This will open Vim, where you can compose the note. After you exit Vim, the note will be saved, added to the repo and pushed to the remote.
The following commands are available:
- list List available Epistles
- view View the contents of an Epistle
- new Create a new Epistle
- edit Edit an Epistle
- rename Rename an Epistle
- delete Delete an Epistle
- git Run
push
orpull
to the remote Git repository
Run epistle --help
to see a list of available commands.
When you first run the epsitle
command, it will discover your Vim and ask for the clone URL of the remote repository you want to use.
It will then clone this repository and store the URL in its config.
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
File details
Details for the file epistle-0.2.5.tar.gz
.
File metadata
- Download URL: epistle-0.2.5.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3645a7c9407224d81eb567980dc8a483f905f5a4fd0053a07025e9102a313e5 |
|
MD5 | 8ea0b0c8dc4b2feaf438ba74668c5e38 |
|
BLAKE2b-256 | 597b8fe13342aa304a207c014c424c7c92036b375ccf2e1f175e115243ba67c1 |