the404devs / 404-start

a custom start page (March 2019 - present)

Home Page:https://start.the404.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pywal integration only works locally

the404devs opened this issue · comments

There probably isn't a clean way around this, but it's quite annoying.

Modern browsers do not allow webpages to automatically read the user's local files, which includes pywal's generated CSS.

Possible solutions include:

  • The user manually uploads a CSS file, it is saved in their account.
    • This isn't ideal, because they would need to re-upload every time pywal generates a new scheme.
    • If a template is provided, it would offer a different way for users to customize the colours.
  • I create a little script for the user to run after they run pywal, this script automatically uploads the generated CSS to the database.
    • Seems very over-complicated.
    • I want to keep this project as simple as possible for the user.
  • I leave it the way it is, with the option to have a local copy of 404-Start.
    • This is probably ok in the long-term, since the people who would want pywal integration are, in theory, Linux users who know what they're doing.
    • When running locally, there should be a toggle for using pywal colours or manually-configured colours.
    • Online users will have to stick with manually setting the colours.

pywal integration has been removed temporarily in v2.0.0, will return later. will probably have the user manually upload pywal css, and that will be parsed and saved in local storage as the user theme

closing for now, will probably be resolved once i get around to adding some form of pywal functionality.