unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch webmails
@ 2013-02-14 20:49 Ruben Pollan
  2013-02-15  1:14 ` Nicolás Reynolds
  0 siblings, 1 reply; 9+ messages in thread
From: Ruben Pollan @ 2013-02-14 20:49 UTC (permalink / raw)
  To: Notmuch List

As a way to learn javascript I'm experimenting with the idea of a notmuch based 
webmail. You can see the dummy demo I did at:
https://gitorious.org/notwebmail
It's far from a proper webmail, you can only search and see your email but not 
write or modify tags.

Yesterday on the irc Beamer told me someone was also working on a webmail. Is 
someone in the list hacking on that?

Cheers,

-- 
Rubén Pollán  | http://meskio.net/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Nos vamos a Croatan.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: notmuch webmails
  2013-02-14 20:49 notmuch webmails Ruben Pollan
@ 2013-02-15  1:14 ` Nicolás Reynolds
  2013-02-15  3:07   ` David Bremner
  2013-02-16 18:07   ` John Lenz
  0 siblings, 2 replies; 9+ messages in thread
From: Nicolás Reynolds @ 2013-02-15  1:14 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

Ruben Pollan <meskio@sindominio.net> writes:

> As a way to learn javascript I'm experimenting with the idea of a
> notmuch based webmail. You can see the dummy demo I did at:
> https://gitorious.org/notwebmail It's far from a proper webmail, you
> can only search and see your email but not write or modify tags.
>
> Yesterday on the irc Beamer told me someone was also working on a
> webmail. Is someone in the list hacking on that?

hey, i started something on django a while ago and got it to your
current status but i lost my interest in python :P

https://github.com/fauno/notmuchwebmail

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: notmuch webmails
  2013-02-15  1:14 ` Nicolás Reynolds
@ 2013-02-15  3:07   ` David Bremner
  2013-02-16 18:07   ` John Lenz
  1 sibling, 0 replies; 9+ messages in thread
From: David Bremner @ 2013-02-15  3:07 UTC (permalink / raw)
  To: notmuch, Ruben Pollan

Nicolás Reynolds <fauno@kiwwwi.com.ar> writes:

> Ruben Pollan <meskio@sindominio.net> writes:
>
>> As a way to learn javascript I'm experimenting with the idea of a
>> notmuch based webmail. You can see the dummy demo I did at:
>> https://gitorious.org/notwebmail It's far from a proper webmail, you
>> can only search and see your email but not write or modify tags.
>>
>> Yesterday on the irc Beamer told me someone was also working on a
>> webmail. Is someone in the list hacking on that?
>
> hey, i started something on django a while ago and got it to your
> current status but i lost my interest in python :P
>
> https://github.com/fauno/notmuchwebmail

Another, seamingly dormant, project was pointed out to me by "atrus" on
IRC;

        https://github.com/dme/noneatall

It seems to be a python wrapper around the notmuch CLI

d

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: notmuch webmails
  2013-02-15  1:14 ` Nicolás Reynolds
  2013-02-15  3:07   ` David Bremner
@ 2013-02-16 18:07   ` John Lenz
  2013-02-16 19:59     ` Nicolas Pouillard
  1 sibling, 1 reply; 9+ messages in thread
From: John Lenz @ 2013-02-16 18:07 UTC (permalink / raw)
  To: Nicolás Reynolds, notmuch

On 2013-02-15 01:14:32 UTC, Nicolás Reynolds <fauno@kiwwwi.com.ar> wrote: 
> Ruben Pollan <meskio@sindominio.net> writes:
>
> > As a way to learn javascript I'm experimenting with the idea of a
> > notmuch based webmail. You can see the dummy demo I did at:
> > https://gitorious.org/notwebmail It's far from a proper webmail, you
> > can only search and see your email but not write or modify tags.
> >
> > Yesterday on the irc Beamer told me someone was also working on a
> > webmail. Is someone in the list hacking on that?
>
> hey, i started something on django a while ago and got it to your
> current status but i lost my interest in python :P
>
> https://github.com/fauno/notmuchwebmail

Hi, I am working on one as well, but am further along.  I am starting to use it as my main interface.  I have table view of messages, a pager view, tagging and retagging, compose, compose with attachments, etc.  Combined with the "Its All Text" firefox plugin, it works pretty well.  I was planning on announcing in a week or so, but here is the code since this thread showed up.  I will work on some instructions on how to set it up soon, plus a little cleanup.

https://bitbucket.org/wuzzeb/notmuch-web/src

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: notmuch webmails
  2013-02-16 18:07   ` John Lenz
