Code Monkey home page Code Monkey logo

url-shortener's Introduction

what is this?

This is an example project demonstrating the use of chamelon as a storage module in a MirageOS unikernel. It is a simple web application that accepts a path and a URL, and redirects any requests to itself at a path to that URL.

There are a few hardcoded special paths which the webapp doesn't accept as keys, and on lookup will serve hardcoded content.

layout

  • config.ml specifies information for which devices, software, and additional information the unikernel needs.
  • le.ml is logic for getting certificates via Let's Encrypt at server start and after the expiration period.
  • shortener.ml is the unikernel start point and web application logic.
  • justfile contains commands I use frequently to set up the backing store, set up bridge networking, and start the unikernel.

url-shortener's People

Contributors

yomimono avatar

Stargazers

Jason Manuel avatar Jorge Gomez avatar Jochen Bartl avatar Eclésio Junior avatar Raph avatar Simon Elsbrock avatar Hannes Mehnert avatar Calascibetta Romain avatar Jules Aguillon avatar Marcello Seri avatar Vikram Dutt avatar Jiho Lee avatar Sora Morimoto avatar zach avatar savi2w avatar Lucas Pluvinage avatar Seb Mondet avatar Renato Alencar avatar Thomas Gazagnaire avatar

Watchers

Hannes Mehnert avatar James Cloos avatar  avatar  avatar

Forkers

dinosaure

url-shortener's Issues

🥰 -> ☹️

Setting an emoji key claims to be successful, but then trying to access /${emoji} gives a 404.

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.