makegirlsmoe / crypko

133 stars 20 forks source link

Propper OpenGraph support for #/card/<id> pages #5

Open Bottersnike opened 6 years ago

Bottersnike commented 6 years ago

At current the pages for cards provide just the default OpenGraph tags. This means that embed generators produce images like Embed for https://crypko.ai/#/card/168996 instead of Embed for https://s.crypko.ai/c/168996 as might be expected.

Aixile commented 6 years ago

1. Currently, Crypko is a pure single page application built on Vue, which means all meta tags in card pages are rendered by client-side javascript engines. However, most SNS crawlers won't execute javascript, so it is impossible to implement it for now. Moving to server-rendering requires refactoring the site with nuxt.js.

2. As an alternative solution, we provided a server-rendered link for users to share their Crypkos. greenshot 2018-06-04 06 38 35