定制 calevans/staticforge-sitedownloader 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

calevans/staticforge-sitedownloader

最新稳定版本:1.0.3

Composer 安装命令:

composer require calevans/staticforge-sitedownloader

包简介

StaticForge Feature: SiteDownloader

README 文档

README

A StaticForge feature package that downloads a remote site and converts the content to markdown.

This is no where near a perfect conversion. However, it is good enough to get your content. You will need to do some cleanup and reorganization after the download.

I've been using this to convert some old WordPress sites to StaticForge static sites.

Installation

composer require calevans/staticforge-sitedownloader
php vendor/bin/staticforge feature:setup sitedownloader
  1. Create a new directory for your site.
  2. Install staticforge
  3. run php vendor/bin/staticforge site:init
  4. Install this package
  5. Configure .env and siteconfigure.yaml as needed.
  6. Run php vendor/bin/staticforge site:download --url=YOUR_DOMAIN_HERE to download and convert the remote site.
  7. Create a template or use one of the templates we provide.
  8. Render your site and then use site:devserver to view it. Repeate this as often as needed.
  9. Once you are happy with it, fill out the # SFTP Upload Configuration section of .env file.
  10. Run php vendor/bin/staticforge site:upload to upload your site to your server.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-12