summaryrefslogtreecommitdiff
path: root/doc/design/assistant/webapp.mdwn
blob: c0f6b893e18e7a8a4d8c9560bd7c3304e3dd5a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
The webapp is a web server that displays a shiny interface.

## security

* Listen only to localhost.
* Instruct the user's web browser to open an url that contains a secret
  token. This guards against other users on the same system.
* I would like to avoid passwords or other authentication methods,
  it's your local system.

## interface

* list of files uploading and downloading
* progress bars for each file
* drag and drop to reorder
* cancel and pause

## implementation

Hope to use Yesod.

TODO: Ensure that Yesod will work on arm. Necessary for later Android port.
Will its template haskell cause a problem? Does new GHC support TH on ARM?
Will it use too much memory or be too slow?

Hopefully Yesod comes with some good UI widgets. Otherwise, need to use
Jquery or similar.