I've already read in this link that is not possibile to use QGIS or other GIS application API (GRASS, ArcGIS) without rebuild all libraries into my custom code. First I would like to know if that corresponds to the truth or if there is a way to integrate these APIs without the whole application. What I would like to do is to convert a DXF file into a GeoJSON and use it for my application. A possibile workaround is install the server version of QGIS somewhere (I'm considering to add it to my application's docker container) and create a Python application that can leverage QGIS API previously installed.
Is there any other library for this type of conversion?