In the end, I decided to rewrite the entire Hollo code because I found it difficult to create a frontend myself. The new code will be compatible with the Mastodon API so that Elk or Phanpy can be used as a frontend, whereas before I was building the frontend myself.