Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiranandcode/emacs-viewer
A web frontend for your Org-files (100% faithful to GNU+Emacs!)
https://github.com/kiranandcode/emacs-viewer
emacs front-end ocaml time-tracking web
Last synced: 9 days ago
JSON representation
A web frontend for your Org-files (100% faithful to GNU+Emacs!)
- Host: GitHub
- URL: https://github.com/kiranandcode/emacs-viewer
- Owner: kiranandcode
- License: agpl-3.0
- Created: 2022-12-02T12:56:33.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T12:59:19.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T21:48:08.837Z (25 days ago)
- Topics: emacs, front-end, ocaml, time-tracking, web
- Language: Common Lisp
- Homepage:
- Size: 1.42 MB
- Stars: 118
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
***NOTE: THIS IS A MIRROR, REAL DEVELOPMENT HAPPENS ON https://codeberg.org/gopiandcode/emacs-viewer***
# Emacs ViewerA web frontend for your Org files! (100% faithful to GNU+Emacs!)
## Screenshots
![intro_gif](https://raw.githubusercontent.com/Gopiandcode/emacs-viewer/master/images/intro-gif.gif)Damn, feels good to be FREE (AGPL3+).
Awesome features!
- Live updating:
![live_updating](https://raw.githubusercontent.com/Gopiandcode/emacs-viewer/master/images/live-updating.gif)- Clocking support:
![clocking_support](https://raw.githubusercontent.com/Gopiandcode/emacs-viewer/master/images/clocking-support.gif)- Filtering by completed tasks:
![completed_tasks](https://raw.githubusercontent.com/Gopiandcode/emacs-viewer/master/images/completed-tasks.gif)- Full text search over org headlines:
![full_text_search](https://raw.githubusercontent.com/Gopiandcode/emacs-viewer/master/images/full-text-search.gif)- Filtering by tags :
![tag_filtering](https://raw.githubusercontent.com/Gopiandcode/emacs-viewer/master/images/tag-support.gif)## Project setup
Emacs_viewer requires OCaml 4.14.0 to build, to install the project dependencies, simply run:```bash
opam install --deps-only .
```Then to build the executable, simply run:
```
dune build --release ./bin/main.exe
```Copy the executable in `./_build/default/bin/main.exe` to somewhere
convenient with the name `emacs_viewer` (on your path), and run to your
hearts content!```
./emacs_viewer --helpNAME emacs-viewer
SYNOPSIS
emacs-viewer [--client=VAL] [--debug] [--port=VAL] [OPTION]…OPTIONS
-c VAL, --client=VAL
Command to use for Emacsclient, defaults to emacsclient.emacs.-D, --debug
Whether to run in debug mode.-p VAL, --port=VAL
Port to run server on, defaults to 8080.```
## Developer setup
Then to build and run the tests:
```bash
opam exec -- dune build
```Finally, to run the tool:
```bash
opam exec -- dune exec ./bin/main.exe --
```For development, we provide an OCaml script that uses inotify to
rebuild and rerun the project automatically when the sources change:```
opam exec -- dune exec ./scripts/run_and_rebuild.exe
```## Project structure
The project is organised as follows:
```bash
.
|-- LICENSE
|-- bin/ -- CLI & entry point
|-- data/ -- generic representation of Org data in OCaml
|-- js/ -- frontend using Bonsai
|-- lib/ -- Dream server
|-- scripts/ -- Utility tools for development
|-- styles/ -- Project styling
|-- test/ -- Tests
|-- dune
`-- dune-project
```