vnotex / vnotex/vnote

Feature request: jsDelivr CDN for Github ImageBed

Open
#1,222 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
13k
Forks
1.3k
Avg merge
14h 3m
Merged PRs (30d)
3

Description

The new image hosting feature is great, except that the URL replaced when using Github backend is a bit slow to access. For a note-taking tool it's not necessary to enable CDN, but I use VNote to write some webpages, where it's useful.

I would suggest jsDelivr. You just need to replace something like https://raw.githubusercontent.com/linusboyle/imgupload/master/1582541694_20200224185444342_783001143.png to https://cdn.jsdelivr.net/gh/linusboyle/imgupload/1582541694_20200224185444342_783001143.png. And it will work out of the box.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named; search the GitHub-backend image URL generation entry point for raw.githubusercontent.com handling. Verify that generated image links use the proposed jsDelivr format while preserving the repository path and filename.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.