Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@akashnetwork/lfs

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akashnetwork/lfs

Fastify GIT LFS Server

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Fastify GIT LFS

Use use git to manage your static files and offload them to a large binary provider.

Supported

  • Git LFS v1 Batch API
  • JWT to secure download, upload

Coming Soon

  • Basic Authentication with SSH Support.

How to Use

Setup

Install the Git Large File Support Addon. This addon allows the git client, to offload the images in the git repository, to an external location.

Add trackable binary files (creates a .gitattributes to commit to repo)

git lfs track "*.png"

Create a .lfsconfig file in the root of your repository, point it to our open SiaSky uploader, or to a self hosted version if you prefer.

[lfs]
url = "https://localhost:3000/:githubOrg/:githubRepository"

Start the LFS server locally (or connect to one in the cloud)

npx @dmikey/fastify-git-lfs

Commit files like normal

git add image.png
git commit -m "adding the image"
git push

Images are automatically uploaded to Skynet as the default store, and placeholders are commited to your repository.

version https://git-lfs.github.com/spec/v1
oid sha256:a480292a083cffbae4602079113e3b6ed8e7ed24ffabda282eb2054460ad7325
size 65898

Your files are now stored on Skynet. To continue working with your files locally, use git lfs!

git checkout branch
git lfs fetch
git lfs checkout

Your images are downloaded from Skynet, and the pointer files are updated locally.

No Verification

Why? Because git lfs doesn't use it to prevent commit. If a server responds 200 to an upload, git lfs is hitting verification for the benefit of the server. When this changes, verification will be enabled.

Thank you for the original implimentation

https://github.com/kzwang/node-git-lfs

FAQs

Package last updated on 22 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc