Category: php

Self hosted web sites for older browsers with the Raspberry Pi

Self hosted web sites for older browsers with the Raspberry Pi

The modern internet is too much for the old ipad. Secure sites and the latest javascript features render most of the internet unusable

The solution for this was to use self hosted sites to make the early 2000’s versions of safari and chrome usefull again, but it could also be usefull on other devices

Keep in mind you will need a fair bit of storage for kiwix, 53gb for Project Gutenberg ebooks or 78gb for wikipedia with no video’s. There are quite a few sites available that are a lot smaller

The following command will add a repository on the pi, enabling you to use apt to grab whatever php modules you need

wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add – echo “deb https://packages.sury.org/php/ buster main” > /etc/apt/sources.list.d/php.list

On the pi zero and pi1 A and B this won’t work, you will need to compile php from source as I couldn’t find a package for ARMv6 architecture

I used mariadb-server-10.0 for older ampache versions to support obsolete features but I did have to edit a few SQL files and replace instances of TYPE= with ENGINE= to get them going

And remember…

Do not host these on the internet. This is for internal use only due to vulnerabilities in old software versions

Raspberry Pi in the car

Raspberry Pi in the car

This project was a big one. Displaying text only GPS information on the screen in the car. The Pi has no way to use the touchscreen input so you control it with Tasker on a smart watch, using services from your phone. It shows you your speed, GPS Coordinates and the street you are on by default but can show more with a push of a button.

I recommend NOT trying this but the startonbt.sh code was fun so have a look if bluetooth and bash are your thing.

more info and code here

Raspberry Pi Answering Machine

Raspberry Pi Answering Machine

Only get scam calls or telemarkers that don’t respect the “do not call” list on your home phone?

Got a Raspberry Pi and a recent/shitty USB Modem?

This script will answer the phone, play a greeting and record a short message and let you listen to it at your leisure in a web browser.

By default it will store the message as an mp3 and play it if you have speakers attached.

There is logging and some conditions to see what you can do, if you want to add touch tone menus and run scripts.

This script was made for the fish but the motor movements have been removed in the link.

more details and the files can be found here soon

ggtype

ggtype

Click here for me

Click here for a robot

Click here for code/download

I wrote a game for Hemi when I couldn’t find what I was looking for. Just something simple that made a lot of noise and was educational. You press a key, it is shown on screen and is read aloud by a robot voice.

At first he mashed the keyboard in excitement but with a bit of encouragement, he is pressing one at a time and checking the screen too.

It’s not perfect and never will be, my favorite kind of ongoing project. A digital zen garden.

It only works on a physical keyboard, no tablets, no phones.
No ads and a free software licence. I don’t think anyone should have to pay for something that helps kids learn. No function keys for the people with fancy keyboards and at this time it is for English keyboards only.

Theme: Overlay by Kaira