{"id":14483040,"url":"https://github.com/ciccionamente/WeExpire","last_synced_at":"2025-08-30T03:33:03.795Z","repository":{"id":45826663,"uuid":"487548976","full_name":"ciccionamente/WeExpire","owner":"ciccionamente","description":"WeExpire is the first opensource tool for creating emergency notes that can be read by your trusted contacts only after your death or if you are seriously injured.","archived":false,"fork":false,"pushed_at":"2024-08-04T15:06:46.000Z","size":16642,"stargazers_count":111,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-04T16:52:04.641Z","etag":null,"topics":["bootstrap","php"],"latest_commit_sha":null,"homepage":"https://weexpire.org","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ciccionamente.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2022-05-01T13:47:28.000Z","updated_at":"2024-08-04T15:06:45.000Z","dependencies_parsed_at":"2023-01-20T07:02:57.740Z","dependency_job_id":"446de9cd-f7f9-4575-a493-01cdc73af039","html_url":"https://github.com/ciccionamente/WeExpire","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciccionamente%2FWeExpire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciccionamente%2FWeExpire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciccionamente%2FWeExpire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciccionamente%2FWeExpire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ciccionamente","download_url":"https://codeload.github.com/ciccionamente/WeExpire/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":217593012,"owners_count":16201561,"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","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":["bootstrap","php"],"created_at":"2024-09-03T00:01:27.411Z","updated_at":"2025-08-30T03:33:03.769Z","avatar_url":"https://github.com/ciccionamente.png","language":"PHP","readme":"\u003ca href=\"https://weexpire.org\"\u003e\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://weexpire.org/img/logo_white.png\"\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://weexpire.org/img/logo.png\"\u003e\n  \u003cimg alt=\"WeExpire\" src=\"https://weexpire.org/img/logo.png\" width=\"200px\"\u003e\n\u003c/picture\u003e\n\u003c/a\u003e\n\n[WeExpire.org](https://weexpire.org) is the first opensource tool for creating emergency notes that can be read by your trusted contacts only after your death or if you are seriously injured.\n\n## Running the project locally\n 1. Clone the repo\n    ```sh\n    git clone https://github.com/ciccionamente/WeExpire.git\n    ```\n 2. Create a MySQL database with `utf8mb4_unicode_ci` collation, name it `we_expire` and import the `we_expire.example.sql` configuration file into it\n 3. Copy the `configuration.example.php` file into `underwear/environment_variables` and rename it as `configuration.php`\n 4. Provide your own environment variables in the `configuration.php` file\n 5. Set the `htdocs` folder as the main root directory for your server configuration\n 6. Run the project!\n\n## Apache Configuration (.htaccess)\nIf you are using Apache (locally or in production), include the following `.htaccess` file inside the `htdocs` folder to enable correct routing for all pages:\n\n```apache\nRewriteEngine On\nRewriteBase /\n\n# Remove trailing slash from non-existing files/directories\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule ^(.+)/$ /$1 [R=301,L]\n\n# Redirect .php URLs to clean URLs (e.g., /start.php → /start)\nRewriteCond %{THE_REQUEST} ^[A-Z]{3,}\\s([^.]+)\\.php[?\\s] [NC]\nRewriteRule ^([^.]+)\\.php$ /$1 [R=301,L]\n\n# Internally rewrite clean URLs to corresponding .php files if they exist\nRewriteCond %{REQUEST_FILENAME}.php -f\nRewriteRule ^([a-zA-Z0-9/_-]+)$ $1.php [L]\n\n# Redirect /index to root (/)\nRewriteCond %{THE_REQUEST} /index\\.php [NC]\nRewriteRule ^index\\.php$ / [R=301,L]\n\n# Handle language-prefixed paths (e.g., /it/start → /start.php?l=it)\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteCond %{DOCUMENT_ROOT}/$2.php -f\nRewriteRule ^(en|es|fr|it)/(.+)$ /$2.php?l=$1 [NC,L]\n\n# Language redirect for root-level language paths (e.g., /en → /?l=en)\nRewriteRule ^(en|es|fr|it)/?$ /?l=$1 [NC,L]\n```\n\n## Running the project with Docker\n1. Clone the repo\n   ```sh\n   git clone https://github.com/ciccionamente/WeExpire.git\n   ```\n2. Modify the `docker-compose.yml` file's environment variables for the `we_expire` container/service\n3. Run `docker-compose up -d`\n\n## Contribute\nContributions that are not time-consuming and made for improving WeExpire's security, efficiency or accessibility are **greatly appreciated**.\n\n1.  Fork the project\n2.  Create your feature branch\n3.  Make your changes\n4.  Commit your changes\n5.  Push to the branch\n6.  Open a pull request\n\n## License\nDistributed under the GPLv3 License. See `LICENSE` for more information.\n\n## Credits\nA special thanks goes to the following people who have contributed to this project:\n- [Rebeca Dieguez Merayo](https://www.linkedin.com/in/rebecadieguez/), Spanish content\n- [Hugo Blanc](https://github.com/eze-kiel), French content\n- [Robert Thomas](https://github.com/wolveix), Docker support + SQL schema simplification\n\nAnother special thanks goes to these opensource third-party libraries and frameworks that have been used in this project:\n - [PHPMailer](https://github.com/PHPMailer/PHPMailer)\n - [TCPDF](https://github.com/tecnickcom/TCPDF)\n - [Bootstrap](https://getbootstrap.com)\n\n## Donate\nIf you want to contribute with a simple donation, you can do it via **[Buy Me a Coffee](https://www.buymeacoffee.com/ciccionamente)**.\n","funding_links":["https://www.buymeacoffee.com/ciccionamente)*"],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciccionamente%2FWeExpire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciccionamente%2FWeExpire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciccionamente%2FWeExpire/lists"}