A published extension to display leboncoin's (sort of french craigslist) search results on a map.
Leboncoin is the main website to buy and sell stuff in France, but for some reason, there is no way to display the results of your search directly on a map. This simple extension aims at fixing that.
Browser | Store link |
---|---|
Chrome | https://chrome.google.com/webstore/detail/la-bonne-carte/oegacpncaonolgbpmphcimodilfoacnl |
Firefox | https://addons.mozilla.org/fr/firefox/addon/labonnecarte/ |
- I am not affiliated at all with leboncoin.
- Some sentences of the extension are in french only as the target website is french only.
- The code is just a fun project for me, in order to learn how to make Chrome extensions. It is not in a clean production state, has some known drawbacks, some magic numbers, and has no tests. All PRs are welcome.
npm install
npm run dev
or
npm run dev:firefox
or
npm run dev:safari
A folder (e.g. chrome-mv3-dev
) will be generated on the build
subfolder. You simply have to load the unpacked extension in your browser. See https://docs.plasmo.com/framework/workflows/dev for more information.
npm run build
or
npm run build:firefox
Then manually upload the generated zip files from the build folder on the stores. For Firefox, it is possible that the whole source code should also be zipped and sent for review, because of their policies about minified source code.
The extension uses https://plasmo.com/ for an easier maintenance.
Follow the very simple steps to the [https://docs.plasmo.com/](plasmo documentation) in order to run the project locally.
For the map feature, this project extensively uses https://leafletjs.com/ and https://react-leaflet.js.org/.
To prevent browser limitation when using geocoding API from a chrome extension, the geocoding is made directly within the extension. The data comes from https://www.data.gouv.fr/fr/datasets/base-officielle-des-codes-postaux/.
See LICENCE.md