ossinsight
ossinsight copied to clipboard
use Next.js instead of Docusaurus
Docusaurus is a great framework to generate static website, but it still has some limitations:
- pages should be statically generated in build time, it's dirty to implement a dynamic page like
analyzeandcollections - it's impossible to add SEO info and og meta tags in dynamic pages, which would impact sharing preview on other websites #396
- it's difficult to use runtime environment to change some config like API base url. #438
- it's difficult to inject
css-in-jsgenerated css codes in built bundle, which will cause styling issue when js was not executed
I think we should use Next.js instead of docusaurus in future.
Updated 2023-08-21
We are now start to migrate OSSInsight front end project to Next.js step by step. Before all functions are finished, next.ossinsight.io will be the temporary domain for the Next.js version OSSInsight.
- [ ] (New Feature) Widgets
- [ ] Analyze Repository
- [ ] Analyze Developer
- [ ] (New Feature) Analyze Org
- [ ] Collections
- [ ] Blogs and articles