GithubHelp home page GithubHelp logo

nanopack / hoarder Goto Github PK

View Code? Open in Web Editor NEW
100.0 7.0 21.0 2.25 MB

A simple, api-driven storage system for storing code builds and cached libraries for cloud-based deployment services.

License: MIT License

Go 95.07% Shell 4.93%
golang cloud-storage storage nanobox devops developer-tools devtools nanopack

hoarder's Introduction

nanopack

Hub for nanopack resources and content

hoarder's People

Contributors

glinton avatar henkvanmaanen avatar lyondhill avatar sdomino avatar tolmark12 avatar tylerflint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hoarder's Issues

CLI

Needs a basic CLI

Pluggable backends

Design in a way to allow for pluggable backends (S3, Postgres, ect).

For MVD the first backend will just be the Local FS

Hoarder stores entirety of data before writing

Prior to storing to a file, hoarder performs an ioutil.ReadAll which reads into memory the entire blob. If the data is large enough, this causes system/performance issues.

Unconfirmed: When writing a file, hoarder server doesn't respond to further requests.

Can we support versioning for each blob

Hi,

I find this project is what I need. But only one little defect, which is version is not supported for the blob. So do we have the plan to have this feature?

Thanks in advance.

Keep oldest builds by default

Turn off garbage collection (GC- removing oldest builds) by default.

Allow for GC to be enabled/configured via a config file providing an interval between runs, and amount to GC.

Make generic all the things

Remove libs, and call builds blobs.

Turn this into a key value store, where the key is the file name and the value is just the binary data. Then it can be used for w/e anyone wants to use it for.

Refactor

Refactor the application structure, breaking things into packages where appropriate.

Running server with --insecure=false requires two token headers

Because hoarder is using nanoauth's DefaultAuth object, "X-NANOBOX-TOKEN" is the expected header to authenticate, however, hoarder is authenticating again by checking 'x-auth-token', requiring a user to specify both (-H "x-auth-token: 123" -H "X-NANOBOX-TOKEN: 123") in a request to avoid a 401 response.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.