{"id":27439626,"url":"https://github.com/subsetpark/punc","last_synced_at":"2025-04-14T21:59:52.670Z","repository":{"id":14991224,"uuid":"17716502","full_name":"subsetpark/punc","owner":"subsetpark","description":"A simple Zulip bot.","archived":false,"fork":false,"pushed_at":"2014-05-28T18:48:23.000Z","size":500,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T13:49:55.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subsetpark.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-13T16:16:55.000Z","updated_at":"2014-05-28T18:48:23.000Z","dependencies_parsed_at":"2022-08-30T08:00:35.535Z","dependency_job_id":null,"html_url":"https://github.com/subsetpark/punc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsetpark%2Fpunc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsetpark%2Fpunc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsetpark%2Fpunc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsetpark%2Fpunc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subsetpark","download_url":"https://codeload.github.com/subsetpark/punc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968751,"owners_count":21191158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-14T21:59:52.145Z","updated_at":"2025-04-14T21:59:52.646Z","avatar_url":"https://github.com/subsetpark.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# punc\n`punc` is a simple [Zulip](http://zulip.com) bot that collects basic sentiment data about its subscribed streams by counting punctuation. It is accompanied by a Flask web app that performs some simple sentiment analysis on the counter data.\n\n## The bot\n`punc` is a python script that runs a continuous blocking call to Zulip and receives all messages posted to its subscribed streams. It counts certain tokens in every message it receives: certain punctuation marks, smileys, and ALL CAPS SENTENCES. It writes this information to a mongodb database.\n\n## The app\nthe `punc` web app is a Flask application that reads from `punc`'s database and runs some analysis on the running count. It compares the relative frequency of each token in a stream to the overall average frequency of that stream, and then uses this information to describe the overall tenor of that stream.\n\nYou can view the Punc web app at [punc.herokuapp.com](http://punc.herokuapp.com).\n\nIn other words, punc is data-driven journalism at its finest.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsetpark%2Fpunc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubsetpark%2Fpunc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsetpark%2Fpunc/lists"}