Best structure / pattern for server side rendering

Hi,

So I currently have a website where I would like to use server side rendering for Facebook sharing and SEO purposes (I know Google now can spider client side rendered pages but other search engines can’t).

So I’m following this guide (https://meteorhacks.com/meteor-server-sider-rendering-for-seo-purpose/) and it seems to make sense to me except it seems like I’m basically duplicating every view I want SEO-ed into the private folder.

That sounds like an awful lot of duplication. Has anyone found a decent pattern or structure where we can share as much of the client views and server views as possible?

I would like to look for something self hosted and free first before going down the prerender.io path which is why I’m looking at my own server side rendering. I don’t want to put any payment details down and also, the site is run with user generated content so I wouldn’t be in control of the number of pages that gets SEO-ed.