{"id":22244316,"url":"https://github.com/erfjab/WebTemplates","last_synced_at":"2025-07-28T02:32:14.213Z","repository":{"id":250559806,"uuid":"834804204","full_name":"erfjab/WebTemplates","owner":"erfjab","description":"Various html templates for fast and easy use","archived":true,"fork":false,"pushed_at":"2024-07-28T12:20:24.000Z","size":7,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T11:11:22.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":false,"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/erfjab.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":"2024-07-28T12:15:24.000Z","updated_at":"2025-01-27T13:42:59.000Z","dependencies_parsed_at":"2024-07-28T13:33:06.880Z","dependency_job_id":"d70a17e5-bf1d-4f32-b6af-26285940343c","html_url":"https://github.com/erfjab/WebTemplates","commit_stats":null,"previous_names":["erfjab/webtemplates"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/erfjab/WebTemplates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FWebTemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FWebTemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FWebTemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FWebTemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erfjab","download_url":"https://codeload.github.com/erfjab/WebTemplates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2FWebTemplates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267453923,"owners_count":24089844,"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-07-28T02:00:09.689Z","response_time":68,"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":"2024-12-03T04:35:46.328Z","updated_at":"2025-07-28T02:32:13.944Z","avatar_url":"https://github.com/erfjab.png","language":"HTML","readme":"\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"./README.md\"\u003e\r\n\tEnglish\r\n\t\u003c/a\u003e\r\n\t|\r\n\t\u003ca href=\"./README_PR.md\"\u003e\r\n\tفارسی\r\n\t\u003c/a\u003e\r\n\r\n\u003c/p\u003e\r\n\r\n## What's This?\r\n\r\nWe've got some cool templates for Marzban's homepage that you can use. Here's the list:\r\n\r\n- **Transfer**\r\n\r\nThis template will send your visitors directly to another webpage you specify.\r\n\r\n- **Random**\r\n\r\nWith this one, visitors will see a random image, making it look like your domain hosts a random image site.\r\n\r\n- **IFrame**\r\n\r\nThis template shows a webpage you specify within your domain's homepage, allowing visitors to interact with it right there.\r\n\r\n- **Fake**\r\n\r\nThis one just shows visitors an ugly GIF. :/\r\n\r\n\r\n\r\n**For more templates, give the project a star ⭐. My Telegram Chanel:** [@ErfJabs](https://t.me/erfjabs)\r\n\r\n## Installation\r\n\r\nBefore you start, run this command on your server:\r\n\r\n```\r\napt install wget\r\n```\r\n\r\nThen add these lines to your configuration:\r\n\r\n```\r\necho 'CUSTOM_TEMPLATES_DIRECTORY=\"/var/lib/marzban/templates/\"' | sudo tee -a /opt/marzban/.env\r\necho 'HOME_PAGE_TEMPLATE=\"home/index.html\"' | sudo tee -a /opt/marzban/.env\r\n```\r\n\r\nNow, pick the template you want and follow these steps.\r\n\r\n\r\n### Transfer Template\r\n\r\n1. Download the file:\r\n\r\n```\r\nsudo wget -N -P /var/lib/marzban/templates/home/ https://raw.githubusercontent.com/erfjab/WebTemplates/main/templates/transfer/index.html\r\n```\r\n\r\n2. Open the file:\r\n\r\n```\r\nnano /var/lib/marzban/templates/home/index.html\r\n```\r\n\r\n3. Enter the URL you want to transfer to in the following field:\r\n\r\n```\r\n\u003cmeta http-equiv=\"refresh\" content=\"0; URL='https://example.com'\" /\u003e\r\n```\r\n\r\n4. Save with `Ctrl+S` and exit with `Ctrl+X`.\r\n\r\n5. Restart Marzban to load your template:\r\n\r\n``` \r\nmarzban restart\r\n```\r\n\r\n\r\n### Random Template\r\n\r\n1. Download the file:\r\n\r\n```\r\nsudo wget -N -P /var/lib/marzban/templates/home/ https://raw.githubusercontent.com/erfjab/WebTemplates/main/templates/random/index.html\r\n```\r\n\r\n2. Restart Marzban to load your template:\r\n\r\n``` \r\nmarzban restart\r\n```\r\n\r\n\r\n### IFrame Template\r\n\r\n1. Download the file:\r\n\r\n```\r\nsudo wget -N -P /var/lib/marzban/templates/home/ https://raw.githubusercontent.com/erfjab/WebTemplates/main/templates/iframe/index.html\r\n```\r\n\r\n2. Open the file:\r\n\r\n```\r\nnano /var/lib/marzban/templates/home/index.html\r\n```\r\n\r\n3. Find a simple page and put its name in the title section:\r\n\r\n```\r\n\u003ctitle\u003eexample\u003c/title\u003e\r\n```\r\n\r\n4. Enter the page's URL in this field:\r\n\r\n```\r\n\u003ciframe src=\"https://example.com\" sandbox=\"allow-scripts allow-same-origin allow-forms\"\u003e\u003c/iframe\u003e\r\n```\r\n\r\n5. To make it look nicer, you can add the site’s favicon URL here:\r\n\r\n```\r\n\u003clink rel=\"icon\" href=\"https://example.png\"\u003e\r\n```\r\n\r\n6. Save with `Ctrl+S` and exit with `Ctrl+X`.\r\n\r\n7. Restart Marzban to load your template:\r\n\r\n``` \r\nmarzban restart\r\n```\r\n\r\n\r\n### Fake Template\r\n\r\n1. Download the file:\r\n\r\n```\r\nsudo wget -N -P /var/lib/marzban/templates/home/ https://raw.githubusercontent.com/erfjab/WebTemplates/main/templates/fake/index.html\r\n```\r\n\r\n2. Restart Marzban to load your template:\r\n\r\n``` \r\nmarzban restart\r\n```\r\n","funding_links":[],"categories":["🔥 Awesome [Marzban](https://github.com/Gozargah/Marzban)"],"sub_categories":["Tools/Scripts"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfjab%2FWebTemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfjab%2FWebTemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfjab%2FWebTemplates/lists"}