Collector allows you to manage your 2€ commemorative coins collections without needs of internet connection (everything is saved on your browser local storage) You can also share your collection and soon, see some statistics
In order to launch your own collector instance, you will need nodejs
> 12 and yarn
yarn install
Extract data from Wikipedia and generate a database.json
file
yarn extract
To save the database into
src/assets/database.json
, you need to pass the--write-database
(or-w
) option
Option availables:
--download [ID]
To download a specific picture, replace[ID]
with the ID of the coin in formatCC-YYYY-NN
whereCC
is the country code ISO_3166-1 alpha 2 (likeFR
)YYYY
is the year (like2019
) andNN
is the order number (like01
)--download-missings
(or-m
) To download all missing pictures- You can use
--quality [QUALITY]
(or-q [QUALITY]
) when using--download [ID]
or--download-all
or--download-missings
for specifying the picture quality (possible values arelow
,medium
,fullsize
,all
for[QUALITY]
) - You can use
--tiny-png
(or-t
) option when using--download [ID]
or--download-all
or--download-missings
to use TinyPNG API for reducing picture sizes You will need to specify your API key in.env
file likeTINYPNG_API_KEYS=["XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"]
- You can use
- You can use
--download-all
(or-a
) to download all pictures (not only missings) and overwrite existing ones.
yarn serve
yarn build
yarn format
yarn lint