toptal / haste-server

open source pastebin written in node.js
https://www.toptal.com/developers/hastebin/about
2.91k stars 797 forks source link

Important announcement: Soon a new version of Hastebin will be launched! #429

Open mcarneiro opened 1 year ago

mcarneiro commented 1 year ago

Hello fellow users and contributors, we have some exciting news to share 🎉!

As you might know, Hastebin was acquired by Toptal in 2021, and we started to work on a new version of the tool. But don’t worry, you will be able to enjoy continued free access and improved capabilities to complete your projects easily and quickly.

What is Toptal?

Toptal is a network of the world's top talent. We connect developers, designers, finance experts, project managers, and product managers with leading global companies and startups to power innovation. Learn more about freelance remote careers at Toptal.

Why has Toptal acquired this project?

Hastebin is a tool we believe in and want to improve. And now it is part of Toptal Utilities, a suite of free online tools to help you get the job done.

What have you improved so far?

What can I expect for this first relaunch of hastebin.com?

Our main focus was to:

From a technical perspective, we focused to:

IMPORTANT: Breaking changes in the new online version of hastebin.com!

There are a few breaking changes in the new online version:

  1. On hastebin.com version, all API requests will require connecting Hastebin with Github and generating a token.
    • Every request without a token will return a 401 status code.
    • Because of that, haste-client in its current state won’t be compatible anymore and will need to be updated.
  2. It’ll be mandatory to accept the Terms and Conditions to use the tool.

It is expected to have the new version launched by the end of the year.

Open-source version relaunch

Following the relaunch, we'll closely monitor the initial weeks and concentrate on the open-source adjustments; to do this, we'll use the v2 branch.

What can I expect for the future of Hastebin?

We want to be closer to the community, actively listening to the ideas, guided by the following principles:

If you want to contribute to the project or create feature requests, we’ll be updating this repository with updated and detailed contribution guidelines.

ceifa commented 1 year ago

we could improve the daily downtime from ~20% to ~0%.

Since this acquisition I couldn't use hastebin again, the API is always down or you guys simply changes the URL. The current problem is a cloudflare proxy.

mcarneiro commented 1 year ago

Since this acquisition I couldn't use hastebin again, the API is always down or you guys simply changes the URL. The current problem is a cloudflare proxy.

Hi @ceifa, thanks for bringing this up. We did have a problem last week with Cloudflare due to bot protection issues so public API was blocked for some days and we fixed this Monday (Nov 21st). The service itself was not down so users could use it via UI.

If you have any issue with the tool, please contact us via support@toptal.com and it will be prioritized in our pipeline, as those requests will be treated as an incident and are quickly acted on. You can also create a new issue here in this repo.

JoCat commented 1 year ago

Good afternoon, went to the repository today to check the status of my PR and also to see the settings to work with redis and was pleasantly surprised by the information above. I hope you have a cool and awesome tool. Thanks for helping the community grow the project.

Br31zh commented 1 year ago

Will the new version still be easy to set up without Docker? That’s one of the main reason I actually host a hastebin service, because it’s already easy to deploy.

mcarneiro commented 1 year ago

Hi @Br31zh, keep in mind that we split the application into 2 parts (API and UI), so if you want to use both without Docker, it will be more complex than the current version, but we'll create a tag with a snapshot of the version 1 for people who prefer that.

mcarneiro commented 1 year ago

Hello everyone, today we launched the new version of Hastebin! :rocket: Note that the endpoint for bins was changed to hastebin.com/share/<bin-id> and existing bins were not migrated. If you use haste-client, be sure to update it to the last version as public API calls will require an API token auth header.

verymilan commented 1 year ago

Thats cool, even tho i am not sure how to feel about raw only being a download. But... where is the source of these updates?

mcarneiro commented 1 year ago

Hi @verymilan, raw endpoint still exists via API, but they are protected by an authentication layer now to avoid malicious usage of the tool (we had a lot of incidents of that nature since we acquired it).

About the updated source code, we'll be updating this repository in the following quarter.

C0rn3j commented 1 year ago

It is unclear to me whether the new version will keep the MIT licensing, or if you will go proprietary with it.

You mention "open-source version" twice in the OP, is there a proprietary and an open source version then?

What are the differences?

AAGaming00 commented 1 year ago

Seems like the new version at toptal.com has a greatly reduced set of features and much worse UI. Good job "improving" hastebin!

mcarneiro commented 1 year ago

Hi @C0rn3j, the open-source and published version will have the same source, but we haven't moved it to this repository yet and unfortunately, we have no estimated date to do so. The license will be the same.

mcarneiro commented 1 year ago

Hi @AAGaming00, sorry to hear that. Note that the previous version is still available in this repo, it's possible to fork and self-host it.

sc-ah commented 1 year ago

Seems like the new version at toptal.com has a greatly reduced set of features and much worse UI. Good job "improving" hastebin!

Yeah they killed hastebin, of a simply ctrl+v , ctrl+s they made sevral mouse clicks and agree licsense, also you need to click a button to share your paste as url not the page itself

gOOvER commented 1 year ago

best way would be, when someone fork hastebin. Toptal only killed this project

sc-ah commented 1 year ago

best way would be, when someone fork hastebin. Toptal only killed this project

paste.j0sh1x.tech