All Projects โ†’ andreaskoch โ†’ Allmark

andreaskoch / Allmark

Licence: other
A cross-platform markdown web server

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Allmark

Reptar
static sites that roar
Stars: โœญ 268 (-5.63%)
Mutual labels:  markdown
Boostnote Markdown Cheatsheet
๐Ÿ“‹ ๐Ÿ“˜ The missing one page markdown feature cheat sheet for Boostnote
Stars: โœญ 276 (-2.82%)
Mutual labels:  markdown
Markdowntoc
SublimeText3 plugin which generate a table of contents (TOC) in a markdown document.
Stars: โœญ 278 (-2.11%)
Mutual labels:  markdown
Pdf To Markdown
A PDF to Markdown converter
Stars: โœญ 270 (-4.93%)
Mutual labels:  markdown
Format Readme
ะคะพั€ะผะฐั‚ ั„ะฐะนะปะฐ README
Stars: โœญ 270 (-4.93%)
Mutual labels:  markdown
Flow Netbeans Markdown
Markdown file support for the NetBeans IDE
Stars: โœญ 276 (-2.82%)
Mutual labels:  markdown
Hypermark
Markdown for Humans.
Stars: โœญ 266 (-6.34%)
Mutual labels:  markdown
Text
๐Ÿ“‘ Collaborative document editing using Markdown
Stars: โœญ 282 (-0.7%)
Mutual labels:  markdown
Verless
A simple and lightweight Static Site Generator.
Stars: โœญ 276 (-2.82%)
Mutual labels:  markdown
Gitit Bigger
Gitit Bigger: ่ถ…ๆฃ’็š„ไธชไบบใ€ๅ›ข้˜ŸWiki/ๆ–‡ๆกฃๆ–นๆกˆ๏ผˆGitใ€Markdownใ€Bootstrapใ€Aceใ€Docker๏ผ‰
Stars: โœญ 279 (-1.76%)
Mutual labels:  markdown
Markdown Nice
ๆ”ฏๆŒไธป้ข˜่ฎพ่ฎก็š„ Markdown ็ผ–่พ‘ๅ™จ๏ผŒ่ฎฉๆŽ’็‰ˆๅ˜ Nice
Stars: โœญ 3,291 (+1058.8%)
Mutual labels:  markdown
Tty Markdown
Convert a markdown document or text into a terminal friendly output.
Stars: โœญ 275 (-3.17%)
Mutual labels:  markdown
Logicandcodinggames
[Resource List] Programming-related games I'd like to try
Stars: โœญ 277 (-2.46%)
Mutual labels:  markdown
Mak
A universal notepad. (WIP)
Stars: โœญ 270 (-4.93%)
Mutual labels:  markdown
Markdown Pp
Preprocessor for Markdown files to generate a table of contents and other documentation needs
Stars: โœญ 280 (-1.41%)
Mutual labels:  markdown
Pander
An R Pandoc Writer: Convert arbitrary R objects into markdown
Stars: โœญ 267 (-5.99%)
Mutual labels:  markdown
Markdownediting
Powerful Markdown package for Sublime Text with better syntax understanding and good color schemes.
Stars: โœญ 2,976 (+947.89%)
Mutual labels:  markdown
Sq
swiss-army knife for data
Stars: โœญ 275 (-3.17%)
Mutual labels:  markdown
Game Programming Patterns
Source repo for the book
Stars: โœญ 3,096 (+990.14%)
Mutual labels:  markdown
Apostrophe
Mirror of
Stars: โœญ 272 (-4.23%)
Mutual labels:  markdown

allmark - the markdown server

allmark is a fast, standalone markdown web server for Linux, Mac OS and Windows written in go.

allmark logo

allmark is a file-system-centric markdown web server. You can point it at any directory that contains markdown files and it will immediately start a web-server that serves the rendered HTML content of the markdown file to you.

And it will not only render the markdown files in your directory as HTML, but it will also add everything that it needed for a complete website: Navigation, Full-text Search, Theming, Sitemap, RSS, Tags, ... on-the-fly with websocket-based live-reload.

Animation: Cloning allmark from github, building it and taking it out for a test run on the allmark repository itself

And thanks to the power of go all of this is super fast and done with a single standalone application.

Usage

Serve a specific directory:

allmark serve <directory path>

Serve the current directory:

cd markdown-repository
allmark serve

Serve the current directory with live-reload enabled:

allmark serve -livereload

Force a full reindex every 60* seconds:

allmark serve -reindex

* When enabled the default interval is 60 seconds. You can change the interval in the repository config.

Force HTTPS (redirect all http requests to HTTPS):

allmark serve -secure

Save the default configuration to the .allmark folder so you can customize it:

allmark init

