Thanks to visit codestin.com
Credit goes to github.com

Skip to content

💡 Feature request: Import/Export .env from browser #391

@Opening-Button-8988

Description

@Opening-Button-8988

I recently noticed there's an import/export option for settings and subscriptions. Side note, the Copy and Import buttons aren't scaled properly, see image below.

I think it would be helpful if there was a way to copy the settings and subscriptions in .env format directly in the browser. Because there is no persistence (see #110) I have to manually edit the .env file (using nano, which I dislike) when I want to make persistent changes (I use many different browsers, different profiles, and remove cookies after browser restarts). Bookmarks aren't as convenient, as I explained in the referenced issue.

Example workflow when making persistent changes currently, using docker. I have to recreate the container every time I make changes:

  1. open terminal
  2. cd into .env directory (mine is in ~/home/redlib/)
  3. nano .env
  4. make changes as necessary
  5. Ctrl+X, y, enter
  6. docker stop redlib
  7. docker rm <redlib container id>
  8. docker compose up -d --force-recreate
  9. refresh redlib in browser

Being able to change settings or subscriptions in the browser, and export an .env, makes this easier. Typing it in the terminal is a pain, and using bookmarks is even more of a pain. Feel free to argue why I'm wrong about these things but at the end of the day having to make changes to redlib is not very convenient at the moment, I'm unaware of any easier way. Thankfully I don't update my subscriptions very often, but...this is also why.

Image below is of the weird scaling for copy/import buttons. Also there are no ascii characters to copy.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions