Code Monkey home page Code Monkey logo

exactlyone's Introduction

##ExactlyOne

The simplest possible way to exchange exactly one piece of information

I created this when I was helping a friend with some mental health issues, and we needed a quick, unobtrusive, accessible-anywhere way for them to keep me apprised of their mood throughout the day. Both parties keep the page open in their browser, and they can easily push a single piece of information back and forth.

###Setup instructions

  1. Put all files in a directory on your server.
  2. Set permissions for sp.txt so that the PHP scripts can write to it.
  3. By default, you can open sp.txt in your browser in order to see history. If you would prefer for this not to be accessible, you can move the file outside your webroot. You then need to update spget.php and spcatch.php with the new location.

###Planned improvements

  • Move all config options into one place
    • location of sp.txt
    • placeholder text for input field
    • maybe custom locations for image and favicon
    • maybe options about what info can be entered (number vs. text)
  • Allow multiple instances on one server
    • Would probably need to switch to a database-backed system, though that violates the "simplest possible" rule.
  • Reduce / simplify jquery dependencies to speed up loading.

exactlyone's People

Contributors

octern avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.