Mirror of Telegraph
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aaron Parecki a66990e037 update p3k/caterpillar 7 months ago
controllers use the user's own authz endpoint if one is defined 7 months ago
data remove w3.org 1 year ago
lib move unsupported domains to a file, add a bunch from bridgy 1 year ago
migrations move init.sql to schema.sql 3 years ago
public remove hover effect from settings icon 3 years ago
scripts fix path for script 5 years ago
tests fix for html 3 years ago
views always use indielogin.com 3 years ago
.gitignore add `code` and `realm` parameters for sending private webmentions 5 years ago
CONTRIBUTING.md add contributing.md 6 years ago
LICENSE replace license with apache 2.0 5 years ago
README.md move init.sql to schema.sql 3 years ago
composer.json use the user's own authz endpoint if one is defined 7 months ago
composer.lock update p3k/caterpillar 7 months ago
config.template.php send exceptions to errbit 5 years ago
phpunit.xml beginning API 6 years ago



Telegraph is an API for sending Webmentions.


See https://telegraph.p3k.io/api


  • Fork and clone this repo.

  • Install MySQL, composer, beanstalk, and phpunit if they're not already installed, e.g. brew install mysql composer beanstalk phpunit.

  • Start MySQL and beanstalkd.

  • Copy config.template.php to config.test.php. Update the appropriate values for your local environment if necessary.

  • Run these commands to install the dependencies, create a local database, and run the tests:

    $ composer install
    $ mysql [ARGS] -e 'CREATE DATABASE telegraph;'
    $ mysql [ARGS] < migrations/schema.sql
    $ phpunit
    # Hack hack hack!


Telegraph photo: https://www.flickr.com/photos/nostri-imago/3407786186

Telegraph icon: https://thenounproject.com/search/?q=telegraph&i=22058


Copyright 2016-2018 by Aaron Parecki

Available under the Apache 2.0 license. See LICENSE.