tamas1994 / gtihub-headerImg-create

利用Identicon,js和crypto制作github的默认头像,颜色随机产生

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

identicon-header

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

Tip:

crypto是将输入的内容采取md5的加密形式并转换为15个字符长度的hash值 Identicon 是将产生的hash值转换为图片

Identicon github地址 https://github.com/stewartlord/identicon.js

Identicon在线生成地址 http://identicon.net/

效果

About

利用Identicon,js和crypto制作github的默认头像,颜色随机产生


Languages

Language:JavaScript 89.2%Language:Vue 9.4%Language:HTML 1.3%