Mirror Next

screenshot of Mirror Next
nextjs
react
tailwind

A Next.js-powered frontend for your Mirror publication

Overview:

This project is a Next.js-powered frontend designed to mimic the Mirror publication layout. It pulls data from Mirror APIs, enabling users to self-host their Mirror blog on a custom domain. The project includes features such as article lists, code highlighting, dark mode, static generation, embeds, NFT embeds, bookmark cards, email list support, and more.

Features:

  • Article list: Display a list of articles.
  • Article page: Navigate to individual article pages.
  • Code highlighting: Use VSCode's rendering engine for custom themes.
  • Dark mode: Display content in dark mode when enabled on Mirror.
  • Patience page: Show a page when no articles are available.
  • Static generation: All pages load instantly once deployed.
  • Static re-generation: New articles appear without requiring re-deployment.
  • Embeds: Include tweet, YouTube, and additional embeds like CodePen, JSBin, Gists, etc.
  • NFT embeds: Support for NFT embeds.
  • Bookmark cards: Open Graph support for bookmarking.
  • Email list support: Integration with Mirror for email lists.
  • Pull content from Arweave: Directly fetch content from the Arweave chain.
nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

apollo
Apollo

Apollo is an open-source platform for building GraphQL APIs that connects with any data source. It provides a powerful set of tools and features for developers, including client and server-side caching, real-time data synchronization, and a seamless integration with popular frontend frameworks.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.