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 e72c8cf675
include additional info in callback and status API
6 years ago
controllers include additional info in callback and status API 6 years ago
lib include additional info in callback and status API 6 years ago
migrations add `code` and `realm` parameters for sending private webmentions 8 years ago
public better json formatting 7 years ago
scripts fix path for script 8 years ago
tests don't send self-mentions using target_domain feature 8 years ago
views better json formatting 7 years ago
.gitignore add `code` and `realm` parameters for sending private webmentions 8 years ago
CONTRIBUTING.md add contributing.md 8 years ago
LICENSE replace license with apache 2.0 8 years ago
README.md replace license with apache 2.0 8 years ago
composer.json update indieauth client 7 years ago
composer.lock update to mention-client 1.1.7 7 years ago
config.template.php send exceptions to errbit 8 years ago
phpunit.xml beginning API 8 years ago

README.md

Telegraph

Telegraph is an API for sending Webmentions.

API

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

Developing

  • 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] < schema.sql
    $ phpunit
    # Hack hack hack!
    

Credits

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

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

License

Copyright 2016 by Aaron Parecki

Available under the Apache 2.0 license. See LICENSE.