The personal URL shortener
Find a file
Elia el Lazkani d616689b9b chore(): Migrates to poetry
* Migrates the repository to use poetry
* Changes to the development dependencies
* Cleanup of old code
2024-11-30 11:08:01 +01:00
config Adding the ability to choose upper or lower case ID generation 2019-10-13 16:42:49 +02:00
shortenit chore(): Formats the code 2024-11-30 11:07:02 +01:00
.gitignore Migrated the ID generation system for security reasons. 2019-10-13 16:19:32 +02:00
LICENSE Add LICENSE 2019-10-07 22:07:37 +00:00
poetry.lock chore(): Migrates to poetry 2024-11-30 11:08:01 +01:00
pyproject.toml chore(): Migrates to poetry 2024-11-30 11:08:01 +01:00
README.md chore(): Updates README 2024-11-30 11:07:24 +01:00
TODO Appending TODO. 2019-11-04 17:52:37 +01:00

Shortenit

Shortenit is a tool to shorten urls.

NOTE: This is a very early draft project. Contributions are welcome.

Running

To run shortenit, first we need to have a running database. Shortenit uses CouchDB as a database. CouchDB can run as a docker container.

$ docker run -p 5984:5984 -e COUCHDB_USER=root -e COUCHDB_PASSWORD=root -d couchdb 

At this point, visit the local instance link http://localhost:5984 and create the user credentials configured in config/config.yaml.

Once the database is up and running and the credentials have been created, shortenit can be ran.

$ pip install -e .
$ shortenit