@ 2013-02-16 19:59     ` Nicolas Pouillard
  2013-02-17 13:19       ` David Bremner
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Pouillard @ 2013-02-16 19:59 UTC (permalink / raw)
  To: John Lenz, Nicolás Reynolds, notmuch

Quoting John Lenz (2013-02-16 19:07:47)
> On 2013-02-15 01:14:32 UTC, Nicol��s Reynolds <fauno@kiwwwi.com.ar> wrote: 
> > Ruben Pollan <meskio@sindominio.net> writes:
> > 
> > > As a way to learn javascript I'm experimenting with the idea of a
> > > notmuch based webmail. You can see the dummy demo I did at:
> > > https://gitorious.org/notwebmail It's far from a proper webmail, you
> > > can only search and see your email but not write or modify tags.
> > >
> > > Yesterday on the irc Beamer told me someone was also working on a
> > > webmail. Is someone in the list hacking on that?
> > 
> > hey, i started something on django a while ago and got it to your
> > current status but i lost my interest in python :P
> > 
> > https://github.com/fauno/notmuchwebmail
> 
> Hi, I am working on one as well, but am further along.  I am starting to use it as my main interface.  I have table view of messages, a pager view, tagging and retagging, compose, compose with attachments, etc.  Combined with the "Its All Text" firefox plugin, it works pretty well.  I was planning on announcing in a week or so, but here is the code since this thread showed up.  I will work on some instructions on how to set it up soon, plus a little cleanup.
> 
> https://bitbucket.org/wuzzeb/notmuch-web/src

Wow in Haskell! I'm looking forward to try/use it.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: notmuch webmails
  2013-02-16 19:59     ` Nicolas Pouillard
@ 2013-02-17 13:19       ` David Bremner
  2013-02-19 15:50         ` Nicolas Pouillard
  0 siblings, 1 reply; 9+ messages in thread
From: David Bremner @ 2013-02-17 13:19 UTC (permalink / raw)
  To: Nicolas Pouillard, John Lenz, notmuch; +Cc: bgmamari.foss

Nicolas Pouillard <np@nicolaspouillard.fr> writes:

> Quoting John Lenz (2013-02-16 19:07:47)

>> Hi, I am working on one as well, but am further along.  I am starting
>> to use it as my main interface.  I have table view of messages, a
>> pager view, tagging and retagging, compose, compose with attachments,
>> etc.  Combined with the "Its All Text" firefox plugin, it works
>> pretty well.  I was planning on announcing in a week or so, but here
>> is the code since this thread showed up.  I will work on some
>> instructions on how to set it up soon, plus a little cleanup.
>> 
>> https://bitbucket.org/wuzzeb/notmuch-web/src
>
> Wow in Haskell! I'm looking forward to try/use it.

Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
was working on some Haskell bindings; I'm not sure how far he got. I
think there were some conflicts between the memory models of talloc and
Haskell.

d

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: notmuch webmails
  2013-02-17 13:19       ` David Bremner
@ 2013-02-19 15:50         ` Nicolas Pouillard
  2013-02-20  4:45           ` John Lenz
  0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Pouillard @ 2013-02-19 15:50 UTC (permalink / raw)
  To: David Bremner, John Lenz, notmuch; +Cc: bgmamari.foss

Quoting David Bremner (2013-02-17 14:19:55)
> Nicolas Pouillard <np@nicolaspouillard.fr> writes:
> 
> > Quoting John Lenz (2013-02-16 19:07:47)
> 
> >> Hi, I am working on one as well, but am further along.  I am starting
> >> to use it as my main interface.  I have table view of messages, a
> >> pager view, tagging and retagging, compose, compose with attachments,
> >> etc.  Combined with the "Its All Text" firefox plugin, it works
> >> pretty well.  I was planning on announcing in a week or so, but here
> >> is the code since this thread showed up.  I will work on some
> >> instructions on how to set it up soon, plus a little cleanup.
> >> 
> >> https://bitbucket.org/wuzzeb/notmuch-web/src
> >
> > Wow in Haskell! I'm looking forward to try/use it.
> 
> Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
> was working on some Haskell bindings; I'm not sure how far he got. I
> think there were some conflicts between the memory models of talloc and
> Haskell.

