wantguns / bin

highly opinionated, minimal pastebin
https://basedbin.fly.dev
GNU Lesser General Public License v3.0
194 stars 20 forks source link

Light mode, other configs #12

Open DarrenPIngram opened 2 years ago

DarrenPIngram commented 2 years ago

This looks nice.

A couple of questions (or requests if not presently possible).

  1. Any chance of a "light mode" (dark mode is bad for my eyes).
  2. Can you turn off binary pastes (or does setting -b, --binary-upload-limit to 0 work?
  3. Any way to not display the text when you first visit the page (at least on your demo site)?

Not deployed yet as the dark mode is a big issue for me (as visually handicapped).

Thanks.

wantguns commented 2 years ago

Thanks for checking bin out. I'll respond to your requests point-wise:

  1. Light Mode is definitely do-able. In the early iterations of bin, I had a THEME parameter. I can re-introduce it soon.
  2. By setting -b flag to 0, you won't be able to upload binary, but then the cli client won't work as well. You can only use the web ui for pasting. I think I should introduce a flag to disable binary uploads as well.
  3. I recently put up a new flag which disables showing the /client details on the landing page. Seeing all these requests, maybe I should introduce a text source which will be read and its content will be displayed on the landing page.

I am juggling many responsibilities right now, so I can't make a promise to deliver all this with an ETA. But if you want to contribute and start working on this, please go ahead !

DarrenPIngram commented 2 years ago

Thanks. Consideration even is the best thing. Alas I am not a programmer and my attempts would probably get deleted on sight.

Thank you.