{"id":13504839,"url":"https://github.com/HackNL/biblebot","last_synced_at":"2025-03-29T22:31:11.856Z","repository":{"id":42201911,"uuid":"107721649","full_name":"HackNL/biblebot","owner":"HackNL","description":"A laravel-based chatbot with botman as it's foundation.","archived":false,"fork":false,"pushed_at":"2025-01-24T15:17:23.000Z","size":426,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T16:24:14.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/HackNL.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":"2017-10-20T20:07:48.000Z","updated_at":"2025-01-24T15:17:25.000Z","dependencies_parsed_at":"2024-10-29T08:23:27.533Z","dependency_job_id":"be17fc43-c6a2-4d65-b363-0c6a6e433db5","html_url":"https://github.com/HackNL/biblebot","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/HackNL%2Fbiblebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackNL%2Fbiblebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackNL%2Fbiblebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HackNL%2Fbiblebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HackNL","download_url":"https://codeload.github.com/HackNL/biblebot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246254077,"owners_count":20747946,"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-08-01T00:00:52.157Z","updated_at":"2025-03-29T22:31:10.273Z","avatar_url":"https://github.com/HackNL.png","language":"PHP","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Biblebot\n\n## Introduction\nA laravel-based chatbot with botman as it's foundation.\n\nThe enduser may ask for Bibleverse(s) (eg. John 3:16) or will somehow execute a searchterm that the bot will try to interpret. Next, it will miraculously provide a suitable (biblical) answer.\n\nThe proof of concept uses API endpoints of a dutch NBV translation.\n\n## Requirements\n- Webserver;\n- PHP 7.1 (as module in the webserver);\n- PHP 7.1 (cli)\n\n## Install\n- Clone this github repo;\n- Run `composer install`\n- Run `cp .env.example .env`\n- Run `php artisan key:generate`\n\n## Documentation\n- https://botman.io/2.0/botman-studio\n- https://dialogflow.com/\n\n## Function flow\n1. Facebook messenger user input [question] --\u003e \n2. Botman InputHandler--\u003e \n3. Dialogflow --\u003e \n4. Botman IntentHandler [answer]--\u003e \n5. Facebook messenger\n\n### Botman\npasses user input to Dialogflow, \n- botman: public/biblebot/routes/botman.php\n\n### Dialogflow \nAnalyses user input and gives an intent back. \n\n### Inputhandler \ninstantiates the appropriate IntentHandler.\n- Inputhandler: public/biblebot/app/InputHandler.php\n\n### Intenthandler\nGet an answer form an external API. \n- Intenthandlers: public/biblebot/app/IntentHandlers/*\n\n### Api's\n- https://bijbel.eo.nl/api\n- https://onesignal.com/api\n(public/biblebot/app/ApiHandler.php)\n\n## testing\n- http://dev-server.nl/botman/tinker\n\n# Server configuration\nOn Amazon, some CentOS host: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Tutorials.WebServerDB.CreateWebServer.html\nConfigure port forwarding on port 22/80/443.\n\nSearch latest version of PHP\n`yum search php7`\n\nInstall latest version\n`yum install php71`\n\nSearch modssl\n`yum search all mod_ssl`\n\nInstall modssl\n`yum install mod24_ssl`\n\nObtain a free Let's Encrypt SSL certificate from https://www.sslforfree.com/ and place certificates in /etc/ssl/certs/\n\nConfigure /etc/httpd/conf.d/ssl.conf (Highlighted certificates are obtained from Let's Encrypt)\n`\u003cVirtualHost _default_:443\u003e\n...\nServerName hacknl.arrishuijgen.nl:443\n...\nSSLCertificateFile /etc/ssl/certs/certificate.crt\n...\nSSLCertificateKeyFile /etc/ssl/certs/private.key\n...\nSSLCACertificateFile /etc/ssl/certs/ca_bundle_letsencrypt.crt`\n\n## Miscellaneous\nInstall composer\n`curl -sS https://getcomposer.org/installer | php\nchmod +x composer.phar\nmv composer.phar /usr/bin/composer\ncomposer -V`\n\nPHP mb_string\n`yum install php71-mbstring`\n\nFix permissions\n`chown -R apache:apache /var/www/html/storage/botman`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHackNL%2Fbiblebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHackNL%2Fbiblebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHackNL%2Fbiblebot/lists"}