{"id":15188298,"url":"https://github.com/stefanzweifel/diary-app","last_synced_at":"2025-10-02T03:30:30.712Z","repository":{"id":71632282,"uuid":"85745502","full_name":"stefanzweifel/diary-app","owner":"stefanzweifel","description":"🔐An End-To-End Encrypted Diary Web App","archived":true,"fork":false,"pushed_at":"2019-09-01T14:02:24.000Z","size":2731,"stargazers_count":94,"open_issues_count":0,"forks_count":16,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-21T09:35:50.995Z","etag":null,"topics":["encryption","example-app","laravel","laravel5","vue"],"latest_commit_sha":null,"homepage":"https://stefanzweifel.io/posts/code-experiment-end-to-end-encrypted-diary-app?utm_source=Github","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefanzweifel.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"stefanzweifel","custom":["https://buymeacoff.ee/3oQ64YW"]}},"created_at":"2017-03-21T19:39:27.000Z","updated_at":"2024-12-09T18:44:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c554f75-b3d1-4d65-92b0-862f426b10a2","html_url":"https://github.com/stefanzweifel/diary-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stefanzweifel/diary-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanzweifel%2Fdiary-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanzweifel%2Fdiary-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanzweifel%2Fdiary-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanzweifel%2Fdiary-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanzweifel","download_url":"https://codeload.github.com/stefanzweifel/diary-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanzweifel%2Fdiary-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277950332,"owners_count":25904480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["encryption","example-app","laravel","laravel5","vue"],"created_at":"2024-09-27T19:02:24.188Z","updated_at":"2025-10-02T03:30:30.706Z","avatar_url":"https://github.com/stefanzweifel.png","language":"PHP","funding_links":["https://github.com/sponsors/stefanzweifel","https://buymeacoff.ee/3oQ64YW"],"categories":[],"sub_categories":[],"readme":"# Diary App\n\n## Word of Warning:\n\nThis app has been written in 2017. Back then I didn't knew that much about encryption. Since then, many people pointed out to me, that the app in it's current state has design flaws: App encryption key is available in the frontend/public, Master Password of a user is not connected with the app encryption key.\n\nSo yeah, I'm by no means a cryptographic expert! **Please, don't use the source code of the app as the basis of your next security project!**\n\n## About\n\nThis is an example app to showcase how you can use End-to-End Encryption in your Laravel Apps. I've used Vue as the Frontend Framework but the code should be easily portable to any Framework of your choice.\n\nI've written a blog post about the project. You can read it [here](https://stefanzweifel.io/posts/code-experiment-end-to-end-encrypted-diary-app).\n\n- [Vuex Store](https://github.com/stefanzweifel/diary-app/tree/master/resources/assets/js/store)\n- [Vue Router](https://github.com/stefanzweifel/diary-app/tree/master/resources/assets/js/router)\n- [Editor View](https://github.com/stefanzweifel/diary-app/blob/master/resources/assets/js/router/views/EntryEditorView.vue)\n- [Vue Components](https://github.com/stefanzweifel/diary-app/tree/master/resources/assets/js/components)\n- [crypto.js Class](https://github.com/stefanzweifel/diary-app/blob/master/resources/assets/js/classes/Crypto.js)\n\n## Basic Installation Instructions\n\n- Clone Repository\n- Install PHP Dependencies: `composer install`\n- Install Frontend Dependencies: `npm install`\n- Create .env file: `cp .env.example .env`\n- Migrate Database: `php artisan migrate`\n- Create OAuth Key Pair: `php artisan passport:install`\n- Link storage with `php artisan storage:link`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanzweifel%2Fdiary-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanzweifel%2Fdiary-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanzweifel%2Fdiary-app/lists"}