taravancil / paste-dat

A tool for sharing files with Dat in the Beaker browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should we even write files?

taravancil opened this issue · comments

PasteDat doesn't really function like pastebin/gist if when, for example, you add a .html file, every time you visit that file, it's actually rendered as HTML. How do you ever get the raw file? We should probably just write one file in the archive (the preview page), which renders all of the file contents.

I've made a decision. In the interim, the "+ n more files..." will expand the rest of the file rather than link to the file. Eventually I'd like to add a link to the raw file, but that will take a bit more work.