Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

klml/gidig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gidig

git-markdown content framework

  • edit DVCS versioned markdown directory ('/md/')
    • on filesystem
    • just HTTP-PUT markdown from a textarea
  • index diff from changeset on outermarkdown (easy hashtags like 'prio#1') to files
  • render alle fields with tenmplates in md
  • CRUD source and html to DCVS- and webservers.
 ┌─server (optional)─┐                ┌─ (web) server ────────┐
 │ ┌────────┐──────┐ │                │  ┌─────────┐┌─────┐   │
 │ │ git    ├┐     │ │                │  │         ││     │   │
 │ │        │├┐    │ │                │  │ html    ││ html│   │
 │ │--------│├┼─┐  │ │                │  │         ││     │   │
 │ │ * list │││ │  │ │                │  │         ││     │   │
 │ │ * lists│││ │  │ │                │  │-------- │└─────┘   │
 │ │ * lis  │││ │  │ │                │  │ * list  │          │
 │ └┬───────┘││ │  │ │                │  │ * list  │          │
 │  └┬───────┘│ │  │ │                │  │ * list  │          │
 │   └───┬────┘ │  │ │                │  └─────────┘          │
 │       │      │  │ │                │                       │
 │       │      │  │ │                │                       │
 └───────┼──────┼──┼─┘                └───────────────────────┘
         │      │  │                                   │       
         ↑      ↓  ↑                                   ↑       
         │      │  │                                   │       
         │      │  │     ┌─ CRUD ───────────────────┐  │       
         │      │  └─────│─ PUT/writer.php/py/js ───│──┘       
         │      │        └─────────────────────┬────┘          
         │      │                              └──────┐        
 ┌───────┼──────┼─── processing ──────────────────────┼───────┐
 │       │      │                                     │       │
 │       │      ├─── 1.) editing (webeditor) ─────────┤       │
 │       │      │                                     │       │
 │       │      ├──────────────────────────────────┐  │       │
 │       │      │   ┌─2.)──────────────────────┐   │  │       │
 │       └───────── │─────── indexer ──────────│───┘  │       │
 │                  │ diff                     │      │       │
 │              │   └──────────────────────────┘      │       │
 │              │                                     │       │
 │              │   ┌──3.)─────────────────────┐      │       │
 │              │   │      ┌─ markdown ────────│──────┤       │
 │              └───│──────┤                   │      │       │
 │                  │      └─ templater ───────│ ─────┘       │
 │                  └──────────────────────────┘              │
 └────────────────────────────────────────────────────────────┘

TODO

  • transclusion
  • tag parser
  • comments ** marken, mitschleifen und per jQuery rauswerfen und vorlegen?
  • non autocommit with dircet access
  • autostart autocommit
  • site title
  • robots.txt

client

  • webediting ** tagssyntaxer ** autocomplete
  • TOC

install

Although you can config all directories, the easiest way is to start in your web-directory, so you have all pages in this directory, or named sub-directories. Only gidig and source (boths in configurable) are reserved for source-files and the gidig script.

/var/www/example.com$ tree . ├── gidig │   ├── config │   ├── css │   ├── gidig.php │   ├── ..... │   └── tpl_header.html ├── source │   ├── Ae.md │   ├── .... │   └── wdsh.md ├── index ├── klml └── tmp git clone git@github.com:klml/gidig.git

copy (cp) or move (mv) config.exmpl to config.

also create your source/ directory here, versioning is here very useful, but not mandatory. Trigger after every content-update source2html.xx

For an "post-update"-hook exec sh ../gidig/source2html.sh

useful pages index.md and 404.md

config

inspired by

name

gidig is a mixture from

  • w__i__k__i__
  • __gi__t
  • ticket
  • and its an palindrome like radar ;)

About

cvs-lightweight-markup content framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors