Skip to content

Codemo - GitHub Repository Web File Browser, File Preview and Folder Download

License

Notifications You must be signed in to change notification settings

gigamaster/codemo

Repository files navigation

Github Repository Web File Browser

HTML CSS JS CODEMO powered-by-electricity

/////////////////////////// — CODEMO

GitHub repository web file browser to preview, edit and download individual files
or a directory as a zip archive to your own (local) computer.

HCodemo Screenshot


1. Live Code

import a repository, directory, file or gist and embed a live code editor in a website with a simple link to see the results in real time. You can use your favorite CSS and Javascript framework with an existing project or start fresh with a quick-start template of Livecodes

2. Github.dev web-based editor

You can also open any folder and use the github.dev web-based editor to edit files and commit your changes. Note that you must be signed in to GitHub.com to use the github.dev editor.

On Codemo, navigate to a directory of the repository.

Click edit to open the file, then, in the same browser tab, press .

Alternativaly, you can open the repository in a new browser tab, press >

  • Change the URL from "github.com" to "github.dev".
  • When viewing a file, select the dropdown menu and click github.dev.

Resources

Frontend

  • Alpine.js
    A rugged, minimal framework for composing behavior directly in your markup
  • Tailwind CSS
    A utility-first CSS framework

If I had to do it again today,
I would definitely choose jQuery
ease of use than Tailwind and Alpine.js


License

MIT License

Copyright (c) 2024

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.