Skip to content

Commit

Permalink
Merge branch 'refactor'
Browse files Browse the repository at this point in the history
  • Loading branch information
harperreed committed Apr 30, 2024
2 parents 30b98b9 + f5ac958 commit e9156c0
Showing 1 changed file with 57 additions and 11 deletions.
68 changes: 57 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,71 @@
# effigy.im
# effigy.im 🎭

This is a simple service that will return a **identicon** of an ethereum address. You can use this to power avatars or whatever in your webapp
[![GitHub](https://img.shields.io/github/license/harperreed/effigy.im?style=flat-square)](https://github.com/harperreed/effigy.im/blob/main/LICENSE)

## Usage
This repository contains the source code and documentation for [effigy.im](https://effigy.im), a service that generates Ethereum "blockie" identicons for Ethereum addresses and ENS names. 🌈

To use the service you just need to use the url in an image like so:
## Features ✨

<img src="https://effigy.im/a/[ethereumAddress|ensName].[png|svg]">
- Generate identicons as SVG or PNG images 🖼️
- Support for Ethereum addresses and ENS names 🔖
- Redirect to ENS avatar if available 🔀
- Customizable identicon styles and colors 🎨

* * * * *
## Usage 🚀

Inspired and influenced by:
To generate an identicon, simply use the following URL format:

```
https://effigy.im/a/[ethereumAddress|ensName].[png|svg]
```

Replace `[ethereumAddress|ensName]` with the desired Ethereum address or ENS name, and specify the desired image format (`png` or `svg`).

To use the service in an image tag, use the following format:

```html
<img src="https://effigy.im/a/[ethereumAddress|ensName].[png|svg]">
```

### Examples

- Ethereum address (PNG): `https://effigy.im/a/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045.png`
- Ethereum address (SVG): `https://effigy.im/a/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045.svg`
- ENS name (PNG): `https://effigy.im/a/vitalik.eth.png`
- ENS name (SVG): `https://effigy.im/a/vitalik.eth.svg`

If an ENS avatar is available for the provided Ethereum address or ENS name, effigy.im will redirect to the avatar URL. 🌠

## Repository Structure 📂

The repository is organized as follows:

- `functions/`: Contains the Firebase Functions code for generating identicons and handling requests 🔥
- `site/`: Contains the source code for the effigy.im website, built with Hugo 🌐
- `LICENSE`: The license file for the project 📜
- `README.md`: This readme file 📖

## Contributing 🤝

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. 😊

## Inspiration and Influences

This project was inspired and influenced by:

- [MyCryptoHQ/ethereum-blockies-base64](https://github.com/MyCryptoHQ/ethereum-blockies-base64)
- [download13/blockies](https://github.com/download13/blockies)
- [PR by @qwtel](https://github.com/download13/blockies/pull/12)


Feel free to help make this better by submitting a pull request or sending me a note.

- [effigy.im on github](https://github.com/harperreed/effigy.im)
- [Send me a note: harper@modest.com](mailto:harper@modest.com)
- [effigy.im on github](https://github.com/harperreed/effigy.im)
- [Send me a note: harper@modest.com](mailto:harper@modest.com)

## License 📄

This project is open-source and available under the [MIT License](LICENSE).

---

Made by [@harper](https://twitter.com/harper) / [harper.eth](https://art.pizza/harper.eth)
Made with ❤️ by [@harperreed](https://github.com/harperreed) / [@harper](https://twitter.com/harper) / [harper.eth](https://art.pizza/harper.eth)

0 comments on commit e9156c0

Please # to comment.