Skip to content

Commit

Permalink
feat: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JastinXyz committed May 29, 2024
1 parent 1265428 commit 44dd17c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# indonesia-logo

This repository contains the logos of provinces and districts in Indonesia. You can access it at **_https://jastinxyz.github.io/indonesia-logo/images/{code}.{ext}_**. You can make a request to [data/output.json](https://jastinxyz.github.io/indonesia-logo/data/output.json) to get the code and image paths from all provinces and districts as an array. *Province and city codes are based on the [laravolt/indonesia](https://github.com/laravolt/indonesia) package.*

And is it also an alternative to [laravolt/indonesia-logo](https://github.com/laravolt/indonesia-logo) which seems to have been abandoned 8 years ago?

In this repo there is also a crawler with nodejs that you can use if you want. How does the crawler work? It will take data on which [districts](https://github.com/JastinXyz/indonesia-logo/blob/main/data/cities.json) and [provinces](https://github.com/JastinXyz/indonesia-logo/blob/main/data/provinces.json) will be scraped, then will make a request to Wikipedia and take all province and district logos with the highest resolution (if any).

0 comments on commit 44dd17c

Please sign in to comment.