DEV Community

Cover image for Spoof Github as Google Drive for sharing PDFs
Harshkumar77
Harshkumar77

Posted on

Spoof Github as Google Drive for sharing PDFs

Normies prefer Google drive but I am against big corp.
So there is this way to share file from github as google drive.

Basically "https://docs.google.com/viewer?url=RAW_GITHUB_LINK"

RAW_GITHUB_LINK=?raw=true

Example:

- https://github.com/Harshkumar77/personal-portfolio/blob/main/Resume.pdf?raw=true
            |

            |

            |

            V
- https://docs.google.com/viewer?url=https://github.com/Harshkumar77/personal-portfolio/blob/main/Resume.pdf?raw=true
Enter fullscreen mode Exit fullscreen mode

Top comments (0)