Hacker News new | past | comments | ask | show | jobs | submit login
Drift. A self-hostable open-source Gist clone (github.com/maxleiter)
121 points by sebastianconcpt on March 29, 2022 | hide | past | favorite | 23 comments



Can you git clone and git push a drift same way you can git clone and git push a gist?


This. Git integration is the major differentiating feature of gist from all other pastebins.


I've used gists since the beginning and didn't even realise you could treat it like a git repo.


While 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.


There 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.


no, 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.


Hi 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.


Fixed, thanks!


Feature request: ephemeral drifts. This is a major missing feature of gist in my opinion.


Yes, the ability to set an expiration time on a drift would be huge.


In case you see this, I've added basic support for expiring posts.


Fantastic.


This seems like a neat idea! I like it too.


Wished 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.


Naming things is hard. Drift is already a few other things including a popular website contact widget company.


But now you can say "catch my drift"

(more seriously, it's also a synonym of Gist, see https://twitter.com/emilyst/status/1499860458207014912 for the origin)


Naming 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.


I was expecting Uber for drift cars...like a gig economy for get-away vehicles and fast rides.


> Internal Server Error

Boo


It's pretty normal for a website to go down when hitting HN frontpage. But here it seems up


It'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.


Someone opened an issue here 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!


Ah good I shall try it again




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: