{"id":30025077,"url":"https://github.com/26b/wp-attachments","last_synced_at":"2026-01-20T16:52:36.034Z","repository":{"id":307334154,"uuid":"1027864315","full_name":"26B/wp-attachments","owner":"26B","description":"WordPress plugin with a myriad of functionality to try to improve attachments, their functionality and experience.","archived":false,"fork":false,"pushed_at":"2025-08-01T15:17:17.000Z","size":1534,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T05:26:10.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/26B.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-07-28T16:42:31.000Z","updated_at":"2025-08-01T15:16:34.000Z","dependencies_parsed_at":"2025-07-30T19:02:29.211Z","dependency_job_id":"7b1e6334-89d8-4b82-8732-79428b7eb095","html_url":"https://github.com/26B/wp-attachments","commit_stats":null,"previous_names":["26b/wp-attachments"],"tags_count":1,"template":false,"template_full_name":"26B/wp-scaffold","purl":"pkg:github/26B/wp-attachments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fwp-attachments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fwp-attachments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fwp-attachments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fwp-attachments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/26B","download_url":"https://codeload.github.com/26B/wp-attachments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/26B%2Fwp-attachments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273953518,"owners_count":25197316,"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-09-06T02:00:13.247Z","response_time":2576,"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":[],"created_at":"2025-08-06T07:44:04.446Z","updated_at":"2026-01-20T16:52:36.028Z","avatar_url":"https://github.com/26B.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TSB Template for WordPress Plugins\n\n## Development\n\n### Local environment\n\nThe project uses [`@wordpress/env`](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env) to run a local WordPress environment. To get started, run the following commands:\n\n```bash\nnpm install\nnpm run wp-env:start\nnpm run wp:rewrite\nnpm run composer install\n```\n\nThe WordPress environment will be available at `http://localhost:8888`.\n\n### Building assets\n\nTo build the assets for development, run the following command:\n\n```bash\nnpm run start\n```\n\nTo build the assets for production, run the following command:\n\n```bash\nnpm run build\n```\n\n### I18n\n\nWe use i18n-midoru to make pots, uploads pots and download translations from Localise. It has one relevant file for configuration `i18n-midoru.json` in the root. This file has a list of projects, indexed by their name and with configurations for making pots, uploading pots and downloading translations. A generated file `i18n-midoru.lock` can also be found in the root after downloading translations. This file is used to poll Localise for new changes when trying to download translations again.\n\n#### Make pots\n\nBefore making pots, make sure to build the assets first. To make the pots, run the following command:\n\n```bash\ncomposer run-script make-pots\n```\n\nTo make pots for a specific project, add the name of the project (key string in the i18n-midoru.json) as an argument to the command.\n\n#### Upload pots\n\nTo upload pots to Localise, run the following command:\n\n```bash\ncomposer run-script upload-pots\n```\n\nTo upload pots for a specific project, add the name of the project (key string in the i18n-midoru.json) as an argument to the command.\n\n#### Download translations\n\nTo download translations from Localise, run the following command:\n\n```bash\ncomposer run-script download-translations\n```\n\nTo download translations for a specific project, add the name of the project (key string in the i18n-midoru.json) as an argument to the command.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F26b%2Fwp-attachments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F26b%2Fwp-attachments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F26b%2Fwp-attachments/lists"}