Coder Social home page Coder Social logo

whitepage's Introduction

WhitePage

Features

  • Light : the whole app (server code + client code) is ~125ko (jQuery = 73% of the app size)
  • All is made with AJAX code, so you never have to reload the page
  • Text is auto-saved every 10 seconds if you modified it

Installing

Simply copy all the files in a directory accessible on the Web. You need to create a file to store the scratch pad’s content, its name is “save.txt” by default, but you can change it, at the end of api.php, replace 'save.txt' with the path of the file.

You can then access to index.php in your Web browser, and start typing your thoughts.

i18n

Don’t speak English? You can change the page’s language on top of whitepage.js file. You can set each string to what you want :

    var lang = {
            save: '<The button’s value for “Save the scratch pad”>',
            saved: '<The message displayed when the scratch pad has been
            saved>',
            saving_error : '<The message displayed when there has been an error
            while saving>',

            edit: '<The button’s value for “Edit the scratch pad”>',

            retrieve_error: '<The message displayed when there has been an error
            while retrieving the scratch pad’s content>'
        },
    // …

whitepage's People

Contributors

bfontaine avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.