Let $D$ be a compact region in $\mathbb{R}^3$ with a smooth boundary $S$. Assume $0 \in \text{Int}(D)$. If an electric charge of magnitude $q$ is placed at $0$, the resulting force field is $q\vec{r}/r^3$, where $\vec{r}(x)$ is the vector to a point $x$ from $0$ and $r(x)$ is its magnitude. Show that the amount of charge $q$ can be determined from the force on the boundary by proving Gauss's law:$$\int_S \vec{F} \cdot \vec{n}\,dA = 4\pi q.$$
I am familiar with the approach in basic textbooks, but I would be interested in seeing a derivation/proof using the language of differential topology.