Raspberry Pi

From IndieWeb


Raspberry Pi is an inexpensive computer board popular among hobbyists, especially for self hosting, and was used by some IndieWeb community members.

Why

Why for self hosting

The Raspberry Pi is an excellent computer for self hosting small websites.

The Raspberry Pi can run in the background without interruption which means that it can act like any remote web server, except you own it and have to maintain the server.

Advantages:

  • There is a lot of documentation on how to self-host a website using a Raspberry Pi
  • Raspberry Pis are cheap (especially the Pi Zeros, which can cost as little as $5)
    • If your Raspberry Pi breaks, replacing it is not a massive cost.
  • Pis run on Linux by default so you can use tools like Nginx and Apache to host a website.

Disadvantages:

IndieWeb Examples

IndieWeb community members hosting their sites on a Raspberry Pi device!

  • no current IndieWeb examples

Previous Examples

Jay Robinson

j4y_funabashi was hosting his site j4y.co on a Raspberry Pi since 2016-03-20 til sometime in 2017 apparently.

I was using my raspberry pi as a local version of my site anyway and I started wondering how easy it would be to use that instead of my hosting provider (who could turn evil / lose my data) After a bit of research I found that it would be relatively simple, all I had to do was:

  • login to my router
  • forward port 80
  • point my domain at my external IP address.

So now all my data is stored on a pi in my house, which is periodically backed up to an external hard drive (also planning to backup offsite to s3) which feels great!

If anyone needs help setting this up for themselves I would be glad to help you figure it out (though I am certainly not an expert!)

capjamesg

capjamesg used to host a weather station on a Raspberry Pi. He used a Raspberry Pi Sense HAT to collect environmental data about his home office. This data is reported online using a Flask web server hosted with nginx.

Brainstorm

  • Because Pis are based on a version of Debian, they can run a wide range of self-hosted programs. Self-hosted programs give you another level of data ownership.

See Also