一款小而美的头像生成神器,可搭建在线生成图片网站

大家好,今天给大家介绍一款小而美的头像生成神器,可搭建在线生成图片网站

大家有没有过这种经历:微信头像或者其他账号的头像好久都不换,然后想要换的时候却翻来覆去的找不到适合自己的?

如果你有上述这种情况的话,那么你的福利来了,今天我要给你推荐一款小而美的头像生成神器,自己 DIY 想要的头像,拯救你的不开心。

项目介绍

这是一个基于 Vue+SCSS 的开源头像生成神器,没有太多花里胡哨的功能,我们可以将之称为:头像七十二变,哈哈哈~

下面我们先来看一眼他的真容吧:

640-1

关于它,作者是这么说的:

Collect your avatar from different parts. The code of this program is very easy, any developer will be able to understand the code. SVG is used to draw an avatar.

Development

Getting Start:

  • Open a terminal.

  • Go to the folder where you want to copy the project.

  • Copy the project with this command:

    $ git clone https://github.com/favrora/Avatar-Maker.git
  • Go to the project folder:

    $ cd avatar-maker

In order to run it locally you"ll need to fetch some dependencies and a basic server setup.

  • Install local dependencies:

    $ npm install
  • Start the development server and open http://localhost:8080.

    $ npm run serve

我给大家翻译一下哈:

从不同的地方收集你的头像。这个程序的代码很简单,任何开发人员都能理解代码,使用SVG用于绘制角色。

如何使用

说了这么多了,怎么用得告诉大家。

项目地址: https://github.com/favrora/Avatar-Maker/

首先先把项目从github上克隆下来

 //克隆
 git clone https://github.com/favrora/Avatar-Maker.git
 //进入到目录
 cd avatar-maker

进入到目录安装依赖

 //安装依赖
 npm install
 //运行
 npm run server

本地运行就可以访问 http://localhost:8080 了。

DIY 制作好头像后,也可以下载出来,当作自己的社交头像

当然,如果你不想下载,就想在线直接制作,那当然也是可以的,程序下载到服务器上操作安装运行,然后只要把locahost换成你服务器IP就可以了。

偷偷给大家放一张我自己制作的,哈哈哈哈。

640-41