r/rust • • Jun 05 '19
Bloom - A free and open source 'Google' (in Rust)
Hi rustaceans!
Today is a great day, the achievement of months of work (and also the start of a great adventure 🚀).
I'm very excited to announce Bloom: A free and Open source ‘Google’.

Our mission? Empowering the world with open technologies.
Why? How? What? 👉 https://kerkour.com/blog/bloom-a-free-and-open-source-google
🌐 Website: https://bloom.sh
📱Android App: https://play.google.com/store/apps/details?id=com.bloom42.bloomx
👩💻 Code: https://gitlab.com/bloom42
All the backend and services are written in Rust 🦀 and are entirely free and open source on GitLab. No opencore, no bullshit.
I’ve written the backend 3 times:
First time in JavaScript because I know it relatively well and because it’s a relatively functional language.
But performance (especially crypto stuff) were too bad, and the lack of typing is just not possible.
Then, ‘catched’ by Google’s marketing I rewrote it in Go. Performance were very good, compile time excellent, and cross compilation perfect. BUT the language itself is too poor. Lack of immutability, lack of generics, mediocre module system, very poor package management at the time … made it doesn’t really scale.
It’s really easy to write HTTP servers in Go, but nothing more, the business layer is completely rotten by the imperative paradigm.
And finally, after ~2 months of testing and fear of making the bad choice I rewrote it in Rust. Compile time is bad, but everything else is so awesome:
- An expressive and modern language
- Strongly typed, It’s a real pleasure to be under so much pressure when your code compiles
- An open-source language, with open governance that fully embraces our values
- A language that allows both high-level abstractions and low-level constructs, without performance cost
- All our services must be able to be self-hosted on a Raspberry pi
- Compound interests: being expert in a language capable of web services, robotics and blockchains, multiply creative capabilities
- Developers love it <3: https://insights.stackoverflow.com/survey/2019
- Because it is THE language to rule them all: http://www.paulgraham.com/avg.html
What I find currently lacking:
- compile time and memory consumption (Too much resources required for CI/CD)
- Cross compilation (Go is THE reference)
- Async compiler errors
Yes there were some major bugs (actix multipart). But thanks to the awesome community, they were all quickly fixed!
And yes, the code is not idiomatic (lot of .clone()), but currently the performance are good enough.
A special thanks to this awesome community who helped me countless times and tirelessly create high quality libraries (diesel, actix-web, zip...) 🙏
The project seems awesome and you want to contribute?
- by spreading the word on twitter: https://twitter.com/z0mbie42/status/1136297238387482625
- by spreading the word on hacker new: https://news.ycombinator.com/item?id=20105567
- by spreading the word on mastodon: https://mastodon.social/web/statuses/102219734596471572
- by contributing on GitLab: https://gitlab.com/bloom42
- By becoming a patron: https://www.patreon.com/bloom42
- By becoming a sponsor: https://bloom.sh/become-a-sponsor
Let's spread freedom 🤩
Sylvain Kerkour, a.k.a z0mbie42
19
u/monkey-go-code Jun 05 '19
30 gigabytes of free storage. If you don't mind me asking, how are you funding this?
14
u/antoyo relm · rustc_codegen_gcc Jun 05 '19
Is there any plan for a search engine?
8
u/radix Jun 05 '19
Your front page mentions a "serverless" technology, but I can't find any information on it, is there some place I can learn more about it?
4
u/cmhe Jun 06 '19
Do you have a fdroid repository for the android app, for people not having gapps installed on their phone?
3
u/dochtman rustls · Hickory DNS · Quinn · chrono · indicatif · instant-acme Jun 06 '19
Is there any documentation on the technical architecture? You talk about encryption, does that mean end-to-end encryption? How are the keys managed? You seem to have invented your own configuration file format. Why?
2
u/chutiyabehenchod Jun 06 '19
For majority of apps you have it needs to be able to directly integrated with mobile and/or desktop environments to be useful.
2
u/yotties Jun 06 '19
Nice idea. Good Luck.
2
u/[deleted] Jun 07 '19 edited Jun 07 '19
Wow I like this idea of open-source Google-like suit of apps, I did try out the android app and I think it a design refresh, also it looks to me like its using WebView which means there's no API implemented as of yet, is this something you consider in the future? I'm an Android developer and I wouldn't mind contributing to this project
20
u/derp0815 Jun 06 '19
Cool project, but calling it "a Google" and not having the one thing everyone associates with Google is a bit of a blunder.
1
u/XTL Jun 06 '19
Very interesting project.
There are a few mentions of the whole thing running on rpi. Is there any image or document on how to set this up? Will it run on a lone host or network behind an air gap?
1
u/alanhoff Jun 05 '19
FDD – Fearmongering Driven Development
2
u/[deleted] Jun 07 '19
No word processor, no spreadsheet, no presentations, no way to import or export contacts, a display-only calendar (no events, no reminders, no subscriptions), gallery doesn't display portrait orientation very well, no sync client for the drive or gallery that I can find. Seems more like an alpha than a beta to me, but it looks nice so far. Targeting developers rather than end users at this point makes sense.
1
u/TotesMessenger Jun 06 '19
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
0
u/feldoneq2wire Jun 06 '19
I read the Bloom homepage. He vomited like 8 TED talks.
0
u/[deleted] Jun 06 '19
[deleted] — view deleted comment