Giter VIP home page Giter VIP logo

nextbook's Introduction

NextBook Screenshot

Build

NextBook is quick and easy way to buid technical books or documentation that support modern standards and run blazingly fast. It works by compiling markdown and MDX to static pages. This way, first content render on user's device is near instant.

NextBook makes writing technical docs stupid simple while keeping featureset minimal but open for further extension.

Primary Features ๐Ÿงฟ

  • ๐Ÿ’… Good looking, simple and readable UI based on tailwindcss including dark mode and auto-centered layout,
  • ๐ŸŒŽ Great SEO out of the box,
  • ๐Ÿ“ฑ Mobile & printer friendly,
  • ๐Ÿš€ Single page application with pre-fetching,
  • ๐Ÿงพ Easy content creation with markdown and MDX support,
  • ๐Ÿ’ป Something more than what basic fenced code offers. Like line highlighting, linking to source and copying to clipboard,
  • ๐Ÿค“ Familiar Git workflow and collaboration,
  • โŒจ๏ธŽ Keyboard shortcuts for frequently used actions (theme change, page navigation),
  • ๐Ÿ”Ž In-page optional table of contents with scroolspy,
  • ยฉ You own your data, code is the data. Committing to repository and seeing results in the simplest form,
  • ๐ŸŽ Fast to get started, just one command for up & running locally,
  • ๐ŸŽŠ One click (or push) deployment,
  • ๐Ÿ›  Unlimited dynamic features can be added with MDX,
  • โš™๏ธŽ Customisable, extensible and simple codebase,
  • โค Built on open-source,
  • ๐Ÿ‘ And many more small details...

With the advantages of Next.js and React anything fancy (grading, level switching...) can be added along the way.

What's New In NextBook 2.0?

  • Support for multiple books in one project.
  • Design based on tailwindcss.
  • Markdown content is now being loaded with next-mdx-remote. This means content is now separated from routed pages.
  • Auto-centered layout on big resolutions leading to one less configuration option.
  • 40% smaller bundle size.
  • Navigation bar.
  • Updated dependencies.
  • Refined mobile UI.
  • Less code (โˆ’4,000 LOC).

Getting Started

  1. Having Node installed beforehand, bootstrap a new project with npx create-next-app my-awesome-book -e https://github.com/amiroff/NextBook
  2. Run npm run dev:watch and open http://localhost:3000/
  3. Check documentation to see what's possible with NextBook.
  4. Create your markdown or MDX content in content folder. Pages should auto-refresh as you modify markdown content.
  5. Update config/config.json with your table of contents and other information.
  6. Update pages/index.jsx to suit your needs as a standalone landing page or as a redirect to content.
  7. Deploy your respository or export (npm run export) and copy your content to any static hosting provider like Vercel, Netlify, Github Pages or Google Cloud.
  8. Have fun! ๐ŸŽ‰

This should be enough to have a statically generated documentation page/book.

nextbook's People

Contributors

amiroff avatar dependabot[bot] avatar haydendaly avatar laosb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.