Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
[in progress] a very shrt url shrtnr
C Objective-C Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README.md
compile_sources.sh
main.c
server_eh.c
server_eh.h

README.md

curt

[in progress] a very shrt url shrtnr

Borrows heavily from:
  1. leveldb
  2. http-parser
  3. webserver-libev-httpparser

Dependencies

  • automake
  • pkg-config
  • subversion
  • git
  • libtool
  • libev-dev

How to run.

./compile-sources.sh
make
./curt

How to shorten.

curl -X PUT --data "http://myfavoritesite.com" http://127.0.0.1:8000

shortened url=http://localhost:8000/b

How to retrieve.

curl http://127.0.0.1:8000/b

found

It is not very useful for now, but its just cosmetic sugar to make it actually redirect urls.

Something went wrong with that request. Please try again.