Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hchiam/anonymous-input

Desktop app powered by Electron. For personal teaching use.
https://github.com/hchiam/anonymous-input

desktop-application electron mocha spectron travis-ci

Last synced: 28 days ago
JSON representation

Desktop app powered by Electron. For personal teaching use.

Awesome Lists containing this project

README

        

# anonymous-input

![version](https://img.shields.io/github/release/hchiam/anonymous-input) [![Build Status](https://travis-ci.org/hchiam/anonymous-input.svg?branch=master)](https://travis-ci.org/hchiam/anonymous-input) [![Coverage Status](https://coveralls.io/repos/github/hchiam/anonymous-input/badge.svg?branch=master)](https://coveralls.io/github/hchiam/anonymous-input?branch=master)

A desktop app built using frontend web technologies (JS/HTML/CSS). Powered by Electron.js. Automatically tested with Travis CI, Spectron, and mocha. Built with electron-packager and npm/yarn. This project is old - if I were to rewrite this, I'd use [Tauri](https://github.com/hchiam/learning-tauri) instead of Electron. To learn more: [github.com/hchiam/learning](https://github.com/hchiam/learning#learning)

Download: [anonymous-input-darwin-x64.zip](https://github.com/hchiam/anonymous-input/releases)

## Optional files (you can add them for local testing/use)

* `dictionary.js`: `dictionary = ['prompt,answer', ...];`
* `obfuscationMapping.js`: `obfuscationMapping = {'a':'...', ...};`

## Useful CLI commands

`yarn` or `npm install` -> initial one-time setup

`yarn start` or `npm run start` -> run the app locally from CLI (no file minification/build performed)

`yarn build` or `npm run build` -> get executable file, e.g.: `anonymous-input-darwin-x64/anonymous-input.app`, which you can run by clicking on it

`yarn test` or `npm run test` -> run automated tests

`yarn test` or `npm run manual-test` -> run the same version of the app that the automated tests run, but one that you can test manually

`yarn zip` or `npm run zip` -> zip the build (automatically detects the build folder with a name that starts with "anonymous-input-")