Linkwarden is open source and self-hostable.
I wrote a python package [1] to ease the migration of Pocket exports to Linkwarden.
[0] https://linkwarden.app/
[1] https://github.com/fmhall/pocket2linkwarden