pollinator

command module
v0.0.0-...-a8c5d7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2021 License: MIT Imports: 35 Imported by: 0

README

pollinator - a self-hosted open polling and voting web application that respects your privacy and anonymity

Build Status Go Report Card GoDoc

pollinator is a self-hosted web application that allows users to participcate in open polls in a way that both respects their privacy and anonymity.

Current Features:

  • Single portable binary
  • Simple to setup and maintain
  • A slick SPA frontend
  • Currently supports two types of polls:
    • Open Vote or just vote where users can vote for a single question comment or statement.
    • Open Questions or just questions where users can create questions they'd like to have answered and vote the questions they'd like to see answered the most.

Planned Features:

  • Other poll types?

There is also a publicly (freely) available demo instance available at:

User and additional Developer documentation can also be found at:

NOTE: I, James Mills, run this instance on pretty cheap hardware on a limited budget. Please use it fairly so everyone can enjoy using it equally!

Sponsor this project to support the development of new features, improving existings ones and fix bugs!

Screenshot

Table of Contents

Created by gh-md-toc

Why?

pollinator was written primarily and firstly as en education exercise in building a web application complete with backend, ci/cd, frontend and documentation going from design -> requirements and live in production in a single day.

Secondly pollinator was designed and created out of a desire and need to ba able to openly ask for people's opinions on a particular subject matter, question, comment or statement or be able to allow folks to create a set of questions they'd like to hear the answers to and have those voted on.

There are many such publicly available SaaS / Cloud offerings in the wild such as the popular SurveyMonkey, sl.do and many others.. But unfortuantely most if not all are usually pretty expensive to use even for the most simplest use-cases or have very questionable privacy in the first place and many do not offer any form of anonymity at all.

Getting Started

Install from Releases

You can install pollinator by simply downloading the latest version from the Release page for your platform and placing the binary in your $PATH.

Install from Homebrew

On macOS you can install pollinator using Homebrew:

brew tap prologic/pollinator https://git.mills.io/prologic/homebrew-pollinator.git
brew install pollinator
Install from Source

To install pollinator from source you can run go get directly if you have a Go environment setup:

go get git.mills.io/prologic/pollinator

NOTE: Be sure to have $GOBIN (if not empty) or your $GOPATH/bin in your $PATH. See Compile and install packages and dependencies

Or grab the source code and build:

git clone https://git.mills.io/prologic/pollinator.git
cd pollinator
make build

And optionally run make install to place the binary pollinator in your $GOBIN or $GOPATH/bin (again see note above).

Usage

Start the server
pollinator

You can now open the Web UI by navigating to:

http://127.0.0.1:8080/

Production Deployments

Docker Swarm

You can deploy pollinator to a Docker Swarm cluster by utilising the provided docker-stack.yml Docker Stack. This also depends on and uses the Traefik ingress load balancer so you must also have that configured and running in your cluster appropriately.

export DOMAIN=pollinator.yourdomain.tld
docker stack deploy -c ./deploy/docker-stack.yml pollinator

In the News

Sponsor

Support the ongoing development of pollinator!

Sponsor

Contributing

Interested in contributing to this project? You are welcome! Here are some ways you can contribute:

  • File an Issue -- For a bug, or interesting idea you have for a new feature or just general questions.
  • Submit a Pull-Request or two! We welcome all PR(s) that improve the project!

Please see the Contributing Guidelines.

Contributors

Thank you to all those that have contributed to this project, battle-tested it, used it in their own projects or products, fixed bugs, improved performance and even fix tiny typos in documentation! Thank you and keep contributing!

You can find an AUTHORS file where we keep a list of contributors to the project.

License

pollinator is licensed under the terms of the MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL