Giter VIP home page Giter VIP logo

uttori-wiki-demo-site's Introduction

About the Uttori Wiki Demo

To get started, clone, install dependencies (Node v14) and run npm start:

cp example.env .env
# Edit the config to start hacking
code .
npm install
npm start

This is a hackable demo of the Uttori Wiki library and several plugins. The edit_key and delete_key are both set in the .env file. These are required to make, edit or delete documents and should be appended to the URL, for example to edit this page click here. You can also make a new document but will need the key in the URL, so the button in the top right should 404. Try creating new documents with the site section tags examples, reference, or tutorial and watch as the site section counts increase.

Rendering

This content is written in Markdown and rendered with the Uttori MarkdownIt Renderer Plugin that included some other nice to have features like Table of Contents generation and WikiLinks support like [[cool-example|Cool Example]].

This line says that this was written on the Windows operating system, but the Replacer Renderer Plugin plugin has replaced Windowz with macOS. Useful for preventing hateful content from showing up, custom emoji replacement, or other fun uses.

Storage & Search

The files are stored as JSON file on disk using the Uttori Storage Provider JSON File Plugin.

Search is powered by the Uttori Search Provider Lunr Plugin, try searching for cool.

File Uploads are powered by the Uttori Multer Upload Plugin and can be tested on the Edit pages.

View Model Plugins

There are several optional View Model plugins that are used to add more data to be sent to the front end:

The Popular document depends on a valid Uttori Analytics Provider, and the one being used is the Uttori Analytics Provider JSON File Plugin.

Meta Plugins

Just for completeness sake in testing features the Uttori Sitemap Generator Plugin is setup for generating a valid sitemap.xml for Google or other interested crawlers.

uttori-wiki-demo-site's People

Contributors

matthewcallis avatar

Watchers

 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.