You can point allmark at any folder structure that contains markdown documents and files referenced by these documents (e.g. this repository folder) and allmark will start a web-server and serve the folder contents as HTML via HTTP(s) on a random free port.

Folder Structure Conventions

The standard folder structure for a markdown-repository item could look something like this:

โ”œโ”€โ”€ files
โ”‚   โ”œโ”€โ”€ image.png
โ”‚   โ””โ”€โ”€ more-files
โ”‚       โ”œโ”€โ”€ file1.txt
โ”‚       โ”œโ”€โ”€ file2.txt
โ”‚       โ””โ”€โ”€ file3.txt
โ””โ”€โ”€ some-file.md
  1. one markdown file per folder (with the extension .md, .markdown or .mdown)
  2. a files folder which contains all files referenced by the markdown document
  3. an arbitrary number of child directories that can contain more markdown-repository items

Nesting / Hierarchie

You can nest repository items arbitrarily. Example:

โ”œโ”€โ”€ child-item-1
โ”‚   โ””โ”€โ”€ item1.md
โ”œโ”€โ”€ child-item-2
โ”‚   โ””โ”€โ”€ item2.md
โ”œโ”€โ”€ child-item-3
โ”‚   โ””โ”€โ”€ item3.md
โ”œโ”€โ”€ files
โ”‚   โ”œโ”€โ”€ image.png
โ”‚   โ””โ”€โ”€ more-files
โ”‚       โ”œโ”€โ”€ file1.txt
โ”‚       โ”œโ”€โ”€ file2.txt
โ”‚       โ””โ”€โ”€ file3.txt
โ””โ”€โ”€ some-file.md

Folders without Markdown Files

  • If you have folders in your repository that don't contains markdown files allmark will display and index of all files in that directory (โ†’ file-collection item)
  • file-collection items cannot have other childs

Markdown Document Structure

allmark makes certain assumptions about the structure of your documents. They should have

  1. Title
  2. Description Text
  3. Document Body

A typical document expected by allmark could look like this:

# Document Title / Headline

A short description of the document ... Usually one sentence.

The Content of your document

![Some Image](files/image.jpg)

- A List 1
- A List 2
- A List 3

**Some garbage text**: In pharetra ullamcorper egestas.
Nam vel sodales velit. Nulla elementum dapibus sem nec scelerisque.
In hac habitasse platea dictumst. Nulla vestibulum lacinia tincidunt.

Download / Installation

You can download the latest binaries of allmark for your operating system from allmark.io/bin

Linux

sudo su
curl -s --insecure https://allmark.io/bin/allmark > /usr/local/bin/allmark
chmod +x /usr/local/bin/allmark

Mac OS

sudo curl "https://allmark.io/bin/darwin_amd64/allmark" -o "/usr/local/bin/allmark"
sudo chmod +x /usr/local/bin/allmark

Windows

Invoke-WebRequest https://allmark.io/bin/windows_amd64/allmark.exe -OutFile allmark.exe

All binaries at allmark.io are up-to-date builds of the master-branch.

If you want to download and install binaries from the develop-branch you can go to develop.allmark.io/bin.

Features

allmark can convert about any folder structure that contains markdown documents into well-structured websites with

  • navigation
  • sitemap
  • search
  • livereload

and serves them via HTTP and/or HTTPs.

For a detailed list of all features goto documentation/features.

Demo / Showcase

If you want to see allmark in action you can visit my blog AndyK Docs at https://andykdocs.de:

Animation: Demo of allmark hosting andykdocs.de

Build

Build Status

Or you can build allmark yourself if you have go installed (see: documentation/development/build).

Known Bugs

-- There are currently no known bugs ๐Ÿ‘ฏ --

If you encouter a bug please file an issue on at github.com/andreaskoch/allmark/issues.

Roadmap / To Dos

Here are some of the ideas and todos I would like to add in the future.

Architecture & Features

  • Allow localization/internationalization
  • Web editor for markdown documents for collaborative editing
  • Additional Data Sources
    • Amazon S3
    • Dropbox support
    • SMTP message posting
    • Repository Replication?
  • allmark swarm
    • Repository sharding
    • load-balancing
    • distributed filesystem (ipfs)
  • Static website generation
  • User Management
    • User management pages
  • Support for folders with multiple markdown files
  • Support for custom-rewrites
  • Daemon mode
  • Create install actions for Windows, Linux and Mac OS which handle the OS integration

Documentation

  • More documentation for public methods (godoc)
  • More unit-tests
  • Integration tests

Theming

  • Redesign default theme
  • Create more default themes
  • Create a theme "loader"
  • Infinite Scrolling for latest items
  • Improved Image Galleries

Contributions

If you want to improve allmark in any way please create a pull request or contact me. All contributions are welcome!

Contact

Twitter: @allmark_io or @andreaskoch Github: github.com/andreaskoch/allmark E-Mail: [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].