An open API service indexing awesome lists of open source software.

https://github.com/kingsdigitallab/gitan

git analyser (gitan): download metadata from github API, analyse them and return results on a web page.
https://github.com/kingsdigitallab/gitan

code-analysis reusable wip-do-not-use

Last synced: 3 months ago
JSON representation

git analyser (gitan): download metadata from github API, analyse them and return results on a web page.

Awesome Lists containing this project

README

          

## Features

* create a local database of django models found across several github repositories
* web page to browse and search those models with direct link to github source code

![screenshot](https://raw.githubusercontent.com/kingsdigitallab/gitan/master/doc/django-model-explorer.png)

## Requirements

* Python 3
* pipenv
* A personal github access token

## Installation

Open a terminal, clone the repo and change into the repo directory:

```
cp local_settings_template.py local_settings.py
# set you github key in local_settings.py
pipenv sync
```

## Download and process metadata

```
pipenv shell
python gitan.py download
python gitan.py parse
```

## Browse metadata

```
python gitan.py runserver 8080
# point your browser to localhost:8080
# ctrl+C to stop the server
```