{"id":18439068,"url":"https://github.com/demonstrandum/veto","last_synced_at":"2026-04-25T21:34:08.109Z","repository":{"id":33399004,"uuid":"154361120","full_name":"Demonstrandum/Veto","owner":"Demonstrandum","description":"Simple Straw Voting/Polling Website with Sinatra.","archived":false,"fork":false,"pushed_at":"2023-03-16T05:48:54.000Z","size":204,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T15:18:10.556Z","etag":null,"topics":["erb","javascript","js","poll","polling","ruby","sinatra","veto","vote","website"],"latest_commit_sha":null,"homepage":"https://veto.knutsen.co","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Demonstrandum.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}},"created_at":"2018-10-23T16:26:17.000Z","updated_at":"2021-06-22T17:20:28.000Z","dependencies_parsed_at":"2023-02-10T17:45:58.462Z","dependency_job_id":"9eb7973f-21b6-4165-b769-1c7a3b7ed25c","html_url":"https://github.com/Demonstrandum/Veto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Demonstrandum/Veto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demonstrandum%2FVeto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demonstrandum%2FVeto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demonstrandum%2FVeto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demonstrandum%2FVeto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Demonstrandum","download_url":"https://codeload.github.com/Demonstrandum/Veto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Demonstrandum%2FVeto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32278249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"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":["erb","javascript","js","poll","polling","ruby","sinatra","veto","vote","website"],"created_at":"2024-11-06T06:23:15.614Z","updated_at":"2026-04-25T21:34:08.093Z","avatar_url":"https://github.com/Demonstrandum.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Veto\nSimple polling site writen in Ruby, using Sinatra.\n\n![2018-11-20-182258_1366x768_scrot](https://user-images.githubusercontent.com/26842759/48796535-cc17f700-ecf7-11e8-9167-eef5c086fe6e.png)\n# Running Locally\nFirst of all, one need the Ruby programming language installed. One can install this from the official [Ruby Website](https://www.ruby-lang.org/en/) or one'll most likely have it available through one's main package manager.\n\nOne need to use Ruby Gems to install Bundler, gems should come with one's installation of Ruby.\nIn one's terminal, type:\n```shell\ngem install bundler\n```\nMake sure one adds the .gem bin/ path to one's `$PATH` variable in one's main shell.\ne.g. in one's `~/.bashrc` add\n```shell\nexport PATH=\"$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH\"\n```\nThen restart one's shell session, by typing `bash` or whatever shell one uses.\n\nOne needs to make sure one has `eventmachine` installed, for the `thin` server to work.\nOne does this by running:\n```shell\ngem install eventmachine\n```\nIf one gets errors about failing to build native extensions, read up in libraries needed to build (g++, gcc, musl-dev, make libstdc++, etc). Read about it here https://github.com/eventmachine/eventmachine/wiki/Building-EventMachine.\n\nNow one clones this repo, or fork it, depending on whether one wants to simply run the server, or contribute to the site, respectively. Either simply type:\n```shell\ngit clone https://github.com/Demonstrandum/Veto.git\n```\nin one's shell to clone it, or fork it by pressing the fork button on this webpage, then clone that fork instead, for which one can later submit a pull request. One now wants to enter this directory, one does this by simply typing:\n```shell\ncd Veto\n```\n\n---\n\nAfter this, one would want to install the gems from the `Gemfile` file, this one does by running:\n```shell\nbundle install\n```\nwhilst in the root directory of this repo.\n\n---\n\nOne should now be ready to run the server locally! Whilst in the Veto/ directory, kindly type:\n```shell\nbundle exec ruby server.rb\n```\nOne should see Sinatra take the stage with backup from Thin, (their words). If not, and one's getting issues with `eventmachine` and/or trouble finding the Thin server, please revisit the steps above concerning `eventmachine` installation.\n\nOtherwise, one should be fine, now one can access [localhost:8080](http://localhost:8080/), and one can make any changes locally. One only needs to restart the server if one has made changes to the `server.rb` file, otherwise any changes to any other .erb, .js, .css files, etc. should not require a restart.\n\n\n![2018-11-20-182338_1366x768_scrot](https://user-images.githubusercontent.com/26842759/48796534-cc17f700-ecf7-11e8-8cf5-5f073f411e44.png)\n\n## Welp\nSomeone help me make it look pretty. I'm too lazy to write heaps of CSS again\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemonstrandum%2Fveto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdemonstrandum%2Fveto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdemonstrandum%2Fveto/lists"}