arnaudjuracek / cahier

Readonly markdown server w/ auth support and live chat, to assist lectures

Home Page:https://cahier.arnaudjuracek.fr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cahier

Readonly markdown server w/ auth support and live chat, to assist lectures


Features

  • Directory listing
  • Markdown files rendering, with support for:
    • Emojis using :emoji:
    • Marked text using ==mark==
    • Abbreviations
    • Quote attribution using -- Attribution
    • Footnotes
    • Code syntax highlighting
  • Front matter for markdown documents
    • title
    • description
    • author, using the npm format (Name <mail> (website))
    • lang
    • icon
    • hidden
  • Live chat inside a document, using the [[ discuss ]] component
    • Stored as a .log file
    • Multiple contexts using [[ discuss:contextName ]]
    • Readonly using [[ discuss readonly ]]
  • Directory access control, using a .lock file inside the directory
    • Global password defined as env variable
    • Local passwords defined inside the .lock file (one by line)

Development

Installation

$ git clone https://github.com/arnaudjuracek/cahier && cd cahier
$ cp server/.env.example server/.env
$ yarn install

Deployment

Deployment to the AlwaysData environment is done automatically via a Github action. Simply create a new release by running:

$ yarn version

License

MIT.

About

Readonly markdown server w/ auth support and live chat, to assist lectures

https://cahier.arnaudjuracek.fr/

License:MIT License


Languages

Language:JavaScript 74.9%Language:SCSS 18.3%Language:Handlebars 6.7%Language:Shell 0.1%