Tech Stuff
Tech Stuff
📌 Quick Note: You don't need to understand any of this to use Rhappsody! This page is just for the curious. Feel free to skip it entirely and go build something amazing.
Four Things That Make Your Apps Amazing
Edge Delivery
Your apps load instantly from servers near your users
Smart Compilation
Your app becomes tiny and fast automatically
Image Optimization
Pictures load faster without quality loss
User Authentication
Password-protect anything with a few lines of code
1Your Apps Are Lightning Fast, Everywhere
Here’s something cool about your Rhappsody apps: they’re served from the “edge” of the internet. But what does that actually mean?
Your Apps Are Everywhere
When you build an app with Rhappsody, we automatically copy it to hundreds of locations around the world. These locations are called “edge servers” because they’re at the edge of the internet, close to where people actually are.
So when someone in Tokyo visits your app, they get it from a server in Tokyo. When someone in London visits, they get it from London. And someone in New York? You guessed it – they get it from New York.
What This Means for You
- Fast Loading - Your app loads in milliseconds, not seconds
- Always Available - If one location has issues, others automatically take over
- Global Reach - Your app works great whether your users are next door or across the ocean
- No Extra Work - This all happens automatically. You don’t have to do anything!
The Bottom Line
You focus on building great apps. We handle making them fast and reliable everywhere in the world. It’s like having a worldwide IT department that you never have to think about.
2Your Code is Compiled for Speed
Here’s something really cool: when you write Rhyme code, we don’t just run it as-is. We transform it into something called “bytecode.”
Think of It Like This
Writing Rhyme is like writing a recipe:
Add flour
Mix in eggs
Bake for 20 minutesBytecode is like having a robot chef: The robot reads your recipe once, memorizes it, and can now make the dish at superhuman speed every single time.
Why This Matters
- Tiny Files - Your app might be 1000 lines of Rhyme, but compiles down to just a few kilobytes
- Lightning Fast - Bytecode runs much faster than regular code
- Secure - Your original code is protected; only the optimized version is sent to users
- Battery Friendly - Less work for devices means longer battery life for your users
Real Numbers
A typical Rhappsody app:
- Your Rhyme code: ~500 lines
- Compiled size: ~10KB (smaller than a single photo!)
- Load time: Under 100 milliseconds
All this optimization happens automatically every time you save. You write simple, readable code. We make it fast.
3Your Images Load Fast, Automatically
Ever visited a website where images take forever to load? We solved that problem for you.
The Magic of Automatic Image Optimization
When you add an image to your app, something clever happens behind the scenes:
What You Do: Upload any image – a photo from your phone, a screenshot, whatever.
What We Do:
- Smart Resizing - We create multiple sizes of your image
- Format Magic - We convert it to the best format for each visitor’s device
- Lazy Loading - Images only load when someone scrolls to them
- Quality Tuning - We find the perfect balance between quality and file size
The Result: Your images load much faster without you doing any extra work. A 5MB photo from your phone becomes a lightning-fast 50KB image on the web – but still looks great!
4Password Protection Made Simple
Want to keep parts of your app private? With Rhappsody, adding user accounts and password protection is as easy as writing a few lines of Rhyme.
No Database Setup, No Hassle
The Old Way: Setting up user accounts traditionally requires:
- Creating a database
- Building login forms
- Writing authentication code
- Managing passwords securely
- Handling forgotten passwords
- …and about 47 other things
The Rhappsody Way:
.login => $user
if $user
.text "Welcome back, " + $user.name
.button "View Private Content" => /private-area
else
.text "Please log in to continue"
endThat’s it. Seriously.
You’re in Complete Control
With Rhappsody’s user system, you can:
- Create User Groups - Admins, members, guests – whatever you need
- Protect Any Content - Lock entire pages or just specific buttons
- Set Permissions - Decide who can see, edit, or delete things
- Track Activity - See who’s using your app and when
- Manage Users - Add, remove, or modify users anytime
Real Example: A Team Dashboard
# Only team members can see this
.require-user "team" =>
.title "Team Dashboard"
.text "Secret team stuff here!"
# Only admins can see this button
if $user.role = "admin"
.button "Delete Everything" -danger => confirm-delete
endThe Best Part?
- Passwords are encrypted - Even we can’t see them
- Sessions are secure - Users stay safely logged in
- It just works - No configuration needed
- Scale automatically - Works for 10 users or 10,000
📌 Note: User authentication is available on all paid plans (Personal, Pro, and Business). The free plan is for public apps only.
Pretty cool, right? 🚀