Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/captainayan/pixel-profile-pic

πŸ–ΌπŸ–ŒGithub like pixel profile picture generator πŸš€πŸŽ¨
https://github.com/captainayan/pixel-profile-pic

avatar canvas identicon identicon-generator identicon-library profile-picture

Last synced: 24 days ago
JSON representation

πŸ–ΌπŸ–ŒGithub like pixel profile picture generator πŸš€πŸŽ¨

Awesome Lists containing this project

README

        



Pixel Profile Pic



GIthub like pixel profile picture generator


Website Β 
Api

![Poster](https://github.com/captainayan/pixel-profile-pic/blob/main/poster.png?raw=true)

## API Guide
**URL :** [https://pixel-profile-pic.onrender.com/api](https://pixel-profile-pic.onrender.com/api)

Param Name | Type | Description |
--- | --- | --- |
`width` | Number | Height and width of each cell in the grid
`cell` | Number | Number of cells in x and y axes
`color` | Hex Color Code *(E.g. 7fffd4)* | Code of cells (DO NOT use `#` symbol before the color code)
`seed` | Text | Seed for Pseudo Random Number generation

**Example :** [https://pixel-profile-pic.onrender.com/api?width=20&cell=5&color=4da3ff&seed=f](https://pixel-profile-pic.onrender.com/api?width=20&cell=5&color=4da3ff&seed=f)

## Getting Started
- Clone the repo
- Run the `app.js` using `node` for the API
- Run the `docs/index.html` for the website / github page using [LiveServer](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)

**Note :** The website will make the api requests to the actual hosted api *(pixel-profile-pic.onrender.com)* not the local one.

πŸ™πŸ₯Ί Consider starring this project.

πŸ‘‰πŸ‘ˆ Also consider contribution, I could use some help.

## Contact
Send me a message on discord or instagram. Check out my [Profile Readme](https://github.com/captainAyan)