Calling the CLI has been of a direct use for me to run the webapp on a
different machine by simply having notmuch as a script using ssh.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: notmuch webmails
  2013-02-19 15:50         ` Nicolas Pouillard
@ 2013-02-20  4:45           ` John Lenz
       [not found]             ` <3wd1uc0z3gb.fsf@testarossa.amd.com>
  0 siblings, 1 reply; 9+ messages in thread
From: John Lenz @ 2013-02-20  4:45 UTC (permalink / raw)
  To: Nicolas Pouillard, David Bremner, notmuch; +Cc: bgmamari.foss

On 2013-02-19 15:50:05 UTC, Nicolas Pouillard <np@nicolaspouillard.fr> wrote: 
> Quoting David Bremner (2013-02-17 14:19:55)
> > Nicolas Pouillard <np@nicolaspouillard.fr> writes:
> >
> > > Quoting John Lenz (2013-02-16 19:07:47)
> >
> > >> Hi, I am working on one as well, but am further along.  I am starting
> > >> to use it as my main interface.  I have table view of messages, a
> > >> pager view, tagging and retagging, compose, compose with attachments,
> > >> etc.  Combined with the "Its All Text" firefox plugin, it works
> > >> pretty well.  I was planning on announcing in a week or so, but here
> > >> is the code since this thread showed up.  I will work on some
> > >> instructions on how to set it up soon, plus a little cleanup.
> > >>
> > >> https://bitbucket.org/wuzzeb/notmuch-web/src
> > >
> > > Wow in Haskell! I'm looking forward to try/use it.
> >
> > Interesting. I see you are calling out to the CLI.  Ben Gamari (in CC)
> > was working on some Haskell bindings; I'm not sure how far he got. I
> > think there were some conflicts between the memory models of talloc and
> > Haskell.
>
> Calling the CLI has been of a direct use for me to run the webapp on a
> different machine by simply having notmuch as a script using ssh.
>

Yes, parsing the JSON from the CLI is pretty easy so I don't see much benefit
to using a direct binding.

The only main issue I am still trying to work out is how to deal with flowed
messages.  I think for viewing, if there is a html alternative, I will use
xss-sanatize (http://hackage.haskell.org/package/xss-sanitize) with perhaps
some additional filtering for images and such.  The problem is format=flowed
messages: the JSON from the CLI does not have the format=flowed header
anywhere in the JSON.  The message body still has spaces at the end of flowed
lines, so if we knew that the message was flowed we could parse the spaces
in haskell.  Alternatively, I have been considering enhancing notmuch itself
to parse the flowed text into paragraphs and stick it into the JSON.  For
compose, I just need to enhance the mime-mail package to send flowed
text, but will have to figure out how to round-trip the reply text through
the textbox.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: notmuch webmails
       [not found]             ` <3wd1uc0z3gb.fsf@testarossa.amd.com>
@ 2013-03-03  0:16               ` John Lenz
  0 siblings, 0 replies; 9+ messages in thread
From: John Lenz @ 2013-03-03  0:16 UTC (permalink / raw)
  To: Mark Anderson; +Cc: notmuch

On 2013-02-28 18:41:08 UTC, Mark Anderson <MarkR.Anderson@amd.com> wrote:
> John,
>
> Where should I look to figure out how to resolve these dependencies?
>

On a fresh install from scratch today I got the same problem, and was able to resolve it by first installing yesod-platform and then after that the few additional dependencies.  I can't wait until stackage (http://www.yesodweb.com/blog/2012/11/solving-cabal-hell) is functional, hackage can be great for weeks and then on some random day have dependency problems.  Looks like the github project is active https://github.com/fpco/stackage so hopefully it will be soon.  In any case, I don't think the "--only-dependencies" flag works very well, so "cabal install yesod-platform" lets cabal figure out better what to install.

How I got it to work is

rm -r ~/.ghc ~/.cabal
cabal update
cabal install yesod-platform
cd path/to/notmuch-web
cabal install --only-dependencies
yesod devel

As a side note, I plan on creating some binaries and marking the first release later today.  Also, if I put it on hackage it should be "cabal install notmuch-web", and then cabal seems to be better at figuring out what to do.

John

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-03-03  0:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-14 20:49 notmuch webmails Ruben Pollan
2013-02-15  1:14 ` Nicolás Reynolds
2013-02-15  3:07   ` David Bremner
2013-02-16 18:07   ` John Lenz
2013-02-16 19:59     ` Nicolas Pouillard
2013-02-17 13:19       ` David Bremner
2013-02-19 15:50         ` Nicolas Pouillard
2013-02-20  4:45           ` John Lenz
     [not found]             ` <3wd1uc0z3gb.fsf@testarossa.amd.com>
2013-03-03  0:16               ` John Lenz

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).