https://github.com/andreapavoni/avarus
a minimalistic URL shortener built with code parsimony in mind
https://github.com/andreapavoni/avarus
Last synced: about 1 year ago
JSON representation
a minimalistic URL shortener built with code parsimony in mind
- Host: GitHub
- URL: https://github.com/andreapavoni/avarus
- Owner: andreapavoni
- License: mit
- Created: 2012-04-26T13:08:16.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-27T09:49:57.000Z (about 14 years ago)
- Last Synced: 2025-02-12T22:19:39.244Z (over 1 year ago)
- Language: Ruby
- Size: 104 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# AVARUS: a minimalistic URL shortener built with code parsimony in mind
An URL shortener's main goal should be about saving charatcters for some
reason (es: microblogging platforms). But what about saving code, ram
and libraries? Avarus tries to answer this question with a minimum set of
tools:
* [Cuba](http://cuba.is): a micro web framework
* redis: both the [gem](https://github.com/redis/redis-rb) and [server](http://redis.io)
## Getting started
### Requirements
* ruby 1.9.x (tested on 1.9.3p125)
* [redis](http://redis.io): I've used the v2.4.9
### Install and run
* start redis server
* download with `git clone `
* install required gems: `cd && bundle install`
* (optional) edit settings in `/config/app_config.yml`
* (optional) run tests: `bundle exec rake`
* `rackup` or just launch any other Rack-compliant ruby webserver
## Todo
* click counter
* basic authentication
* stats
## Contributions & Bugs
* *the easy way:* go to [issues](issues/) page and blame me.
* *the hard way:* repeat the above points, then share your love and send a pull request.
## License
Copyright (c) 2012 Andrea Pavoni http://andreapavoni.com. See [MIT-LICENSE](/apeacox/avarus/blob/master/MIT-LICENSE) for details.