Giter Site home page Giter Site logo

nanowiki's Introduction

nanowiki

A very small(~2MB, ~600KB with UPX) and minimalistic wiki/blog! Demo

Setup

  1. Open src/main.rs in a text editor
  2. Set the instance name - change INSTANCE_NAME to the name you wish
  3. Set the password - change EDIT_PASSWORD to a somewhat secure password. If this is a private wiki, you can set it to "" to disable password-restricted editing
  4. Set the mode - if you want to use this as a public wiki, leave it on Mode::Wiki. If you want to hide the "New Article" and "[edit]" buttons, set it to Mode::WikiNoEdit. If you want to use it as a blog, set it to Mode::Blog

Creating/Editing articles in WikiNoEdit/blog mode

Creating a new article

To create a new article, go to https://your-blog.com/articles/TitleURIEncoded/edit. You can URI-Encode text at https://u.matdoes.dev/url. Enter the contents, enter the password and submit it.

Edit an article

To edit an article, append /edit after the page of the site (for example, https://your-blog.com/articles/Sand%20cat -> https://your-blog.com/articles/Sand%20cat/edit).

nanowiki's People

Contributors

paddyk45 avatar

Stargazers

Ioan Rîpan avatar  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.