Coder Social home page Coder Social logo

gaac's Introduction

Gaac: Github as A CDN โœจ

License: MIT Beta

Gaac is an open source project that allows you to store your images/static files in your public Github repository and use them in blogs, websites, apps, etc. It is built with NextJS and relies on GitHub API to fetch the files.

How to use

Visit gaac.vercel.app and follow the instructions to get started.

Connect

You can connect your GitHub account by clicking on the Connect button on the homepage. Connect

Upload

You can upload files by the file uploader on the homepage. You can also drag and drop files to upload or paste from the clipboard. All files are uploaded to the /upload directory in your public repository. Upload via Gaac

Searching

You can search for uploaded files using the UI - Search In Gaac

Fun fact, the image above was uploaded using Gaac itself.

Self hosting

You can also host Gaac yourself. Deploy with Vercel

Run locally

This is a standard NextJS project. You can run it locally by following the instructions here.

You will need to set the environment variables GITHUB_APP_CLIENT_ID and GITHUB_APP_CLIENT_ACCESS_TOKEN in a .env.local file.

You can obtain the GITHUB_APP_CLIENT_ID and GITHUB_APP_CLIENT_ACCESS_TOKEN by creating a new GitHub OAuth app here.

Contributing

Contributions are welcome! Please open an issue or a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

gaac's People

Contributors

toughyear avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.