Fork existing datasource plugin

Hi Grafana users, specially for those who develop plugin. I wonder if instead of developing a plugin from the scratch, simply start from the existing one, for example I wanna start on a the influxdb datasource plugin, and edit its frontend and backend as needed.
Most of tutorials is starting from the scratch, I wonder if this is possible?

If it is, can you give us link/tutorials or step by step on how to do it.

Thank you in advance.

Regards,

for example I wanna start on a the influxdb datasource plugin

Hi @rikutozumoko we already offer an influxdb plugin InfluxDB plugin for Grafana | Grafana Labs and the source code is here in the grafana/grafana repository where your contribution is very welcomed. Make sure to read our contribution guide before starting to work in your PR.

We encourage developers to contribute to the original plugin rather than creating your own fork. Also keep in mind your plugin might not be accepted for publication if it is a fork of an existing maintained and functional plugin as per our plugin policy

Most of tutorials is starting from the scratch, I wonder if this is possible?

To reply to your original question, yes you can use an existing plugin as the base for a new one, first of all observe the plugin license and make sure to follow it (e.g. attribution and using the correct compatible license for yours)

Then you should be able to fork the existing plugin and modify the plugin-id in all the places where it appears (in every possible file )

it is not uncommon for some developers to take one of our plugin examples and do just that.

Hi thanks for your reply. Highly appreciate it.