There is this: https://wallabag.org/en
Their description: wallabag - a self hostable application for saving web pages
No idea on how good it is or how it compares to pocket but it seems to be what you're after. And you can import your data from pocket.