5 ms·
Drift. A self-hostable open-source Gist clone
- codetrotter 5y agoCan you git clone and git push a drift same way you can git clone and git push a gist?
- zokier 5y agoThis. Git integration is the major differentiating feature of gist from all other pastebins.
- c0balt 5y agoWhile a lot heavier but also good, GitLab CE/ EE have "snippets", basically gists, that are backed by git repositories. Same UI as GitHub gists, same comment/ visibility/ share system.
- petepete 5y agoI've used gists since the beginning and didn't even realise you could treat it like a git repo.
- emilyst 5y agoThere are plenty of other systems to do this with. Gist's value proposition seems orthogonal to its Git integration—more to do with its UX.
- MaxLeiter 5y agono, but once API tokens are implemented (probably this week) you'll be able to write up scripts that can do similar. I definitely plan to have a VSCode extension for sharing files / snippets.
- chrisweekly 5y agoNaming things is hard. Drift is already a few other things including a popular website contact widget company.
- chockchocschoir 5y agoNaming things is indeed hard, using multiple keywords for searching is not (both Google and DuckDuckGo supports this). "Drift pastebin" turns up two hits that would lead me to this project. This HN submission will make the repository score even better for those keywords, so expect it to be even easier to find in a day or two.
- MaxLeiter 5y agoBut now you can say "catch my drift" (more seriously, it's also a synonym of Gist, see https://twitter.com/emilyst/status/1499860458207014912 https://twitter.com/emilyst/status/1499860458207014912 for the origin)
- nanomonkey 5y agoI was expecting Uber for drift cars...like a gig economy for get-away vehicles and fast rides.
- wsatb 5y agoFeature request: ephemeral drifts. This is a major missing feature of gist in my opinion.
- nodesocket 5y agoYes, the ability to set an expiration time on a drift would be huge.
- emilyst 5y agoThis seems like a neat idea! I like it too.
- MaxLeiter 5y agoIn case you see this, I've added basic support for expiring posts.
- nodesocket 5y agoFantastic.
- deleted 5y ago[deleted]
- kerblang 5y ago> Internal Server Error Boo
- nextaccountic 5y agoIt's pretty normal for a website to go down when hitting HN frontpage. But here it seems up
- kerblang 5y agoIt's up but whenever I try to make a page it internal-server-errors me. I'm not unappreciative I was just hoping maybe the author would say, hey I saw your booboo in my log and fixed it for you or something. Instead cometh the downvote army... also, boo.
- MaxLeiter 5y agoSomeone opened an issue here https://github.com/MaxLeiter/Drift/issues/53 https://github.com/MaxLeiter/Drift/issues/53 and I just pushed the fix a few minutes ago. In short, 500 errors in production were being stripped of the message so I switched to sending 400s for certain errors (which I should have been doing all along). Thanks!
- kerblang 5y agoAh good I shall try it again
- crecker 5y agoWished to have it with Golang! One binary to build and deploy to all my clients websites. There are a lot of people that want their self hosted Gist clone just to keep the notes internally.
- KindAndFriendly 5y agoHi Max, Great effort! Minor feedback: - When I click on the "+ New" icon on the left, I would expect to be able to create a new text snippet. But I'm stuck on the "Welcome to Drift" page (I'm on Safari). - When I click "Add A File" I get another entire instance of the editing window.
- MaxLeiter 5y agoFixed, thanks!