GithubHelp home page GithubHelp logo

ndonkohenri / flet-color-browser Goto Github PK

View Code? Open in Web Editor NEW
22.0 1.0 3.0 674 KB

A simple Web and desktop UI for easy color selection in Flet Application development.

Home Page: https://flet-color-browser.pages.dev/

Dockerfile 0.74% Python 84.88% HTML 14.38%
flet flet-dev color-picker python3 webapp pwa color-palette

flet-color-browser's Introduction

Flet-Color-Browser

AppVeyor Platform GitHub top language GitHub language count GitHub repo file count

From my experience, working with colors is not that easy.

Table of contents:

What is this about? (Introduction)

A simple but sophisticated tool(Web and desktop UI) for easy color selection when developing Flet applications. Here is a link to the online/web version of this tool -> flet-colors-browser.fly.dev

Source of Inspiration

I decided to build up this tool after looking at the Flet-Icons-Browser - a simple browser which eases Icon selection when developing Flet apps . This tool is actually a refactored-clone(or fork if you want) of it. I just added my personal UI touch and included more comments in the code :)

Screen captures

This tool has two versions: One using a GridView to display the colors, and another using a ListView in Tabs.

Below are some OLD captures I made of the tool in execution.

  • Version 1:

    • Dark Mode

      V1 Dark Mode

    • Light Mode

      V1 Light Mode
  • Version 2:

    • Dark Mode

      V2 Light Mode



      • Light Mode

        Capture

    • GIF Video

      Colors-Browser GIF

How to get started?

Easiest Way: You can open it on your browser and install it as a PWA(Progressive Web Application). It would then be found on your desktop(Windows, macOS, Linux.. etc), and you could run it any time. Follow the guide below gotten from a Post on Medium.

How to Install as PWA

Second-Easiest Way:

  • Try the app online from here:
  • You can just download an archive(for Windows, macOS and Linux only) from the releases section, extract this and run the standalone executable file(~25Mo) found in it.

Hardest Way:

  • Start by cloning and unzipping this repo: how-to

  • Enter the directory

      cd Flet-Color-Browser
    
  • Install the requirements: pip install requirements.txt -r

  • Run the main.py file

    python main.py
    

How to Deploy?

See this article to deploy this flet app and all others you have for freeee.

Issues/Contribution

I tried my best to make this project simple and easy to understand, but if you have problems/issues while using this :(, then you are free to raise an issue and I will happily respond.

If you instead want to contribute(new features, bug/typo fixes, etc), just fork this project and make a pull request. :)

flet-color-browser's People

Contributors

ndonkohenri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flet-color-browser's Issues

No module named 'flet.control_event'

Hey, this is a very little fix, but the ControlEvent class is no longer in its own flet.control_event module, but is instead with the rest of the flet classes. I believe this was changed in 0.2.4, as per the flet changelog.

It's a very simple fix, the lines from flet.control_event import ControlEvent in main.py and v2.py need to be replaced by from flet import ControlEvent (or simply add it to the lists of imports in the line before).

Thanks for your code otherwise, it looks awesome!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.