2016-01-08 17:28:31 +00:00
|
|
|
# Introduction {#sec:introduction}
|
|
|
|
|
2017-08-12 21:26:02 +00:00
|
|
|
This document is the user documentation for imag, the personal
|
2018-06-11 23:43:33 +00:00
|
|
|
information management suite for the commandline.
|
2017-10-14 19:20:45 +00:00
|
|
|
|
|
|
|
**Basically: This is Hobby stuff. Expect incompleteness, false statements and
|
2018-06-11 23:43:33 +00:00
|
|
|
generally read with grain of salt.**
|
2016-07-08 15:51:18 +00:00
|
|
|
|
|
|
|
If you have any objections, suggestions for improvements, bugs, etc, please file
|
2018-06-11 23:43:33 +00:00
|
|
|
them (See [@sec:contributing]).
|
2017-10-14 19:20:45 +00:00
|
|
|
A way to reach out to the imag project maintainer(s) is described in the
|
2018-06-11 23:43:33 +00:00
|
|
|
[@sec:contributing] section.
|
|
|
|
|
2016-01-14 10:55:35 +00:00
|
|
|
|
|
|
|
## The Problem {#sec:intro:problem}
|
|
|
|
|
2018-02-05 15:31:21 +00:00
|
|
|
The problem this project tries to solve is to provide a modular commandline
|
|
|
|
application for personal information management.
|
2016-01-14 10:55:35 +00:00
|
|
|
|
2018-02-05 15:31:21 +00:00
|
|
|
It targets "power users" or "commandline users", uses plain text as a storage
|
2018-06-11 23:43:33 +00:00
|
|
|
format and tries to be as scriptable as possible.
|
2018-02-05 15:31:21 +00:00
|
|
|
imag offers the ability to link data from different "PIM aspects" (such as
|
2018-06-11 23:43:33 +00:00
|
|
|
"diary", "contacts" and "bookmark" for example).
|
2016-01-14 10:55:35 +00:00
|
|
|
|
2018-02-05 15:31:21 +00:00
|
|
|
One major goal of imag is to make the PIM data traverseable and queryable.
|
|
|
|
For example: a wiki article can be linked to an appointment which is linked to a
|
|
|
|
todo which is linked to a note which is linked to a contact.
|
2016-01-14 10:55:35 +00:00
|
|
|
|
2018-02-05 15:31:21 +00:00
|
|
|
imag wants to offer an all-in-one scriptable modular commandline personal
|
2018-06-11 23:43:33 +00:00
|
|
|
information management suite for all PIM aspects one could possibly think of.
|
2018-02-05 15:31:21 +00:00
|
|
|
Because imag uses plain text (TOML headers for structured data and plain text
|
|
|
|
which can be rendered using markdown, for example, for continuous text)
|
|
|
|
the user is always able to access their data without the imag tools at hand.
|
2017-10-14 19:20:45 +00:00
|
|
|
|
2018-06-11 23:43:33 +00:00
|
|
|
|
2016-01-14 10:55:35 +00:00
|
|
|
## The Approach {#sec:intro:approach}
|
|
|
|
|
|
|
|
The approach "imag" takes on solving this problem is to store content in a
|
2017-08-12 21:26:02 +00:00
|
|
|
"store" and persisting content in a unified way.
|
2018-02-05 15:31:21 +00:00
|
|
|
Meta-information is attached to the content which can be used to store
|
2017-08-12 21:26:02 +00:00
|
|
|
structured data.
|
|
|
|
This can be used to implement a variety of "domain modules" using the store.
|
|
|
|
While content is stored in _one_ place, imag does not duplicate content.
|
|
|
|
imag does not copy or move icalendar files, emails, vcard files, music or
|
2018-06-11 23:43:33 +00:00
|
|
|
movies to the store, but tries to remember the actual files are and stores
|
|
|
|
meta-information about them in the store.
|
2016-01-14 10:55:35 +00:00
|
|
|
|
|
|
|
Detailed explanation on this approach follows in the chapters of this work.
|
|
|
|
|
|
|
|
## Implementation {#sec:intro:implementation}
|
|
|
|
|
|
|
|
The program is written in the Rust programming language.
|
|
|
|
|
|
|
|
The program consists of libraries which can be re-used by other projects
|
2017-08-12 21:26:02 +00:00
|
|
|
to implement and adapt imag functionality. An external program may use a
|
|
|
|
library of the imag distribution to store content in the store of imag and
|
|
|
|
make it visible to imag this way.
|
2016-01-14 10:55:35 +00:00
|
|
|
|
2016-07-08 15:51:18 +00:00
|
|
|
This is a technical detail a user does not necessarily need to know, but as imag
|
2018-06-11 23:43:33 +00:00
|
|
|
is intended for power-users anyways, we would say it fits here.
|
2016-07-08 15:51:18 +00:00
|
|
|
|
2018-02-05 15:35:56 +00:00
|
|
|
## Alternative Projects {#sec:intro:alternatives}
|
|
|
|
|
|
|
|
imag is not the only project which tries to solve that particular problem. For
|
|
|
|
example there is
|
|
|
|
[org mode](https://orgmode.org)
|
|
|
|
for the [emacs](https://www.gnu.org/software/emacs/) text editor.
|
|
|
|
There is also [zim](http://zim-wiki.org/), a desktop wiki editor which is
|
|
|
|
intended to be used for a personal wiki.
|
|
|
|
|
2018-06-11 23:43:33 +00:00
|
|
|
The difference between imag and the mentioned projects is:
|
|
|
|
* emacs orgmode is (from what I know and see) for _orgabizing_ things. imag is
|
|
|
|
intended not only for organizing, but also for recording, tracking and
|
|
|
|
querying.
|
|
|
|
* zim is a wiki, which could be used for PIM but is not specialized for it.
|
|
|
|
Recording habits might be possible, but not that simple as with imag
|
|
|
|
|
|
|
|
imag is not there
|
|
|
|
yet, though. Some parts can be used, though it is far away from being feature-complete.
|
|
|
|
|
|
|
|
In addition: imag is text-editor independent and other tools than imag might be
|
|
|
|
used to access data stored in the imag store.
|
|
|
|
For example, one could "grep", "awk" and "sed" entries without much hassle and
|
|
|
|
even write bash scripts for automatically filling imag entries with data.
|
|
|
|
|
2018-02-05 15:35:56 +00:00
|
|
|
|