Overview:
Riffy Blog is a blogging platform that has undergone core changes and is now using Astro for design and Tailwind for styling. The site is no longer actively maintained as the entire blog has been merged into the frontpage repository. The main feature of Riffy Blog is its near 0kB of JavaScript thanks to Astro and its use of Tailwind for design.
Features:
- Core changes to improve performance and usability
- Use of Astro for an efficient and lightweight website
- Integration with Tailwind for easy styling customization
- Ability to import content model from JSON files in Contentful
- Support for Contentful API keys for accessing content in development mode
- Ability to generate Markdown contents using generator scripts
- Ability to delete all Markdown content using scripts if needed
- Local server for development
- Build command to generate static contents for deployment
Installation:
To install Riffy Blog, follow these steps:
- Create a workspace in Contentful and import the content model using the provided JSON files.
- Copy the
.env.examplefile to.envand provide the Contentful API keys. - During development, use the
CONTENTFUL_PREVIEW_ACCESS_TOKENtoken to obtain contents from CMS. This allows you to see drafts or unpublished articles in local development but not in production CI. - Run the generator scripts to generate Markdown contents.
- If you encounter any issues related to the local contents, you can use the scripts to delete all Markdown files.
- Start the local server by running the appropriate command.
- Use the build command to generate the
dist/directory, which contains all static contents to be deployed.
Summary:
Riffy Blog is a blogging platform that has undergone core changes to improve performance and usability. It now utilizes Astro for an efficient and lightweight website, with near 0kB of JavaScript. The integration with Tailwind allows for easy styling customization. The installation process involves creating a workspace in Contentful, importing the content model, and providing the necessary Contentful API keys. Overall, Riffy Blog offers a streamlined and customizable solution for blogging.