Skip to content

artemkin/git-lfs-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git LFS server

Simple HTTP(S) server for Git Large File Storage.

$ ./lfs_server -help
Start Git LFS server

  lfs_server [ROOT]

=== flags ===

  [-cert file]   File of certificate for https
  [-key file]    File of private key for https
  [-p port]      TCP port to listen on
  [-s address]   IP address to listen on
  [-build-info]  print info about this build and exit
  [-version]     print the version of this build and exit
  [-help]        print this help text and exit
                 (alias: -?)

By default, it starts on https://localhost:8080 and treats current directory as ROOT. All object files are stored locally in ROOT/.lfs/objects directory.

TODO

  • HTTPS support (trivial to add)
  • Authentication
  • Upload validation (calculate SHA-256 digest)
  • Speed-up uploading (fixed in cohttp, see #330)
  • Multi server support
  • Automated tests