Skip to content

orey/timeline-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Timeline Explorer

This utility program takes as input a folder, scans it for all files and sort it from the more recent to the oldest one. It generates an html file pointing to files, sorted in a timeline manner.

Updated: December 29 2019

Stable version

  • champ4.lisp : stable version

Usage

Just load the file and follow instructions.

Compatibility notes

Tested under sbcl/debian and cmucl/debian.

champ2.lisp was portable Linux/Windows but champ4.lisp was not tested under Windows.

Potential to do

  • Use macros to generate html in an easier way.
  • Optimize.
    • champ5.lisp: write the html page in memory before dumping it in a file.
  • Port for Windows.

Implementation notes

The v4 version is based on the following design choices:

  • The basic recursion explores the tree of folders and aggregates it in a list of files;
    • Used type (string): (namestring (car (directory XX)));
  • Another loop creates the datetime tags and store it in a list:
    • ((second-nb1 namestring1) (second-nb2 namestring2) ... (second-nbi namestringi));
  • Then the list is sorted based on timestamps;
  • Then the html is generated (with the index in parallel).

About

Lisp simplified version of Champollion explorer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published