|Jeldrik Hanschke b386c45f92 Release 0.6.2||1 year ago|
|.github/workflows||1 year ago|
|api||1 year ago|
|app||1 year ago|
|config||1 year ago|
|docs||1 year ago|
|lib||1 year ago|
|mirage||1 year ago|
|public||1 year ago|
|tests||1 year ago|
|translations||1 year ago|
|.bowerrc||6 years ago|
|.editorconfig||4 years ago|
|.ember-cli||6 years ago|
|.eslintignore||1 year ago|
|.eslintrc.js||1 year ago|
|.gitignore||1 year ago|
|.release-it.json||1 year ago|
|.renovaterc||1 year ago|
|.template-lintrc.js||1 year ago|
|.travis.yml||1 year ago|
|.watchmanconfig||5 years ago|
|LICENSE||6 years ago|
|README.md||1 year ago|
|RELEASE.md||1 year ago|
|ember-cli-build.js||1 year ago|
|package.json||1 year ago|
|testem.browserstack.js||1 year ago|
|testem.js||1 year ago|
|yarn.lock||1 year ago|
Croodle is an end-to-end encrypted web application to schedule a date or to do a poll on a any topic. All data like title, description, number and labels of options, available answers and names of users and their selections are encrypted/decrypted in the browser using strong 256-bit AES encryption.
This is an alpha version. Changes could brake backward compatibility. It is also not well tested and some features are missing. It is not meant for productive use yet.
Croodle is inspired by PrivateBin and, of course, by Doodle.
Therefore you have to:
Theoretically you could also check for an attack like this by analysing the source code retrieved from server and/or using developer tools of your browser and check what data is send over the network or stored in cookies, local storage or similar browser techniques.
Croodle is designed to have as few as possible requirements on the server it is running on. Croodle runs on almost every web space with PHP >= 5.6. Croodle stores the data in textfiles, so there is no need for a database server like MySQL.
Due to security reasons you should have TLS encryption enabled and provide a valid certificate. (see the security notice)
Production builds are provided as github release assets.
git clone firstname.lastname@example.org:jelhan/croodle.git cd croodle yarn install cd api/ && composer install --no-dev && cd .. yarn build --prod
Afterwards copy all files in
/dist folder to your werbserver.
The API can be configured by creating a
api/ folder which returns an associative array.
Have a look at
api/config.default.php for available options.
data/folder has to be writeable by web server, but must not be accessible publicly. Protect it in your webserver configuration or move it out of webroot by changing
.htaccessfile but commented out.
php api/cron.phpon a regular basis to delete outdated polls. A cronjob running once a day should be fine.
ember serve generates a development build of Croodle and starts
a server listening on
http://localhost:4200 which is serving it.
If source files are changing, a rebuild and reload is triggered.
By default Croodle uses an api mock in development. Since that one does not persist records all polls are gone after a reload.
If you like to test against the real API, run api via php built-in web
php -S 127.0.0.1:8080 -t dist/
Afterwards start ember-cli development server using
ember server --proxy http://127.0.0.1:8080.
Ember-cli clears dist folder on each rebuild. If you like to keep
created polls over rebuild, configure api to use a non default folder
to save your polls:
CROODLE__DATA_DIR=/tmp/croodle_data php -S 127.0.0.1:8080 -t dist/
ember test --server is the prefered way to run tests in Chrome. Results are reported in command-line and browser. Files are watched for changes.
If you like to run tests only once in a headless Chrome and Firefox execute
ember test. This is also used in CI.
Additionally tests are available in all development builds. This allows you to execute the tests in any browser of your choice by running
ember serve and opening
Tests are run against a mock-api provided by ember-cli-mirage. Therefor they don’t cover system integration.
API tests are provided by Codeception. To run them change current
/api and execute
./vendor/bin/codecept run. You have
to install composer development requirements before (
Croodle is MIT Licensed.