Aaron Parecki 62e02a4769 add debug messages 5 years ago
controllers don't prompt to send webmentions to URLs in the post author 6 years ago
lib add debug messages 5 years ago
migrations move init.sql to schema.sql 6 years ago
public remove hover effect from settings icon 6 years ago
scripts fix path for script 9 years ago
tests fix for html 6 years ago
views always use indielogin.com 6 years ago
.gitignore add `code` and `realm` parameters for sending private webmentions 8 years ago
CONTRIBUTING.md add contributing.md 9 years ago
LICENSE replace license with apache 2.0 8 years ago
README.md move init.sql to schema.sql 6 years ago
composer.json replace link search with XRay parser 6 years ago
composer.lock replace link search with XRay parser 6 years ago
config.template.php send exceptions to errbit 8 years ago
phpunit.xml beginning API 9 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] < migrations/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-2018 by Aaron Parecki

Available under the Apache 2.0 license. See LICENSE.