Drift vs lesma

A side-by-side comparison of two self-hosted pastebins & snippets options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureDriftlesma
CategoryPastebins & SnippetsPastebins & Snippets
LicenseAGPL-3.0GPL-3.0
LanguageTypeScriptRust
Setup difficultyMediumMedium
Min. RAM512 MB512 MB
Deploymentdocker, bare-metaldocker
GitHub stars★ 1,363★ 8
First released20222026
ReplacesGitHub Gist

Why pick each one

Choose Drift if…

  • Released under the AGPL-3.0 license
  • First-class Docker support for quick deployment
  • Active community (1.4k GitHub stars)
  • Written in TypeScript
Drift details

Choose lesma if…

  • Released under the GPL-3.0 license
  • First-class Docker support for quick deployment
  • Written in Rust
  • Lightweight — runs in 512 MB RAM
lesma details

Frequently asked questions

Is Drift or lesma better?

Neither is universally better. Drift has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.

Are Drift and lesma free and open-source?

Yes. Drift is licensed under AGPL-3.0 and lesma under GPL-3.0. Both can be self-hosted at no software cost.

Can I run Drift and lesma with Docker?

Drift: yes. lesma: yes.

Related comparisons