To create a tpkg repository you just need a directory of tpkgs and run tpkg --extract /that/directory. Then make that directory available via any web server. Re-run the tpkg --extract any time you add or remove packages from the directory.
See the configuration documentation for info about pointing clients at the URL for your repository.
tpkg --extract will create a metadata.yml file in the directory with the metadata extracted from each package.