Metadata-Version: 2.1
Name: orgassist
Version: 0.3.0
Summary: Assistant who handles your appointments, tasks and note-taking when you're away from your computer
Home-page: https://github.com/blaa/orgassist
Author: Tomasz bla Fortuna
Author-email: bla@thera.be
License: MIT
Keywords: org-mode emacs bot xmpp planner
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Internet :: XMPP
Classifier: Topic :: Office/Business :: Scheduling
Classifier: Topic :: Text Editors :: Emacs
Requires-Dist: Jinja2 (==2.10)
Requires-Dist: PyYAML (==3.12)
Requires-Dist: dnspython (==1.15.0)
Requires-Dist: schedule (==0.5.0)
Requires-Dist: sleekxmpp (==1.3.3)

What is it?
===========
"orgassist" is a bot - an assistant who handles your appointments, tasks and
note-taking when you're away from your computer. It can integrate multiple
sources of notifications and use multiple different communication interfaces -
by default XMPP.

Currently working functions include:
- Sending notifications over XMPP in advance before appointments.
- Generating and sending over XMPP an agenda for a current day.
- Requesting agenda by a command.

It's architected to be easily expandable, but by design handles:
- org-mode directory structure with deadlines, scheduled tasks and agendas.
- XMPP interface to read commands and send notifications.
- FUTURE: other bot-interfaces: irc interface, email interface, web interface,
  android push-notification interface.
- FUTURE: taking notes directly into the inbox file inside the org tree.
- FUTURE: Outlook (OWA) calendar integration to get integrated notification
  stream.


But why?
===========

* Do you love your org-mode, but still struggle to get the agenda or
  notifications on your two mobile devices?
* You have two org-mode trees - one for work, one for private planning?
* And appointments in Outlook or Google Calendar?
* And sticky notes or notepad to gather notes on the run?
* Or maybe a mobile app to gather notes (orgzly?)
* Taking notes on the run requires you to later integrate them?
* You treat your org-mode as private notes and dislike keeping them decrypted
  everywhere, but at the same time would like to use it remotely?

I had most of those problems and decided this would be an elegant way to solve
all of them without dropping org-mode or using cloud-sync solutions.


Plugins
===========
OrgAssist is split into plugins with a well-defined API.

Calendar
-----------
Code originally developed in the org plugin, but extracted to allow sharing it's
functions between all plugins. In general, it handles a list of org-like
"events" - dated (or not) tasks in various states (TODO, DONE, DELEGATED, etc.)

Can generate notifications for the incoming events and whole-day agendas to
remind you what you've planned for today.

It's considered a Core plugin as its existence is a depedency of other plugins.

Org
-----------
Reads org files and feeds events into the calendar. FUTURE: Allows you to change
state of tasks, take a note into an org file, etc.

OWA
-----------
FUTURE: Planned plugin to integrate events from a corporate OWA calendar.

Shell
-----------
FUTURE: Execute a configured command when given a command. Enable/disable
alarms, control music, etc.


Setup
===========
Tested with Python 3.5 and 3.6.

1. pip3 install orgassist
2. assist.py --generate-config
3. emacs/vim ~/.org/orgassist.yml - configure XMPP accounts, boss JID, org-mode
   directory, etc. See comments in the config file for ideas.
3. Run bot: $ assist.py --config ~/.org/orgassist.yml

Developing own plugins
==========
See `example_plugin.py` for an example and showcase of the API. You can develop
plugins using the PyPI version of orgassist by specifying config parameters
`plugins_path` and `plugins`.

Architecture
-------
Single orgassist instance can have multiple interfaces (xmpp, irc) with multiple
assistants connected to them. Each assistant handles a single "boss" -
identified by JID or irc nick/realname. Each assistant can have different
plugins enabled, with different configuration and state.

                                                 /- Calendar Plugin
    Interfaces  --> | Assistant 1 (Boss JID 1) -+
    (xmpp, irc)     | state, config              \- Org plugin
                    |
                    |                            /- Calendar plugin
                    | Assistant 2 (JID 2) ------+
                    |                            \- Org plugin, OWA Plugin
                    | Assistant 3 ---> etc.


License
=======
License: MIT License.
Author: Tomasz Fortuna, 2019.
Contact: bla@thera.be

Orgassist includes an external MIT-licensed module "orgnode" by Albin Stjerna,
Takafumi Arakaki, and Charles Cave (https://github.com/albins/orgnode.git).
Edited by myself to cleanup API and fix some problems.


