{"id":43678251,"url":"https://github.com/macie/opinions","last_synced_at":"2026-02-05T01:20:31.239Z","repository":{"id":194647657,"uuid":"691264876","full_name":"macie/opinions","owner":"macie","description":"Find discussions on social news websites","archived":false,"fork":false,"pushed_at":"2025-06-10T21:33:51.000Z","size":195,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-06-10T21:46:25.458Z","etag":null,"topics":["cli","hacker-news","lemmy","lobsters","reddit-client","social-news","ssg","static-site-generator"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-13T20:34:26.000Z","updated_at":"2025-02-01T21:16:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"e08b3830-171c-4b04-b137-dcc27c02e3c9","html_url":"https://github.com/macie/opinions","commit_stats":null,"previous_names":["macie/opinions"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/macie/opinions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macie%2Fopinions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macie%2Fopinions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macie%2Fopinions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macie%2Fopinions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macie","download_url":"https://codeload.github.com/macie/opinions/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macie%2Fopinions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29105274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T00:52:08.035Z","status":"ssl_error","status_checked_at":"2026-02-05T00:52:07.703Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","hacker-news","lemmy","lobsters","reddit-client","social-news","ssg","static-site-generator"],"created_at":"2026-02-05T01:20:30.471Z","updated_at":"2026-02-05T01:20:31.223Z","avatar_url":"https://github.com/macie.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opinions\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/macie/opinions.svg)](https://pkg.go.dev/github.com/macie/opinions)\n[![Quality check status](https://github.com/macie/opinions/actions/workflows/check.yml/badge.svg)](https://github.com/macie/opinions/actions/workflows/check.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/macie/opinions)](https://goreportcard.com/report/github.com/macie/opinions)\n\nFind opinions about a given phrase (also URL) on social news websites:\n\n- _[Lemmy](https://en.wikipedia.org/wiki/Lemmy_(social_network))_\n- _[Lobsters](https://lobste.rs/about)_\n- _[Hacker News](https://en.wikipedia.org/wiki/Hacker_News)_\n- _[Reddit](https://en.wikipedia.org/wiki/Reddit)_.\n\nIt can be used to [include discussions on static websites/blogs](#static-site-generators).\n\n_opinions_ is a command-line replacement of [discu.eu](https://discu.eu/) service.\nIt directly calls search engines on underlying websites.\n\nApplication is developed with a security-first approach:\n\n- functionality is limited by design\n- access to the OS is restricted by [application-level sandboxing](#security-hardening).\n\n## Usage\n\n```sh\n$ opinions 'https://grugbrain.dev'\nLemmy\thttps://lemmy.world/post/5189937\tThe Grug Brained Developer - A layman's guide to thinking like the self-aware smol brained\thttps://grugbrain.dev/\nLemmy\thttps://lemmy.world/post/750451\tThe Grug Brained Developer\thttps://grugbrain.dev/\nLemmy\thttps://lemmy.world/post/685510\tThe Grug Brained Developer\thttps://grugbrain.dev/\nHacker News\thttps://news.ycombinator.com/item?id=31840331\tThe Grug Brained Developer\thttps://grugbrain.dev/\nHacker News\thttps://news.ycombinator.com/item?id=38076886\tThe Grug Brained Developer (2022)\thttps://grugbrain.dev/\nLobsters\thttps://lobste.rs/s/ifaar4/grug_brained_developer\tThe Grug Brained Developer\thttps://grugbrain.dev/\nLobsters\thttps://lobste.rs/s/pmpc9v/grug_brained_developer\tThe Grug Brained Developer\thttp://grugbrain.dev\nReddit\thttps://reddit.com/r/programming/comments/16gt8w4/the_grug_brained_developer/\tThe grug brained developer\thttps://grugbrain.dev\nReddit\thttps://reddit.com/r/brdev/comments/14jhm17/the_grug_brained_developer/\tThe Grug Brained Developer\thttps://grugbrain.dev\n```\n\nThe result is printed to stdout as rows in format: `\u003cservice_name\u003e\u003ctab\u003e\u003cURL\u003e\u003ctab\u003e\u003ctitle\u003e\u003ctab\u003e\u003csource_domain\u003e`.\n\nWebsites are queried with User-Agent: `opinions/\u003cversion_number\u003e (\u003cos\u003e; +https://github.com/macie/opinions)`.\n\n### Static Site Generators\n\n_opinions_ can be used to extend static websites with comments-like feature. You\ncan search for active discussions about your article, filter out false positive\nresults (eg. get only articles from your domain) and generate HTML links with\nstandard Unix commands:\n\n```sh\nopinions 'Grug Brained' | grep 'grugbrain.dev' | awk -F '\\t' '\nBEGIN { print \"\u003cul\u003e\" }\n{ print \"  \u003cli\u003e\u003ca href=\\\"\"$2\"\\\" title=\\\"[\"$1\"] \"$3\"\\\"\u003e\"$1\"\u003c/a\u003e\u003c/li\u003e\" }\nEND { print \"\u003c/ul\u003e\" }\n'\n```\n\n## Installation\n\nDownload [latest stable release from GitHub](https://github.com/macie/opinions/releases/latest) .\n\nYou can also build it manually with commands: `make \u0026\u0026 make build` (or without\nsandboxing: `make \u0026\u0026 make unsafe`).\n\n## Development\n\nUse `make` (GNU or BSD):\n\n- `make` - install dependencies\n- `make test` - runs test\n- `make e2e` - runs e2e tests for CLI\n- `make check` - runs quality checks\n- `make build` - compile binary from the latest commit\n- `make unsafe` - compile binary from the latest commit without the security sandbox\n- `make dist` - compile binaries from the latest commit for all supported OSes\n- `make clean` - removes compilation artifacts\n- `make cli-release` - tag the latest commit as a new release of CLI\n- `make module-release` - tag the latest commit as a new release of Go module\n- `make info` - print system info (useful for debugging).\n\n### Versioning\n\nAt the beginning, only CLI was released with _[semantic versioning](https://semver.org/)_ scheme (commits marked by tags `v1.0.0`-`v1.5.1`).\n\nCurrently repo contains CLI and Go module which can be developed with different\npace. Commits with versions are tagged with:\n- `v2.X.X` (_[semantic versioning](https://semver.org/)_) - versions of Go module\n- `cli/vYYYY.0M.MICRO` (_[calendar versioning](https://calver.org/)_) - versions of command-line utility.\n\n### Security hardening\n\nOn modern Linuxes and OpenBSD, CLI application has restricted access to kernel\ncalls with [seccomp](https://en.wikipedia.org/wiki/Seccomp) and [pledge](https://man.openbsd.org/pledge.2).\n\n### TODO\n\n- add [sandboxing](https://learnbchs.org/pledge.html) for FreeBSD (with\n[Capsicum](https://en.wikipedia.org/wiki/Capsicum_(Unix)) - see:\n\u003chttps://reviews.freebsd.org/rS308432\u003e and\n\u003chttps://cgit.freebsd.org/src/tree/lib/libcapsicum/capsicum_helpers.h?id=d66f9c86fa3fd8d8f0a56ea96b03ca11f2fac1fb#n104\u003e))\n- verify hardened version of linux arm and arm64.\n\n## Bugs\n\nResults depend on search engines of underlying social news websites. They\nmay be different than expected.\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacie%2Fopinions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacie%2Fopinions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacie%2Fopinions/lists"}