No Description

Björn Wärmedal ea367f0aa6 Getting Public Activities 3 years ago
app bda7b40963 First commit: empty Lumen project 3 years ago
bootstrap ea367f0aa6 Getting Public Activities 3 years ago
database bda7b40963 First commit: empty Lumen project 3 years ago
public bda7b40963 First commit: empty Lumen project 3 years ago
resources bda7b40963 First commit: empty Lumen project 3 years ago
routes ea367f0aa6 Getting Public Activities 3 years ago
storage bda7b40963 First commit: empty Lumen project 3 years ago
tests bda7b40963 First commit: empty Lumen project 3 years ago
.editorconfig bda7b40963 First commit: empty Lumen project 3 years ago
.env.example bda7b40963 First commit: empty Lumen project 3 years ago
.gitignore bda7b40963 First commit: empty Lumen project 3 years ago
.styleci.yml bda7b40963 First commit: empty Lumen project 3 years ago
README.md ea367f0aa6 Getting Public Activities 3 years ago
artisan bda7b40963 First commit: empty Lumen project 3 years ago
composer.json ea367f0aa6 Getting Public Activities 3 years ago
composer.lock ea367f0aa6 Getting Public Activities 3 years ago
phpunit.xml bda7b40963 First commit: empty Lumen project 3 years ago

README.md

Lumen-based ActivityPub Server

I'm learning web dev the hard way :D

Follow me as I implement an ActivityPub server in the micro-framework Lumen, one commit at a time. I'll make all the mistakes and ask all the stupid questions, so you don't have to!

To run this (don't run this in production), simply clone the repo and run composer install from the repo root directory.

Table of Contents

  1. First Commit
  2. (This one) Getting Public Activities

Getting Public Activities

I want to do stuff with the actual Fediverse as quickly as possible.

In this commit I've installed a package called guzzlehttp, and added an HTTP call to the base route ('/').

After pulling this, run composer update and php -S localhost:8000 -t public to start the server locally. When you call localhost:8000 (for example with curl localhost:8000) it'll in turn fetch the public timeline from the mastodon instance at floss.social.

Useful? No, not yet. But we're touching the Fediverse!

About Lumen

Lumen PHP Framework

Build Status Total Downloads Latest Stable Version License

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

Official Documentation

Documentation for the framework can be found on the Lumen website.

Contributing

Thank you for considering contributing to Lumen! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Lumen, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Lumen framework is open-sourced software licensed under the MIT license.

The Lumen-based ActivityPub Server is also licensed under the same license.