MCPcopy
hub / github.com/apex/gh-polls

github.com/apex/gh-polls @v0.2.1 sqlite

repository ↗ · DeepWiki ↗ · release v0.2.1 ↗
25 symbols 74 edges 7 files 20 documented · 80%
README

GitHub Polls

User polls for GitHub powered by Up.

About

These polls work by pasting individual markdown SVG images into your issue, each wrapped with a link that tracks a vote. A single vote per IP is allowed for a given poll, which are stored in DynamoDB.

What do they look like? The poll above is live, click one out and give it a try! You can create your own online or via the polls CLI.

Installation

Via go get:

$ go get github.com/apex/gh-polls/cmd/polls

Then create your own poll with polls new, the markdown is copied to your clipboard.

Usage

Create a new poll for who is the best ferret.

$ polls new Tobi Loki Jane

Create a new poll for the best species:

$ polls new "Cats are cool" "Dogs are better" "Ferrets for the win"

Statistics

GitHub poll API statistics powered by Up.


GoDoc

Core symbols most depended-on inside this repo

Vote
called by 9
internal/poll/poll.go
Create
called by 3
internal/poll/poll.go
Remove
called by 3
internal/poll/poll.go
Load
called by 3
internal/poll/poll.go
getUser
called by 2
api/main.go
Create
called by 1
internal/client/client.go
Link
called by 1
internal/cli/cli.go
Image
called by 1
internal/cli/cli.go

Shape

Function 14
Method 6
Struct 5

Languages

Go100%

Modules by API surface

internal/poll/poll.go7 symbols
api/main.go7 symbols
internal/client/client.go4 symbols
internal/cli/cli.go3 symbols
internal/poll/poll_option.go2 symbols
internal/poll/poll_test.go1 symbols
cmd/polls/main.go1 symbols

For agents

$ claude mcp add gh-polls \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact