Skip to content

Commit

Permalink
homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperknot committed Sep 26, 2024
1 parent ab5c001 commit 2efce0a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
3 changes: 0 additions & 3 deletions website/src/content/donate/pro.md
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
## Do you offer support and SLA guarantees?

At the moment, I don't offer SLA guarantees or personalized support. However, if there's enough interest, I may introduce a Pro plan in the future. If you're interested, please let me know by sending an [email](mailto:[email protected]).
26 changes: 6 additions & 20 deletions website/src/content/index/after_donate.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,20 @@
## Why did you build this project?

OpenStreetMap is one of the most important collective projects in history. It began 20 years ago, and today, 3 million edits are made each day!

For a long time, when you wanted to use the map on your website or app, you had to look for a commercial map tile provider and hope your site didn't become too popular. Otherwise, you might end up with a $10,000 bill in a single day, as Hoodmaps [did](https://x.com/levelsio/status/1730659933232730443).

Self-hosting was an option, but it required a big server and a lot of time to get it right.

Since I've spent many years developing the map tile infrastructure for [MapHub](https://maphub.net/), I decided to open-source it so anyone can use it. With OpenFreeMap, you now have the option to either set up your own server with just one line of code or use our public instance.

## How can you offer a free public instance ?

There is no technical reason why map hosting costs as much as it does today. Vector tiles are just static files. It's true that serving hundreds of millions of files is not easy, but at the end of the day, they are just files.

Financially, the plan is to keep renting servers until they cover the bandwidth. I believe it can be self-sustainable if enough people subscribe to the support plans.

If this project helps you save on your map hosting costs, please consider subscribing to a support plan.

## Is commercial usage allowed?

Yes.

## Do you offer support and SLA guarantees?

At the moment, I don't offer SLA guarantees or personalized support. However, if there's enough interest, I may introduce a Pro plan in the future. If you're interested, please let me know by sending an [email](mailto:[email protected]).

## What is the tech stack?

There is no tile server running; only nginx serving a Btrfs image with 300 million hard-linked files. This was my idea; I haven't read about anyone else doing this in production, but it works really well. (You can read more about it on [GitHub](https://github.com/hyperknot/openfreemap).)

There is no cloud, just dedicated servers.

Special thanks go to [Michael Barry](https://github.com/msbarry) for developing [Planetiler](https://github.com/onthegomap/planetiler). It made it possible to generate the tiles in 5 hours instead of 5 weeks. The map schema is [OpenMapTiles](https://github.com/openmaptiles/openmaptiles).
Special thanks go to [Michael Barry](https://github.com/msbarry) for developing [Planetiler](https://github.com/onthegomap/planetiler). It made it possible to generate the tiles in 5 hours instead of 5 weeks.

The [styles](https://github.com/hyperknot/openfreemap-styles) are forked and heavily modified.
The [styles](https://github.com/hyperknot/openfreemap-styles) are forked and heavily modified. The map schema is unmodified [OpenMapTiles](https://github.com/openmaptiles/openmaptiles).

## Attribution

Expand Down
18 changes: 18 additions & 0 deletions website/src/content/index/before_donate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,21 @@ X: [@hyperknot](https://x.com/hyperknot) (for details) \
X: [@OpenFreeMapOrg](https://x.com/OpenFreeMapOrg) (for announcements)

GitHub: [openfreemap](https://github.com/hyperknot/openfreemap) and [openfreemap-styles](https://github.com/hyperknot/openfreemap-styles)

## Why did you build this project?

OpenStreetMap is one of the most important collective projects in history. It began 20 years ago, and today, 3 million edits are made each day!

For a long time, when you wanted to use the map on your website or app, you had to look for a commercial map tile provider and hope your site didn't become too popular. Otherwise, you might end up with a $10,000 bill in a single day, as Hoodmaps [did](https://x.com/levelsio/status/1730659933232730443).

Self-hosting was an option, but it required a big server and a lot of time to get it right.

Since I've spent many years developing the map tile infrastructure for [MapHub](https://maphub.net/), I decided to open-source it so anyone can use it. With OpenFreeMap, you now have the option to either set up your own server or use our public instance.

## How can you offer a free public instance ?

There is no technical reason why map hosting costs as much as it does today. Vector tiles are just static files. It's true that serving hundreds of millions of files is not easy, but at the end of the day, they are just files.

Financially, the plan is to keep renting servers until they cover the bandwidth. I believe it can be self-sustainable if enough people subscribe to the support plans.

If this project helps you save on your map hosting costs, please consider subscribing to a support plan.

0 comments on commit 2efce0a

Please sign in to comment.