Skip to content
/ epoch Public

console app for creating timelines that can be exported to HTML or other formats

License

Notifications You must be signed in to change notification settings

nikolakn/epoch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epoch

Is a console app for creating timelines that can be exported to HTML or other formats
it also has an interactive console to interact with events and get various information
epoch internally uses Julian days for date time storing so it supports negative years for BC
cli exaple html export exaple

build

go build -o epoch cmd/main.go

use

epoch works on JSON document files and a file must be provided at the start to print a document on the console:

./epoch -f test.json -p  

to work on file:

./epoch -f test.json

after opening the file, you can type '?' for more information on how to use it

exporting document

to HTML

./epoch -f test.json -o test.html

to new JSON file:

./epoch -f test.json -o test.json

Example

You can try examples from the test_data folder print to console

./epoch -f test_data/ww2.json -p

export to HTML

./epoch -f test_data/ww2.json -o ww2.html 

edit document

./epoch -f test_data/ww2.json

inside a document, you can use commands:

  • p - to print timeline
  • s - save
  • q - exit
  • set zoom - set zoom level in days
  • open html - open html doc in the browser
  • help,? - to look for other options

About

console app for creating timelines that can be exported to HTML or other formats

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published