https://github.com/jacebrowning/curmit
Grabs text from a URL and commits it.
https://github.com/jacebrowning/curmit
Last synced: 3 months ago
JSON representation
Grabs text from a URL and commits it.
- Host: GitHub
- URL: https://github.com/jacebrowning/curmit
- Owner: jacebrowning
- License: mit
- Created: 2014-02-11T01:53:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-04T01:39:00.000Z (almost 10 years ago)
- Last Synced: 2025-02-12T13:24:37.673Z (5 months ago)
- Language: Python
- Homepage:
- Size: 496 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
curmit
======[](https://travis-ci.org/jacebrowning/curmit)
[](https://coveralls.io/r/jacebrowning/curmit)
[](https://scrutinizer-ci.com/g/jacebrowning/curmit/?branch=master)
[](https://pypi.python.org/pypi/curmit)
[](https://pypi.python.org/pypi/curmit)Grabs text from a URL and commits it.
Some possible use cases:
* collaborate on Markdown/LaTeX using Google Drive
* incorporate and link to online code snippets
* archive the history of a webpageRequirements
------------* Python 3.3+
* GitInstallation
------------curmit can be installed with pip:
```
$ pip3 install curmit
```or directly from the source code:
```
$ git clone https://github.com/jacebrowning/curmit.git
$ cd curmit
$ python3 setup.py install
```Setup
-----1. Create a new text file
2. Add the following somewhere in the first few lines:curmit:
with your desired URL. An example using a Google Docs can be found [here](https://github.com/jacebrowning/curmit/blob/master/docs/sample.md).
Usage
-----To update every flagged file with the current URL text, commit, and push:
```
$ curmit
```**That's it!**