Simple viewer for ics in mutt
Python
Pull request Compare This branch is 3 commits ahead, 32 commits behind dmedvinsky:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README.md
requirements.txt

README.md

Mutt ICS

Ever received a meeting notification in an email? Ever wanted to have a quick glance at that .ics file and know what is that meeting about, where is it going to happen and who is participating?

I did. So I made this little script.

Usage

For now this is kind of ugly, since I'm the only user of this. :-) Maybe one day I'll make something decent out of this. Please file a ticket if you want to give me a boost.

The steps are:

  1. Clone the repository

    git clone git://github.com/dmedvinsky/mutt-ics mutt-ics
    
  2. Install requirements (virtualenv recommended, though not necessary)

    cd mutt-ics
    virtualenv .env
    .env/bin/pip install -r requirements.txt
    PATH_TO_STUFF=`pwd`
    
  3. Create a launcher script somewhere in your $PATH:

    cat > ~/bin/show_ics <<EOF
    #!/bin/sh
    $PATH_TO_STUFF/.env/bin/python $PATH_TO_STUFF/src/main.py $@
    EOF
    chmod u+x ~/bin/show_ics
    
  4. Add the following line in your .mailcap file:

    text/calendar;      ~/bin/show_ics; copiousoutput
    
  5. Add the following line in your .muttrc file:

    auto_view text/calendar
    

You're done. I guess. Maybe I forgot something. Again, file a ticket if I did.

Thanks.