@w101@mastodon.social cover

Web dev with a passion for security, privacy, decentralization ♥️ self-hosting

This profile is from a federated server and may be incomplete. View on remote instance

@futurebird@sauropods.win avatar futurebird , to random

Hey!

I'm looking for some simple to understand and impressive examples of fun things teens might want to do with PHP.

Ideally interactive things their friends might want to try on a local intranet server.

PHP mixes with HTML in a really fun way, and I remember doing some neat tricks with it... but I'm very rusty.

What are the cutest things you've ever seen done with PHP?

(We will get to the issues with security later. Fun first.)

w101 ,
@w101@mastodon.social avatar

@futurebird You can use it as a bridge between APIs + use cron to run the script automatically in intervals:

  • build a bot that posts an interesting quote / dad joke on Mastodon
  • build a script that messages you the latest weather report in your area every few hours

If you want to skip the cron part just put it on a webserver to render a local shell command - e.g. cowsay + random funny quote

@itsfoss@mastodon.social avatar itsfoss , to random

A grim situation tbh. 🫠

video/mp4

w101 ,
@w101@mastodon.social avatar

@itsfoss my system feels generous today - love can be found and not enough arguments for the final command.

@BrodieOnLinux@mstdn.social avatar BrodieOnLinux , to random

Today we have the developer of the Anubis project on the show, taking the FOSS world by storm, protecting sites from AI scrapers @cadey

Video: https://www.youtube.com/watch?v=qrIONldzy0U

Audio: https://creators.spotify.com/pod/profile/tech-over-tea/episodes/Anubis-The-Saviour-Of-FOSS-Websites--Xe-e32ifg1

w101 ,
@w101@mastodon.social avatar

@BrodieOnLinux Oh - so cool! Just deployed it on a Wordpress site in a docker compose environment yesterday. Thank you @cadey

Still trying to figure out how to correctly set up traefik / anubis w/ policies to allow bunny.net CDN to cache files without a challenge. If you have any experience there this would be a very welcome addition for the documentation.