Skip to content
Telegraph is an API for sending Webmentions
CSS JavaScript PHP Hack
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controllers remove "blacklist" term Jan 10, 2020
data remove w3.org Jan 10, 2020
lib move unsupported domains to a file, add a bunch from bridgy Jan 10, 2020
migrations move init.sql to schema.sql May 14, 2018
public
scripts fix path for script Feb 6, 2016
tests fix for html Jun 20, 2018
views always use indielogin.com Jun 3, 2018
.gitignore add `code` and `realm` parameters for sending private webmentions Sep 30, 2016
CONTRIBUTING.md add contributing.md Dec 19, 2015
LICENSE
README.md move init.sql to schema.sql May 14, 2018
composer.json replace link search with XRay parser Jun 20, 2018
composer.lock replace link search with XRay parser Jun 20, 2018
config.template.php send exceptions to errbit Feb 19, 2016
phpunit.xml beginning API Dec 21, 2015

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.

You can’t perform that action at this time.