GithubHelp home page GithubHelp logo

codennnn / vue-color-avatar Goto Github PK

View Code? Open in Web Editor NEW
3.2K 9.0 412.0 3.74 MB

An online avatar generator just for fun | 一个纯前端实现的头像生成网站

Home Page: https://vue-color-avatar.leoku.dev

License: MIT License

JavaScript 3.32% Shell 0.06% HTML 7.76% Vue 53.88% TypeScript 31.75% SCSS 1.53% CSS 0.86% Dockerfile 0.84%
vue3 vite avatar avatar-generator avatar-maker

vue-color-avatar's Introduction

Vue Color Avatar

🧑‍🦱 A playful avatar generator 🧑‍🦳

简体中文

website-cover

Preview

https://vue-color-avatar.leoku.dev

Introduction

This is a vector style avatar generator, you can match different material components to generate your own personalized avatar.

Features you might be interested in:

  • Visual component configuration bar
  • Randomly generate an avatar
  • Redo/Undo
  • i18n
  • Generate multiple avatars in batch

Assets

Note
The avatar assets implementation of Avatar Illustration System by Micah Lanier. And the licensed under CC BY 4.0.

Develop

This project is built with Vue3 + Vite.

# 1. Clone project
git clone https://github.com/Codennnn/vue-color-avatar.git

# 2. Install dependencies
yarn install

# 3. Run
yarn dev

Docker deploy

You can directly run using the image I have already built.

docker run -d -t -p 5173:8080 \
--name=vue-color-avatar \
--restart=always \
docker.io/wenyang0/vue-color-avatar:latest

Or, you can manually compile it yourself if you prefer.

#clone the code
git clone https://github.com/Codennnn/vue-color-avatar.git

#docker build
cd vue-color-avatar/
docker build -t vue-color-avatar:v1 .

#start server
docker run -d -t -p 5173:8080 --name vue-color-avatar --restart=always vue-color-avatar:v1

Finally, open your browser and access the service's address at http://serverIP:5173.

Deployed on Zeabur

Our project is powered by Zeabur. Their high-quality server services ensure the stable operation of our project. Need quality server services? Check them out via the link!

Deployed on Zeabur

vue-color-avatar's People

Contributors

codennnn avatar elderdog avatar gimse avatar octopus136 avatar wenyang0 avatar yucheng514 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-color-avatar's Issues

Npm library

Hi @Codennnn,

Have you considered developing an npm library for this feature? It would be incredibly useful to have a library that allows users to simply import the component and pass in a JSON object for easy implementation in the web.

能否提供生成单个头像的api

比如/api/avatar?config=urlencoded(configObject),这样就可以方便嵌入到论坛及博客系统里面。生成的文件可以用svg格式,也可以后端渲染为位图格式。涉及到后端可能与本项目原始定位有点偏离,但感觉是个较为实用的feature。

The feature randomize and generate multiple don't randomize the skin tone

When using the randomize or generate multiples features, the generated avatar randomizes all parameters of an avatar, except the skin tone.
We have three skin tones defined in the template (still too few but more on that later), the script should apply one of the three to the base element every random avatar generation.

Context
In Brazil, we have a very mixed population, generating a huge variety of skin tones. This tweak would make the template more interesting for designers working in Brazilian companies as it would better represent the Brazilian population.

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.