https://github.com/hawx/tally-ho Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} hawx / tally-ho Public * Notifications * Fork 1 * Star 34 A micropub speaking blog License MIT license 34 stars 1 fork Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 2 branches 0 tags Code Latest commit @hawx hawx Add example configs ... 2efcb5c Mar 22, 2021 Add example configs 2efcb5c Git stats * 255 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time auth And change everything else to use httptest recorder Apr 19, 2020 blog Trigger websub on update, delete and undelete Mar 20, 2021 cmd Syndicate github repo likes to github Apr 6, 2020 internal Ensure syndicated replies/likes syndicate to the syndicated post Mar 20, 2020 media Refactor media endpoint to a type that handles requests Apr 19, 2020 micropub Use httptest recorder for micropub tests Apr 19, 2020 misc Add example configs Mar 22, 2021 silos Reply to github issues to create comments Mar 20, 2021 web Simple github issue create from reply Mar 20, 2021 webmention And change everything else to use httptest recorder Apr 19, 2020 websub And change everything else to use httptest recorder Apr 19, 2020 .gitignore Use toml for config Oct 9, 2019 LICENSE Add LICENSE Nov 26, 2019 README.md Add example configs Mar 22, 2021 go.mod Massage published to be the date format expected Dec 15, 2020 go.sum Massage published to be the date format expected Dec 15, 2020 main.go Get cite for reposts and retweet on Twitter Jan 20, 2021 View code tally-ho usage features README.md tally-ho A micropub speaking blog. usage This is an almost all-in-one solution for running an "IndieWeb" blog. To get running you will need to: 1. Run go install hawx.me/code/tally-ho@latest, or clone this repo and run go build 2. Make a directory to put media files in (tally-ho will write files to this directory but will not serve them) 3. Create a config file, by default it looks for a file called config.toml me = "https://john.example.com/" name = "John Doe" title = "John Doe's blog" description = "My great blog" # the URL tally-ho will be accessed from baseURL = "http://blog.john.example.com/" # the URL the media directory will be accessed from mediaURL = "http://media.john.example.com/" # each of these blocks can be left out if you don't want to use them [twitter] consumerKey = "..." consumerSecret = "..." accessToken = "..." accessTokenSecret = "..." [flickr] consumerKey = "..." consumerSecret = "..." # To get these values you can use the cmd/flickr-credentials tool which uses # this config file to perform the web authentorization flow. # # $ go install hawx.me/code/tally-ho/cmd/flickr-credentials # $ flickr-credentials -config $PATH_TO_CONFIG accessToken = "..." accessTokenSecret = "..." [github] clientID = "..." clientSecret = "..." # To get this value you can use the cmd/github-credentials tool which uses # this config file to perform the web authentorization flow. # # $ go install hawx.me/code/tally-ho/cmd/github-credentials # $ github-credentials -config $PATH_TO_CONFIG accessToken = "..." 4. Copy the ./web directory somewhere 5. Edit the contents of web/templates/foooter.gotmpl to not have my details, and potentially change the css or templates to be more your style Then you are ready to run it: $ tally-ho --config $PATH_TO_CONFIG_FILE --web $PATH_TO_WEB_DIR --media-dir $PATH_TO_MEDIA_DIR --db ./db.sqlite It will be listening on http://localhost:8080, this can be changed by passing --port or --socket. If run as a systemd service then it will detect a corresponding .socket definition. To get webmentions for social media posts I recommend setting up https://brid.gy/, as tally-ho only allows syndicating to Twitter/ Flickr/GitHub and not gathering responses (yet). See ./misc for examples of config files for nginx and systemd. features Possibly up-to-date feature list: * IndieAuth: + [*] Authentication in header + [*] Authentication in body * Config: + [*] Get q options + [*] Micropub q=config + [*] Micropub q=media-endpoint + [*] Micropub q=source + [*] Micropub q=syndicate-to + [*] Media q=last * Posting: + [*] Create with application/x-www-form-urlencoded + [*] Create with application/json + [*] Create with multipart/form-data o [*] Store photo/audio/video as if they had been sent via the media endpoint + [*] Update with application/json o [*] Require update scope for requests + [*] Upload to media endpoint + [*] Delete o [*] 410 Gone entry o [*] Remove from listing o [*] Remove from grouped likes + [*] Undelete + [ ] mp-slug + [ ] post-status * Syndication: + Twitter o Create # [*] Notes # [*] Posts # [*] Photos # [ ] Videos # [*] Likes # [*] Replies # [*] Reposts (url only) o [ ] Retrieve likes o [ ] Retrieve replies o [ ] Retrieve retweets + Flickr o Create # [ ] Photos # [ ] Videos # [*] Likes # [*] Replies o [ ] Retreive likes o [ ] Retrieve comments + GitHub o Likes # [*] Repos # [ ] Issues # [ ] Comments o [*] Create issue (in-reply-to repo) o [*] Create comment (in-reply-to issue) o [ ] Retrieve reactions o [ ] Retrieve comments * Webmentions: + [*] Receive webmentions for posts + [*] Send webmentions on create + [*] Send webmentions on update + [*] Send webmentions on delete + [*] Send webmentions on undelete * Display: + List: o [*] All o [*] Combine likes o [*] Pagination o [*] By kind o [*] By category + Entry: o [*] Notes o [*] Posts o [*] Photos o [ ] Videos o [*] Likes o [*] Replies o [*] Bookmarks o [*] RSVPs o [*] Checkins (kinda) o [*] Reposts o [*] indiebookclub o [*] teacup * Feeds: + [*] RSS + [*] Atom + [*] Jsonfeed (https://jsonfeed.org/) + [*] WebSub o [*] On create o [*] On update o [*] On delete o [*] On undelete Relevant specs: * Micropub * Webmention * IndieAuth * WebSub About A micropub speaking blog Resources Readme License MIT license Stars 34 stars Watchers 1 watching Forks 1 fork Releases No releases published Packages 0 No packages published Languages * Go 97.1% * CSS 2.9% * (c) 2022 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.