{"id":25583733,"url":"https://github.com/0xtadash1/redeqo","last_synced_at":"2026-04-17T10:08:18.155Z","repository":{"id":218591692,"uuid":"426541629","full_name":"0xTadash1/redeqo","owner":"0xTadash1","description":"Get a different look for your website, specialized for terminals! -- Web-based template engine for terminals","archived":false,"fork":false,"pushed_at":"2021-11-19T09:03:50.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-22T23:26:08.423Z","etag":null,"topics":["ansi","ansi-colors","api","business-card","cli","curl","shell","template-engine"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/0xTadash1.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}},"created_at":"2021-11-10T08:26:21.000Z","updated_at":"2024-01-22T23:26:16.823Z","dependencies_parsed_at":"2024-01-22T23:26:15.554Z","dependency_job_id":"c68fa4c1-88d2-4afe-832d-c9a76d1035b2","html_url":"https://github.com/0xTadash1/redeqo","commit_stats":null,"previous_names":["0xtadash1/redeqo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fredeqo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fredeqo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fredeqo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xTadash1%2Fredeqo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xTadash1","download_url":"https://codeload.github.com/0xTadash1/redeqo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964534,"owners_count":19725952,"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":["ansi","ansi-colors","api","business-card","cli","curl","shell","template-engine"],"created_at":"2025-02-21T06:18:18.580Z","updated_at":"2026-04-17T10:08:13.134Z","avatar_url":"https://github.com/0xTadash1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redeqo\n\nWeb-based template mapper for terminals.\nMap your website (blog, portfolio, project wiki, etc) contents to\nplain text, shell scripts, Python or others.\n\nAlso, You can share the URL and anybody can show or run the response via **`curl`**.\n\n## Example\n\n```sh\ncurl \"https://redeqo.deta.dev/?s=https://0xtadash1.github.io/redeqo/\"\n```\n\n![screenshot-plain](https://user-images.githubusercontent.com/56265995/142592495-a8af8a6c-a5a0-425d-abb9-b7b100e095ab.png)\n\nor colorful version\n\n```sh\necho -e \"\"\"$(curl -s \"https://redeqo.deta.dev/?s=https://0xtadash1.github.io/redeqo/\u0026d=pj-intro-card.ansi.njk\")\"\"\"\n```\n\n![screenshot-colorful](https://user-images.githubusercontent.com/56265995/142592913-6318b931-f2ab-493c-a9a4-f6eeaf7104f1.png)\n\n\nThe first defines the template to be used by `\u003cmeta name=\"redeqo-dst\" content=\"...\"\u003e` in `?s=...` HTML.\nThe second overrides it with another template in `\u0026d=...` query.\n\n## TODO\n\n- Configuring\n  - [ ] Njk `env` by `\u003cmeta\u003e`/query\n  - [ ] JSDom's options by `\u003cmeta\u003e`/query\n    - [ ] `runScripts`\n\n---\n\n- Custom Filtters/Tags(Extensions)\n  - [ ] ANSI Color Codes (use `chalk` module)\n  - [ ] `strip`: Alias for `striptags(true)`\n  - [ ] `sindent(n=4, doIndentFirstLine=false)`: `strip()` and `indent()`\n  - [ ] `si-wrap(len, n=4, doIndentFirstLine=false)`: `sindent()` and Line-wrapping. `len` is line-length.\n\n---\n\n- Other\n  - [x] RootPage without queries such as `?src=...`\n    - [x] User-Agent == curl\n    - [x] else\n  - [ ] Documents\n  - [ ] Sample/Default templates\n    - [ ] ANSI Colored\n    - [ ] Bash\n    - [ ] Python\n\n## Develop\n\n### Run\n\n1. Start server\n   ```sh\n   IS_DEBUG=true node index.js\n   ```\n1. Test `curl`\n   ```sh\n   curl \"http://localhost:3000/\"\n   ```\n   ```\n   redeqo -- Web-based template mapper for terminals\n   https://github.com/0xTadash1/redeqo\n   ```\n   or\n   ```sh\n   curl \"https://localhost:3000/?s=https://0xtadash1.github.io/redeqo/\"\n   ```\n   ```\n   =============================================================================\n     redeqo\n   -----------------------------------------------------------------------------\n     Get a different look for your website, specialized for terminals!\n\n    ---\n     Web-based template mapper for terminals.\n     Map your website (blog, portfolio, project wiki, etc) contents to\n     plain text, shell scripts, Python or others.\n\n     Also, You can share the URL and anybody can show or run the response via curl.\n\n    ---\n     Home     https://0xTadash1.github.io/redeqo\n     Doc      https://github.com/0xTadash1/redeqo/blob/main/README.md\n   \n     Repo     https://github.com/0xTadash1/redeqo\n     License  MIT\n              https://github.com/0xTadash1/redeqo/blob/main/LICENSE\n\n   =============================================================================\n   ```\n\n### Deploy\n\n```sh\ndeta deploy\n```\n\n### env vars (for debug)\n\nThese are case-sensitive.\n\n- `IS_DEBUG`, default: `false`\n  - `true` || anything else (null, `false`, `False`, `0`, `1`, `True`, etc.)\n- `PORT`, default: `3000`\n  - numeric || anything else","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtadash1%2Fredeqo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xtadash1%2Fredeqo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtadash1%2Fredeqo/lists"}