• Stars
    star
    162
  • Rank 232,284 (Top 5 %)
  • Language
    Emacs Lisp
  • License
    GNU General Publi...
  • Created over 12 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Export Org-mode files as editable web pages
                              Org-ehtml
             export Org-mode files as editable web pages

DESCRIPTION
    Org-ehtml allows for interactively viewing and editing Org-mode
    files through a web browser.  The Emacs web server [1] serves
    Org-mode files as editable HTML exported with a special ox-ehtml
    backend which extends the standard Org-mode HTML export.

    [1]  https://github.com/eschulte/emacs-web-server

REQUIREMENTS
    Emacs 24.3 or later and the Emacs web server [1].

USAGE
    1. Install from melpa [2] or source.

       [2]  http://melpa.org/

    2. Optionally run the tests suite.

       (require 'test-org-ehtml)
       (ert "org-ehtml")

    3. Configure Org-ehtml to serve a directory of Org-mode files on
       your machine (e.g., "~/public_org"), and set all fields to be
       editable.

       ;; NOTE: the org-ehtml-docroot value should be fully expanded
       (setq org-ehtml-docroot (expand-file-name "~/public_org"))
       (setq org-ehtml-everything-editable t)

    4. Start up the web server.

       (require 'org-ehtml)
       (ws-start org-ehtml-handler 8888)

    5. Point your browser to [3] select a page, and move your mouse
       over the page.  Editable portions of the page will be
       highlighted, click on these to edit.

       [3]  http://localhost:8888

EXTENSIONS

    Integration with Version Control

      (require 'vc)

      (add-hook
       'org-ehtml-after-save-hook
       (lambda (request)
         (let ((file (buffer-file-name (current-buffer))))
           (vc-checkin (list file)
                       (vc-backend file) "edit through org-ehtml"))))

    Authentication

      NOTE: This uses HTTP BASIC authentication which is only secure
      when used over a secure (HTTPS) connection.

      Use the `ws-with-authentication' function to protect org-ehtml
      functionality with credentials.  For example, the following
      requires all edits require a user supplies the username "admin"
      and the password "password".

          (setf (cdr (assoc '(:POST . ".*") org-ehtml-handler))
                (ws-with-authentication 'org-ehtml-edit-handler
                                        '(("admin" . "password"))))

    Agenda View

      Org-ehtml supports viewing the Agenda buffer.  It can be enabled
      by setting org-ehtml-allow-agenda to a non-nil value.  The
      agenda can be viewed by adding /agenda/CMD to the url with CMD
      being one of the following.

      day, week, fortnight, month, year:
        Show org-agenda-list in that range.  For example [4] will show
        the agenda for the specified day.  An additional argument can
        be provided to set the start date.

        [4]  http://localhost:8888/agenda/day/2013-11-11

      any natural number:
        Show org-agenda-list for that many days.  Similar to using
        day, week, etc.

      todo:
        Show org-todo-list.

      tags:
        Show org-tags-view.  It requires an additional argument
        (separated by a /) specifying the tag.  Using todo as first
        argument will limit the search to TODO entries.  For example
        [5] will show all headlines tagged :work: and [6] will only
        show headlines tagged :work: and marked TODO.

        [5]  http://localhost:8888/agenda/tags/work
        [6]  http://localhost:8888/agenda/tags/todo/work

STYLE

    Override CSS by making a file in your home directory called
    ~/.ox-ehtml-override.css and enter in your CSS in there. A
    good theme is: https://github.com/oxalorg/sakura/

More Repositories

1

emacs24-starter-kit

A cleaner version of the literate starter kit based on Emacs24
Groff
800
star
2

epresent

Presentations in Emacs -- based on Org-mode
Emacs Lisp
178
star
3

emacs-web-server

web server running Emacs Lisp handlers.
Emacs Lisp
167
star
4

yasnippets-rails

A collection of yasnippets snippet definitions for use with Ruby on Rails
Emacs Lisp
91
star
5

rhtml

Minor Mode for editing rhtml file in Emacs (does not use MuMaMo)
Emacs Lisp
91
star
6

clang-mutate

Manipulate C-family ASTs with Clang
C++
65
star
7

graph

Simple graph data structure and algorithms
Common Lisp
65
star
8

org-scraps

Collection of Org-mode snippets
56
star
9

jump.el

elisp utility for defining functions which contextually jump between files
Emacs Lisp
48
star
10

lisp-format

A tool to format lisp code. Designed to mimic clang-format.
Emacs Lisp
44
star
11

curry-compose-reader-macros

Reader macros for concise expression of function partial application and composition.
Common Lisp
37
star
12

blorgit

a simple org-mode based, git amenable, blogging engine running on sinatra
Ruby
36
star
13

shen-mode

An Emacs major mode for editing Shen source code
Emacs Lisp
30
star
14

llvm-mutate

manipulate LLVM IR files
C++
30
star
15

elf

Actively maintained at https://github.com/grammatech/elf
Common Lisp
29
star
16

org-S5

Org-mode html export of S5 slideshow presentations
JavaScript
26
star
17

goa

Evolutionary optimization of extant software
Shell
26
star
18

el-go

Emacs interface to the game of GO
Emacs Lisp
24
star
19

babel-dev

Tracking babel development
Emacs Lisp
23
star
20

software-evolution

evolution of extant software
Common Lisp
22
star
21

node-gpg

Node.js bindings for Gnu Privacy Guard
C++
22
star
22

CiSE

short article introducing Org-mode's application to RR
Shell
17
star
23

oncs

A distributed lisp virtual machine
C
13
star
24

delta-debug

Common Lisp implementation of delta debugging
Common Lisp
13
star
25

netgear-repair

Automated Repair of Exploits in NETGEAR Router Binary
TeX
9
star
26

sinatra_el

An Emacs mode for working with the sinatra web-application DSL
Emacs Lisp
9
star
27

cl-arrowz

Drop in replacement for cl-arrows
Common Lisp
7
star
28

tracer

simple ptrace-based program execution tracer
C
6
star
29

simple-server

A simple web-server run by Emacs
Emacs Lisp
6
star
30

active_file

File based persistence for Ruby on Rails models. (rails plugin)
Ruby
6
star
31

acts_as_org

Provides org-mode actions for ActiveFile records (rails plugin)
Ruby
6
star
32

sed-mode

Emacs major mode for editing sed code
Emacs Lisp
6
star
33

orgit

a wiki powered by git and Emacs Org-Mode
Ruby
6
star
34

blorgit_themes

themes for blorgit
5
star
35

anonymize

source code anonymization
Emacs Lisp
5
star
36

babel-presentation

Presentation demonstrating the use of code blocks in Org-mode
5
star
37

fuzz-hardening

evolutionary technique of hardening black box binaries
TeX
5
star
38

cloogle

unit test based function recommendation
Common Lisp
5
star
39

memoize

thread safe function memoization
Common Lisp
4
star
40

org-docco

docco Code Documentation from Org-mode documents.
4
star
41

go-mode

DEPRECATED, replaced by el-go at https://github.com/eschulte/el-go
Emacs Lisp
4
star
42

pseudo-print

print lisp as pseudo-code
Common Lisp
3
star
43

dissemination

Distributed information dissemination
Shell
3
star
44

el-sprunge

sprunge-style paste server
Emacs Lisp
3
star
45

sorters

a collection of sorting algorithms
Common Lisp
3
star
46

asm-tools

Instrument x86 GAS-syntax assembler files
Common Lisp
3
star
47

sand-pile

Common Lisp
3
star
48

org-mode-jss

Org-mode submission to JSS (http://www.jstatsoft.org/)
Emacs Lisp
3
star
49

acts_as_git

Allows ActiveFile models to interact with git repositories
Ruby
3
star
50

asm

Evolutionary program repair over assembly code (including some Java bytecode)
Clojure
2
star
51

survey.js

a very simple form-based survey
JavaScript
2
star
52

green

C++
2
star
53

cla

An extendable tool suite for data analysis from the command line.
Scheme
2
star
54

eschulte.github.com

landing page for eschulte.github.com
2
star
55

nuh

National Union of the Homeless
Liquid
2
star
56

shit4climate

Give a shit for the climate
CSS
2
star
57

gp4ixm

Distributed GP for IXM boards (also contains generally useful visualization tool)
Ruby
2
star
58

bin-ed

(unmaintained and long unused) Clojure functions for editing binary files
Clojure
2
star
59

node-jshon

node.js clone of https://github.com/keenerd/jshon
C
2
star
60

rw-elf

A simple library for the manipulation of extant elf files
C
2
star
61

rgg-cl

random geometric graph visualization using Common Lisp and Gnuplot
Common Lisp
2
star
62

data-wrapper

wrap text data in a portable script to share both data and analysis
Shell
2
star
63

cl-join

join sequences on matching elements --- replacement for the "join" unix coreutil
Common Lisp
2
star
64

gp4ixm-report

Final report summarizing the gp4ixm project
Ruby
1
star
65

stuop

Evolutionary optimization of student programming assignments
C
1
star
66

simpler-documentation-template

A very simple port of Edmund Weitz's documentation-template for Common Lisp
Common Lisp
1
star
67

software-evolution-logo

Simple graphic for evolutionary software improvement
TeX
1
star
68

sh-runner

Tool for protected execution of shell scripts through the file system
Shell
1
star
69

gpolygon

Match polygons to images using a steady state genetic algorithm
Common Lisp
1
star
70

cil-mutate

Manipulate C Intermediate Language ASTs with CIL
OCaml
1
star