{"id":16555239,"url":"https://github.com/carlostojal/barnaby","last_synced_at":"2026-05-03T11:36:07.150Z","repository":{"id":123222163,"uuid":"234888325","full_name":"carlostojal/Barnaby","owner":"carlostojal","description":"  Barnaby is a personal assistant API. This makes it offer many possibilities for integration with your projects. It uses APIs such as NewsAPI and DuckDuckGo Instant Answer API. It works using a neural network built with TensorFlow.","archived":false,"fork":false,"pushed_at":"2020-07-24T15:48:11.000Z","size":1672,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T09:48:02.431Z","etag":null,"topics":["barnaby","duckduckgo","flask","neural-network","news","newsapi","openweathermap","python","tensorflow","weather"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carlostojal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-01-19T11:24:47.000Z","updated_at":"2021-09-08T08:58:17.000Z","dependencies_parsed_at":"2023-05-26T10:15:55.164Z","dependency_job_id":null,"html_url":"https://github.com/carlostojal/Barnaby","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/carlostojal/Barnaby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FBarnaby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FBarnaby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FBarnaby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FBarnaby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlostojal","download_url":"https://codeload.github.com/carlostojal/Barnaby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlostojal%2FBarnaby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["barnaby","duckduckgo","flask","neural-network","news","newsapi","openweathermap","python","tensorflow","weather"],"created_at":"2024-10-11T19:53:29.122Z","updated_at":"2026-05-03T11:36:07.134Z","avatar_url":"https://github.com/carlostojal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Barnaby\n\nBarnaby is a personal assistant API. This makes it offer many possibilities for integration with your projects. It uses APIs such as NewsAPI and DuckDuckGo Instant Answer API. You can test a [Chatbot Demo](https://github.com/carlostojal/BarnabyChatbot).\n\n## How to use\n* Run script ```setup.sh``` to install all required dependencies.\n* Set your own API keys on the file ```apis.json```. You will need to create some accounts. All APIs used are free. Used APIs are:\n    * NewsAPI\n    * DuckDuckGo Instant Answer API (No API key or account needed)\n    * OpenWeatherMap API\n    * IPGeoLocation API\n* Run script ```app.py```.\n* That's it! Now by default you can use Barnaby on the address ```http://localhost:5000```.\n\n## Endpoints\nEndpoint | Description\n-------- | -----------\n```/```  | Shows this README\n```/api_config``` | Shows API configuration.\n```/assistant``` | Barnaby endpoint. ```q``` paramether is mandatory (Example: \"How is the weather?\"). Set ```train``` paramether to true to train the neural network (not needed, unless you make changes to it). A JSON response will be returned.\n\n## Screenshots\n* Chatbot Demo\n![Chatbot Demo](https://raw.githubusercontent.com/carlostojal/Barnaby/master/img/chatbot-demo.png?token=AIWB3W6OMTOQDQEBMWYWTAC6QJOE2)\n* JSON Response\n![JSON Response](https://raw.githubusercontent.com/carlostojal/Barnaby/master/img/json.png?token=AIWB3W252JNKNZJPNK65CO26QJOGU)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlostojal%2Fbarnaby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlostojal%2Fbarnaby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlostojal%2Fbarnaby/lists"}