Skip to content

yomimono/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Example URL shortener MirageOS unikernel using Chamelon.

Resources

Stars

18 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages