Update README

This commit is contained in:
Matthias Beyer 2016-07-30 12:33:55 +02:00
parent 9a9a1b7ecd
commit e9e9950db7

View file

@ -1,7 +1,20 @@
# imag # imag
Imag is a CLI PIM suite with a nice API-ish commandline interface, so you can Imag is a CLI PIM suite you can
integrate it in your tools of choice (Editor, MUA, RSS reader, etc etc). integrate in your tools of choice (Editor, MUA, RSS reader, etc etc).
## Please contribute!
We are looking work contributors!
There is always a number of
[complexity/easy tagged issues](https://github.com/matthiasbeyer/imag/issues?q=is%3Aopen+is%3Aissue+label%3Acomplexity%2Feasy)
available in the issue tracker you can start with and we are open to questions!
Feel free to open issues for asking questions, suggesting features or other
things!
Also have a look at [the CONTRIBUTING.md file](./CONTRIBUTING.md)!
## Goal ## Goal
@ -73,24 +86,29 @@ We try to accomplish these requirements:
**This application is in _really_ early development.** **This application is in _really_ early development.**
We have implemented the very We have implemented the very core of the system, though some more utility work
core of the system: the store library. There's also some progress on utility is to be done.
libraries for linking entries, tagging and the hook system of the store is in We have the store working, a hooks API and some default hooks are in
progress as well. development.
There is also one commandline application: "imag-store" (the "store" subcommand) Basic features like tagging and linking entries is possible as well as viewing
available by now, but this is meant for developers and debugging purposes as it entries.
provides direct core-level store access. Some small things are implemented, like a note-taking module, a basic diary
module, a counter module and a bookmark module.
These modules contain basic features and are subject to change.
More modules are about to be implemented.
Though, the very core of the system is stable and nothing prevents _you_ from Though, the very core of the system is stable and nothing prevents _you_ from
contributing and implementing a module, though some convenience is not yet contributing and implementing a module.
provided (as the libraries are work-in-progress).
## Building/Running ## Building/Running
Here goes how to try imag out.
### Building ### Building
One can build all the modules simply by running `make` which defaults to building all the modules One can build all the modules simply by running `make` which defaults to
and placing them in the `out/` directory of the project root. building all the modules and placing them in the `out/` directory of the project
root.
``` ```
$> make $> make
@ -99,27 +117,26 @@ $> ls out/
imag-counter imag-link imag-notes imag-store imag-tag imag-view imag-counter imag-link imag-notes imag-store imag-tag imag-view
``` ```
Building all the modules may take some time, so alternatively one can build only a specific module Building all the modules may take some time, so alternatively one can build only
by runing `$> make $module` where `$module` is one of the `imag-*` names, such as `imag-counter`, a specific module
`imag-link`, etc. by runing `$> make $module` where `$module` is one of the `imag-*` names, such
as `imag-counter`, `imag-link`, etc.
### Running ### Running
To run imag, simply call `./bin/imag`. This script has a function to search for To run imag, simply call `./out/imag`.
modules, which utilizes an environment variable called `IMAG_IS_THE_SHIT`. If you include the `out` directory in your `$PATH`, imag is able to find the
To run imag with all components: other imag executables. Try it out by running:
```bash
$> PATH=$PATH:$(pwd)/out imag --help
``` ```
$> IMAG_IS_THE_SHIT=$(pwd) ./bin/imag
```
assuming you are currently in the imag source directory. Otherwise it is
```
$>IMAG_IS_THE_SHIT=$IMAG_SRC $IMAG_SRC/bin/imag
```
if $IMAG_SOURCE points to the imag source directory.
To test, simply add `--help` to one of the above commands. Imag should now be To test, simply add `--help` to one of the above commands:
able to find the available commands.
```bash
$> PATH=$PATH:$(pwd)/out imag counter --help
```
## Documentation ## Documentation
@ -127,6 +144,9 @@ For detailed information, please read [the documentation](./doc/) (You can
either read the Markdown files or compile it to HTML/PDF using either read the Markdown files or compile it to HTML/PDF using
[pandoc](http://pandoc.org)). [pandoc](http://pandoc.org)).
Please note that the documentation is work in progress as well and may be
outdated.
## License ## License
We chose to distribute this software under terms of GNU LGPLv2.1. We chose to distribute this software under terms of GNU LGPLv2.1.