Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mcarneiro opened this issue Oct 24, 2022 · 15 comments
Open

Comments

@mcarneiro
Copy link
Contributor

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?

  • The online version is running in a more stable, safer, scalable, and monitored infrastructure. Since we acquired Hastebin and migrated it to our infrastructure, we could improve the daily downtime from ~20% to ~0%.
  • We fixed bugs, performance issues, and memory leaks.
  • We have a team actively taking care of Issues and PRs, and we are working to achieve a 72h response rate.

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

Our main focus was to:

  • follow Toptal quality standards and keep consistency between all tools under Toptal Utilities.
  • redesign the tool to follow the Toptal design guidelines and components. The open-source version has a neutral skin and just a “powered by” mention to Toptal on the about page.
  • improve the security of the application, by following technical good practices and creating mechanisms to mitigate malicious usage of the tool.
  • improve about and documentation pages.
  • improve monitoring and uptime.
  • add light and dark themes.

From a technical perspective, we focused to:

  • have standardized the tech stack to NodeJS, ReactJS, NextJS, TypeScript, and Docker.
  • improve test coverage with unit, e2e, integration, and visual tests.
  • separate the application into Server and Client, making it possible to have it working only with the API, and also making it easier for people that would prefer to have a completely different client.
  • improve the quality of data stores to AmazonS3, File, GoogleDataStore, GoogleCloudStorage, Memcached, Mongo, Postgres, Redis, and RethinkDb.
  • add the possibility of having authenticated users via GitHub Oauth and user/bin relationship.
  • add admin API endpoints (no UI in the first version, but it’ll be added in the future) with the removal of bins and user-blocking mechanisms.
  • add feature flags for most features listed above.

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:

  • Be really pretty - We are using a mature design system to have everything nice and tidy from a visual perspective.
  • Be easy to maintain and hard to break - The new version is better organized and with great test coverage, more robust, and prepared for new features.
  • Be easy to set up and use - Now, we have everything dockerized by default.

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
Copy link

ceifa commented Nov 18, 2022

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
Copy link
Contributor Author

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 [email protected] 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
Copy link

JoCat commented Dec 12, 2022

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
Copy link

Br31zh commented Dec 23, 2022

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
Copy link
Contributor Author

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
Copy link
Contributor Author

Hello everyone, today we launched the new version of Hastebin! 🚀 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.

Insprill added a commit to Insprill/robot-insprill that referenced this issue Feb 1, 2023
Toptal has just launched a new version of Hastebin (toptal/haste-server#429) that requires a GitHub token to access the API. We can probably create a scraper to at least read pastes.
@verymilan
Copy link

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
Copy link
Contributor Author

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
Copy link
Contributor

C0rn3j commented Apr 18, 2023

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
Copy link

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

@mcarneiro
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link

sc-ah commented Jul 3, 2023

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
Copy link

gOOvER commented Jul 10, 2023

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

@sc-ah
Copy link

sc-ah commented Jul 10, 2023

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

paste.j0sh1x.tech

@toptal toptal locked as too heated and limited conversation to collaborators Jul 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants