Skip to content

ProofPoll Lite — cryptographically verifiable polls for Slack & Discord (Next.js + Prisma, MIT/MPL-2.0)

License

MIT, MPL-2.0 licenses found

Licenses found

MIT
LICENSE-MIT
MPL-2.0
LICENSE-MPL-2.0
Notifications You must be signed in to change notification settings

skylessdev/proofpoll

Repository files navigation

ProofPoll Lite

Install Slack   Invite Discord   Docs  

CI License: MIT/MPL-2.0

A lightweight polling application with cryptographic proof mechanisms and messaging platform integrations. Built using Next.js 14 with App Router, TypeScript, Tailwind CSS, and Prisma ORM, the application provides secure polling with HMAC-SHA256 vote verification.

Features

  • Cryptographic Security: HMAC-SHA256 vote verification with cryptographic proofs
  • Multi-Platform Integration: Slack slash commands and Discord bot support
  • Modern Stack: Next.js 14 with App Router, TypeScript, Tailwind CSS, Prisma ORM
  • Production Ready: CI/CD with automated testing, SPDX license compliance
  • Vercel Deployment: Optimized for seamless deployment and scaling

Getting Started

  1. Install dependencies:
npm install
  1. Set up your database:
npx prisma migrate dev
  1. Start the development server:
npm run dev
  1. Open http://localhost:5000 with your browser to see the result.

🚀 Install to Slack

You can add ProofPoll Lite to your Slack workspace in just a few steps:

1. Click the Install Link

Use the official Slack OAuth install link:

https://slack.com/oauth/v2/authorize?client_id=9333130942147.9338455346085&scope=commands,chat:write&redirect_uri=https://proofpoll.replit.app/api/slack/oauth_redirect

2. Authorize in Slack

  • Choose your workspace
  • Approve the requested permissions (/poll slash command, posting messages)

3. Test the /poll Command

Once installed:

  1. Open any channel in your workspace
  2. Type:
/poll "What's your favorite language?" "JavaScript" "Python" "TypeScript"
  1. ProofPoll Lite will post an interactive poll to the channel. Votes are stored with verifiable proofs.

🎮 Install to Discord

Bring ProofPoll Lite into your Discord server:

1. Invite the Bot

Click this link to add the bot to any server you manage:

https://discord.com/oauth2/authorize?client_id=1406960180305858781&scope=applications.commands+bot&permissions=0

The bot requires minimal permissions — just enough to post polls and handle interactions.

2. Use the /poll Command

Once installed:

  1. In any channel, type:
/poll text:"What's your favorite editor? VSCode, Vim, Emacs"
  1. The bot will create a live poll with voting buttons.
  2. Votes are validated and stored with cryptographic proofs.

License

Files include SPDX-License-Identifier: (MIT OR MPL-2.0) headers.

© 2025 Skyless Innovation — dual licensed MIT/MPL-2.0

About

ProofPoll Lite — cryptographically verifiable polls for Slack & Discord (Next.js + Prisma, MIT/MPL-2.0)

Resources

License

MIT, MPL-2.0 licenses found

Licenses found

MIT
LICENSE-MIT
MPL-2.0
LICENSE-MPL-2.0

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published