Git Product home page Git Product logo

Comments (6)

Neekster avatar Neekster commented on August 15, 2024

In general, the ability to embed files would be really relevant to me, especially PDFs and videos.

from digitalgarden.

dayne avatar dayne commented on August 15, 2024

So while I agree it would be nice I will say it probably isn't feasible without figuring out some sort of secondary storage bucket / hosting system for the video files.

  • Git is meant to revision control text files and you can do binary blob files (images, videos, and pdfs) but it isn't intended.
  • You can do it but things get ... not optimal if you "change/move" them because it causes unfortunate things to happen in your git archive.
  • GitHub does not allow uploading of large files (greater than 100MB) to a Git repository.

-dayne

from digitalgarden.

gopokyo-colinn avatar gopokyo-colinn commented on August 15, 2024

The official Obsidian publish has limits of 50mb per file - or something around there. Would having a restriction like that help? I am not aware of change/move issues with our game development projects using largefiles. What are the unfortunate things your are referring to @dayne ?

from digitalgarden.

dayne avatar dayne commented on August 15, 2024

@gopokyo-colinn

The top answer here is pretty good. Another: Why not doing it and what to do to fix it if you do.

This is all why GitHub offers guidance on managing large files on github

from digitalgarden.

russellgordon avatar russellgordon commented on August 15, 2024

Is Git Large File Storage an option for implementing this?

I say this as a longtime Digital Garden user on multiple sites who'd love to see the feature exist – but I have no idea what's involved on a technical level.

As a high-school computer science teacher authoring tutorials for my students, I currently work around this by making animated GIFs in place of short .MP4 files, but GIFs have their own issues.

I'd love to occasionally be able to include PDF files and sometimes .ZIP files as well.

from digitalgarden.

dayne avatar dayne commented on August 15, 2024

LFS is a good option to consider for handling of binary blobs in git. It is not perfect for all usecases/workflows

GitHub supports LFS so that leans nicely into that .. but possible there are a lot of layers of complexity to integrate this correctly and consistently at each of the layers/environments a digital garden workflow involves to go from a workstation to a website.

Serious considerations planning & hacking needed before attempting to weave it into the digitalgarden plugin .. lot of layers of things have to all agree to mange things the same way .. and it where the final website is deployed to would need the tools too.

from digitalgarden.

Related Issues (20)

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.