No Description

Aaron Parecki 7ea4aeeb23 fix link 10 months ago
controllers 7d00f3857c IndieAuth updates 1 year ago
lib cbb2a3f419 remove docs that are duplicated in quill and on the wiki 1 year ago
public 7ea4aeeb23 fix link 10 months ago
schema c6837188db add alexa support 2 years ago
views 871d41767c add webmanifest 10 months ago
.gitignore 46517dd366 add base project files copied from Quill 4 years ago 859272f628 Update 4 years ago
composer.json 7d00f3857c IndieAuth updates 1 year ago
composer.lock 7d00f3857c IndieAuth updates 1 year ago




Teacup is a simple app for tracking what you are drinking.

You can post what you're drinking to your own site, or you can post to an account provided by Teacup.


Discover IndieAuth + Micropub endpoints.


If a Micropub endpoint is found, show a message with a button to start the authorization flow.

Also provide a button to create an account in case they don't want to use their own site.

Create Account

Show a message and provide a button to create an account.

Starts authentication with using the authenication flow.


Copy from Quill up to line 200.

If a token endpoint is found, get an access token from it.

If no token endpoint is found, verify the code with and create an account for the user.


The signed-in view used to post new content.

Show the list of drinks that can be posted.


The form submits here. Saves the post in the database, then tries to make a micropub request if necessary. If the micropub request succeeds, updates the post with the canonical URL in the response.


Show feed of the user's recent posts. Posts include a link to the canonical URL if appropriate.


Permalinks for individual entries.


Destroy session.


By contributing to this project, you agree to irrevocably release your contributions under the same license as this project.



Copyright 2014 by Aaron Parecki

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.