Very cool! I love using GitHub repos and gists for managing my personal notes/code snippets, and currently use GistPad as an editor-level virtual file system (for VS Code). But having an OS-level equivalent is _super_ useful. Any plans to add support for gists to Hubfs?
Gists are just repos under the hood, it should work natively.
Show HN: Hubfs – File System for GitHub
21–30 of 32 posts
Re: Show HN: Hubfs – File System for GitHub
#22So this is allowing remote git repositories to be treated as a regular filesystem. I really cannot think for good use-cases for this. Maybe to use existing file-based indexing and search tools? I must be missing prime use-cases here.
Re: Show HN: Hubfs – File System for GitHub
#23Re: Show HN: Hubfs – File System for GitHub
#24Re: Show HN: Hubfs – File System for GitHub
#25Re: Show HN: Hubfs – File System for GitHub
#26This is cool. I often want to open random files from random GitHub repos in a proper text editor but can't be bothered to pull the whole repository just for that.
Re: Show HN: Hubfs – File System for GitHub
#27So this is allowing remote git repositories to be treated as a regular filesystem. I really cannot think for good use-cases for this. Maybe to use existing file-based indexing and search tools? I must be missing prime use-cases here.
Re: Show HN: Hubfs – File System for GitHub
#28Earlier quoted context omitted.
Or you could, you know, clone the repository into a local working tree.
Stop for a moment and consider what the tradeoffs of that could be and why it might not work well in some situations.
- Less efficient use of bandwidth, as the git protocol is optimised for bulk transfers
- Not resilient against unreliable connectivity
- No support for repositories not hosted on GitHub
Yes, I can think of some.
Re: Show HN: Hubfs – File System for GitHub
#29Re: Show HN: Hubfs – File System for GitHub
#30So this is allowing remote git repositories to be treated as a regular filesystem. I really cannot think for good use-cases for this. Maybe to use existing file-based indexing and search tools? I must be missing prime use-cases here.
Browsing source code of third party libraries that you're using? This could be especially nice with some debugger integration, if you could just step into a library function, and have the corresponding file opened via hubfs...