Skip to content

anthonybudd/anthonybudd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Header

Node.js and PHP Expert. Over 12 years nuilding SaaS and REST APIs.

  • Awarded over 1000 stars on GitHub
  • Worked at Apple, RedHat and LegalZoom
  • UpWork Top Rated Developer
  • Laravel Framework Contributor PR:28849 merged by Taylor Otwell

Projects

Over the past few years I’ve been thinking about how I could build SaaS and deploy it on my own infrastructure without needing to use any cloud platforms like AWS or GCP. In this repo I document my progress on building a clone of AWS S3 that functions the same as S3 (automated bucket deployment, dynamically expanding volumes, security, etc) using an exclusively open-source technology stack.


Language Language

Production-ready minimal REST API boilerplate using Express.js, Sequelize and MySQL.

Method Route Description Payload Response
POST /api/v1/auth/login Login {email, password} {accessToken}
POST /api/v1/auth/sign-up Sign-up {email, password, firstName, tos} {accessToken}
GET /api/v1/user Get the current user {User}
POST /api/v1/user Update the current user {firstName, lastName} {User}
All Routes

Language Stars

VIPFS is a simple boilerplate project for creating permanent decentralised apps, blogs and websites that cannot be taken offline by anyone, including the government. VIPFS comes with useful templates and is pre-integrated with Bootstrap, FontAwesome and Video.js. Simply clone, compile and run npm run publish to deploy it on IPFS and make your project permanently accesable to the world.


Stars

A crypto-currency ATM that someone with minimal electro-mechanical skill can build at home with parts from Amazon and hardware from Lowes. The user inserts cash and the machine returns a cold wallet loaded with the desired amount of crypto-currency. OSCA does not require you to disclose any personal information to use this ATM.


Language Stars

Camera Spike is a basic self-hosted security camera project for the Raspberry Pi. A web UI is provided using Tor, this allows you to remotely monitor the feed without needing to register the device with a 3rd-party or without disclosing your IP address or the IP address of the Camera Spike. CLI tools are provided so you can easily create a custom onion v3 address.

    


Stars

S4 is 100% compatible AWS S3 storage, accessed through Tor and distributed using IPFS. Tor acts as a DNS and IPFS acts as a CDN and will make your data permanently accessible and is almost impossible to take offline. A sidecar docker container is provided to seamlessly proxy requests from your existing S3 code over Tor to S4. Basically it's self-hosted S3 that also makes the data accessible on IPFS.


NGINX Tor Proxy is a simple container that exposes your containers with a custom Tor v3 Onion address.

Tor vanity URLs generated using cathugger/mkp224o


A chainabale if library for JavaScript.

This is totally pointless, I just wanted to see if I could build this because I prefur this kind of chain syntax over control-structure syntax.

const myArr = ['a', 'b', 'c'];
const result = new If(myArr.length < 2)
    .then(() => ('Array less than 2'))
    .elseif((myArr.length > 3), () => ('Array greater than 3'))
    .else(() => ('Array has length 3'))
    .fi();

console.log(result); // 'Array has length 3'

Archived

Language Stars

WP_Model is an advanced pseudo ORM for WordPress, it provides active-record models of WordPress posts in the style of Laravel's ORM eloquent.

Class Product extends WP_Model
{
    public $postType = 'product';
    public $attributes = [
        'color',
        'price'
    ];
}

Product::register();

$book = new Product;
$book->title = 'WordPress for dummies';
$book->color = 'Yellow';
$book->price = 20;
$book->save();

Language Stars

WP_Route is a simple way to create custom routes in WordPress for listening for webhooks, oAuth callbacks and basic routing. WP_Route is a single class solution that supports route parameters and redirects and does not require any set-up.

WP_Route::get('flights',                        'listFlights');
WP_Route::post('flights/{flight}',              'singleFlight');
WP_Route::put('flights/{flight}/book/{date}',   'bookFlight');
WP_Route::delete('flights/{flight}/delete',     'deleteFlight');

WP_Route::any('flights/{flight}',               array('Class', 'staticMethod'));
WP_Route::patch('flights/{flight}',             array($object, 'method'));
WP_Route::match(['get', 'post'],                'flights/{flight}/confirm', 'confirmFlight');
WP_Route::redirect('/from/here',                '/to/here', 301);

Language Stars

WP_Mail is the simplest and most powerful dynamic email class available for WordPress. The class provides simple methods for attaching files, custom headers and lots of helper functions. The class only sends emails using the WordPress function wp_mail(), this means that all of your existing SMTP settings will continue to work with no additional config or set-up required.

$email = WP_Mail::init()
    ->to('john.doe@gmail.com')
    ->subject('WP_Mail is great!')
    ->template(get_template_directory() .'/emails/example.php', [
        'name'     => 'Anthony Budd',
        'location' => 'London',
        'skills'   => [
           'PHP',
           'AWS',
        ] 
    ])
    ->send();

🟨⬛️🐍

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published