Automatically replace the external links of pictures in the content with those of your own website
- 主要言語
- Go
- スター
- 15.7k
- フォーク
- 1.4k
- 平均マージ
- 3日 8時間
- マージ済み PR(30日)
- 7
説明
**Is your feature request related to a problem? Please describe.**
Currently, whether a local markdown file or an article reprinted from other platforms, the image links inside will not be replaced with the website's own links, which may lead to the risk of image failure.
**Describe the solution you'd like**
I want a function that when publishing an article, I can automatically download and upload external link-type pictures to my own website server, and automatically replace them with pictures from my own server in the article.
I also want a plug-in that can automatically scan all the external link images in my website and do the above.
**Describe alternatives you've considered**
Considering that when pasting a picture, it will automatically upload the picture and write the address of the picture into the content, I think this function should not be difficult to implement.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
ファイル、テスト、エントリーポイントは特定されていません。まず記事の公開処理と既存の画像アップロードフローを追跡し、その後、外部画像をどのように検出して保存するかを定義してください。公開されたコンテンツがそれらのリンクをサイトでホストされた画像に置き換え、要求されたサイト全体のスキャンがカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go, markdown
- 領域
- backend, content
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100