{"id":19457668,"url":"https://github.com/liaad/contamehistorias-api","last_synced_at":"2025-02-25T11:40:54.437Z","repository":{"id":71824957,"uuid":"338360741","full_name":"LIAAD/contamehistorias-api","owner":"LIAAD","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-07T00:04:21.000Z","size":46026,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-08T01:48:06.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LIAAD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-12T15:43:52.000Z","updated_at":"2022-04-29T17:48:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcf22db0-11e6-4de5-bbab-085caaf71281","html_url":"https://github.com/LIAAD/contamehistorias-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIAAD%2Fcontamehistorias-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIAAD%2Fcontamehistorias-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIAAD%2Fcontamehistorias-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIAAD%2Fcontamehistorias-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIAAD","download_url":"https://codeload.github.com/LIAAD/contamehistorias-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240662325,"owners_count":19837366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T17:23:20.994Z","updated_at":"2025-02-25T11:40:54.394Z","avatar_url":"https://github.com/LIAAD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"http://contamehistorias.pt/arquivopt/\" target=\"_blank\"\u003e\n\t    \u003cimg width=\"300\" height=\"250\" src=\"img/contamehistorias-logo.png\" alt=\"Conta-me Histórias\"\u003e\n    \u003c/a\u003e\n    \u003cbr\u003e\n    \u003cb\u003e This repository contains the source code of the back-end server of \u003ca href=\"http://contamehistorias.pt/arquivopt/\" target=\"_blank\"\u003econta-me historias\u003c/a\u003e. \u003c/b\u003e\n\n\u003c/div\u003e\n\n\n## Web application\n\n[![Python](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue.svg)](https://www.python.org/)\n\n\nThe [conta-me historias](http://contamehistorias.pt/arquivopt/) web application depends on:\n    \n- the front-end [user interface](https://github.com/LIAAD/contamehistorias-ui)\n- the back-end API to retrieve data (this repository)\n\nSee [UI](https://github.com/LIAAD/contamehistorias-api) for instructions on how to run the front-end server.\n\n\n### Setup\n\nIt is recommended to setup a [virtual environment](https://docs.python.org/3.8/library/venv.html).\n\nThe API uses a RedisJSON server as cache system. While the back-end still works without cache, it is recommended to run the Redis server, for a better experience. See [RedisJSON](https://github.com/RedisJSON/RedisJSON) for instructions on how to run the server.\n\n#### Install requirements\n\n```shell\n$ pip install -r requirements.txt\n```\n\n#### Run server\n\n```shell\n$ cd api/\n```\n\nDirectly from python\n\n```shell\n$ python app.py\n```\n\nor through Gunicorn\n\n```shell\n$ sh run.sh\n```\n\n### LIAAD dependencies\n\nThis project uses the following LIAAD software:\n\n- [Conta-me Historias Temporal Summarization](https://github.com/LIAAD/TemporalSummarizationFramework)\n- [PAMPO](https://github.com/LIAAD/py-pampo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliaad%2Fcontamehistorias-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliaad%2Fcontamehistorias-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliaad%2Fcontamehistorias-api/lists"}