diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-05-11 19:12:13 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-05-11 19:12:13 -0700 |
commit | f5a883642dd114ac2c29c72348bed05616189aa2 (patch) | |
tree | a6952af6c83529f563c34197fb269f55615e01f7 /proposals/web_interface.md | |
parent | b5a8d71d6ca1f54c4ba0e558d021e347ec634319 (diff) | |
download | fatcat-scholar-f5a883642dd114ac2c29c72348bed05616189aa2.tar.gz fatcat-scholar-f5a883642dd114ac2c29c72348bed05616189aa2.zip |
start sketching proposals
Diffstat (limited to 'proposals/web_interface.md')
-rw-r--r-- | proposals/web_interface.md | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/proposals/web_interface.md b/proposals/web_interface.md new file mode 100644 index 0000000..416e6fc --- /dev/null +++ b/proposals/web_interface.md @@ -0,0 +1,69 @@ + +Single domain (TBD, but eg <https://scholar.archive.org>) will host a web +search interface. May also expose APIs on this host, or might use a separate +host for that. + +Content would not be hosted on this domain; all fulltext copies would be linked +to elsewhere. + +Style (eg, colors, font?) would be similar to <https://archive.org>, but may or +may not have regular top bar (<https://web.archive.org> has this). There would +be no "write" or "modify" features on this site at all: users would not need to +log in. Metadata updates and features would all redirect to archive.org or +fatcat.wiki. + + +## Design and Features + +Will try to hew most closely to Pubmed in style, layout, and features. + +Only a single search interface (no separate "advanced" page). Custom query +parser. + +Filtering and sort via controls under search box. A button opens a box with +more settings. If these are persisted at all, only via cookies or local +storage. + +## URL Structure + +All pages can be prefixed with a two-character language specifier. Default +(with no prefix) is english. + +`/`: homepage, single-sentance, large search box, quick stats and info + +`/about`: about + +`/help`: FAQ? + +`/help/search`: advanced query tips + +`/search`: query and results page + + +## More Ideas + +Things we *could* do, but maybe *shouldn't*: + +- journal-level metadata and summary. Could just link to fatcat. + + +## APIs + +Might also expose as public APIs on that domain: + +- search +- citation matching +- save-paper-now + + +## Implementation + +For first iteration, going to use: + +- python3.7 +- elasticsearch-dsl from python and page-load-per-query (not single-page-app) +- fastapi (web framework) +- jinja2 (HTML templating) +- babel (i18n) +- semantic-ui (CSS) +- minimal or no javascript |