Coder Social home page Coder Social logo

nyxdeity / imagegonord Goto Github PK

View Code? Open in Web Editor NEW

This project forked from schroedinger-hat/imagegonord

0.0 0.0 0.0 14.15 MB

A tool that can convert your rgb images to nordtheme palette

Home Page: https://ign.schrodinger-hat.it/

License: GNU Affero General Public License v3.0

Shell 0.09% JavaScript 4.52% Python 18.88% HTML 1.35% Vue 59.52% Dockerfile 0.39% SCSS 15.20% Procfile 0.03%

imagegonord's Introduction

ImageGoNord - RGB image to Nordtheme palette

All Contributors

Image Go Nord is a tool that can convert your rgb images to not only Nordtheme palette. IGN is a tool that can convert your rgb images to any palette!

This repository is:

  • an API hosted on Heroku that is using the ImageGoNord Python package written in Flask;
  • a demo website made in VueJS hosted on Netlify which can convert your image or video into any palette!

Are you looking for the python package?

The official python package's repository is ImageGoNord-pip. You are welcome :)

Inspiration

We are in love with Nordtheme and Linux Rice, that is why we created this repository.

Our goal is to make a shortcut to convert image or video into any theme.
An example could be an awesome wallpaper converted into the Nordtheme palette.


Or an example of an image converted into the Gruvbox palette


We checked the commnunity and we did not find anything similar or any project that can accomplish this task. So, here we are.

Core Technical Concepts

We are using the PIL because it is the most simple library and it is very useful when you need to manipulate some images.

Our goal is also to make this project open source and maintainable by the community. We would love to.

We believe in the open source community.

Getting Started

Clone the repository then go to the src/ign-frontend folder

npm install && npm run serve

This will bring our website in your local.

How to add a new palette on the website?

It's very easy and you can refer to this PR as a sort of documentation.

What I need to do? You need to create a JSON file in src/ign-frontend/src/assets/palettes/[themeName].json with the following format:

{
    "name": "yourThemeName",
    "colors": [
        "#FFFFFF",
        "#FFFFFF",
        "YOUR_HEXs"
    ]
}

After this, please find a good image (e.g. Dracula image) or a palette primary color image (you can use coolors), then add it in the src/ign-frontend/src/assets/palettes/img/[themeName].png folder.

Then, you need to make this palette available in the demo website by upading the src/ign-frontend/src/assets/palettes/available-palettes.json with the following format:

{
    "name": "[themeName]",
    "img": "palettes/img/[themeName].png",
    "file": "palettes/[themeName].json"
}

Verify that everything is working great and open a PR :)

Contributing

  • Follow the contributor guidelines
  • Follow the code style / requirements
  • Format for commit messages

Authors

TheJoin95 & Wabri

Contributors


GabrielePuliti

๐Ÿ’ป ๐Ÿ“– ๐ŸŽจ ๐Ÿค” ๐Ÿšง ๐Ÿ“†

Miki Lombardi

๐Ÿ’ป ๐Ÿ“– ๐ŸŽจ ๐Ÿค” ๐Ÿšง ๐Ÿ“†

BugliL

๐Ÿ’ป ๐ŸŽจ ๐Ÿค” ๐Ÿšง ๐Ÿ“†

Abdullah Omar

๐ŸŽจ

Jason

๐ŸŽจ ๐Ÿ“– ๐Ÿ’ป

Senali

๐Ÿ“–

JuanCC

๐ŸŽจ

Veronica Papini

๐Ÿ“–

License

MIT license

imagegonord's People

Contributors

thejoin95 avatar wabri avatar buglil avatar allcontributors[bot] avatar abod1960 avatar jlc893 avatar flyingcakes85 avatar veropap avatar rywng avatar senali-d avatar

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.