{"id":22208294,"url":"https://github.com/steenhansen/sffaudio-search-docker-compose","last_synced_at":"2026-04-13T07:03:27.697Z","repository":{"id":40266841,"uuid":"140908781","full_name":"steenhansen/sffaudio-search-docker-compose","owner":"steenhansen","description":"A single page Node.js app, using a Neo4j graph database, that is installed with Docker-compose on Linode.com","archived":false,"fork":false,"pushed_at":"2024-05-20T18:19:08.000Z","size":34778,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T04:42:39.601Z","etag":null,"topics":["ajax","docker","neo4j","single-page-app","svg"],"latest_commit_sha":null,"homepage":"http://45.79.183.31/?_a_Linode_container","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steenhansen.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":"2018-07-14T02:13:23.000Z","updated_at":"2024-05-20T18:19:12.000Z","dependencies_parsed_at":"2023-01-31T17:15:24.229Z","dependency_job_id":"4fd854be-fc00-49b0-8fb3-e53b477c5183","html_url":"https://github.com/steenhansen/sffaudio-search-docker-compose","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/steenhansen%2Fsffaudio-search-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fsffaudio-search-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fsffaudio-search-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steenhansen%2Fsffaudio-search-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steenhansen","download_url":"https://codeload.github.com/steenhansen/sffaudio-search-docker-compose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245401372,"owners_count":20609163,"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":["ajax","docker","neo4j","single-page-app","svg"],"created_at":"2024-12-02T19:17:24.297Z","updated_at":"2026-04-13T07:03:27.633Z","avatar_url":"https://github.com/steenhansen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n  \n  \n\n\u003ca name='s'\u003e\u003c/a\u003e \n# SFFaudio-Search, with Docker-compose\n\n\u003ca name='readme-start'\u003e\u003c/a\u003e \n\u003ca name='s'\u003e\u003c/a\u003e \n\n\u003cimg src=\"./tall-search.webp\" width=\"800\"\u003e\n\n\n[SFFaudio-Search](http://45.79.183.31) was a single page Node.js app that was injected into [SFFaudio.com](https://www.sffaudio.com/)'s WordPress search page. It was discontinued because of human intervention needed for manual linking of text posts. It enabled fast and easy searching of SFFaudio's online content of [authors](http://45.79.183.31/?author=larry-niven), [stories](http://45.79.183.31/?book=beyond-lies-the-wub\u0026author=philip-k-dick), [blog-posts](http://45.79.183.31/?book=beyond-lies-the-wub\u0026author=philip-k-dick\u0026view=post_book\u0026choice=4), [PDFs](http://45.79.183.31/?book=beyond-lies-the-wub\u0026author=philip-k-dick\u0026view=pdf\u0026choice=1), and [MP3s](http://45.79.183.31/?book=beyond-lies-the-wub\u0026author=philip-k-dick\u0026view=rsd\u0026choice=1). Some books have two authors, such as [Wolfbane](http://45.79.183.31/?book=wolfbane\u0026author=frederikpohl,cm-kornbluth).\n\n  \nThe data is held in Google Sheets for easy text editing; [PDF data](https://docs.google.com/spreadsheets/d/1sbQ8NR7hvcm4EjSlyhmte0rYtI_G3vnc1o5KLPAW2lc/),\n [RSD data](https://docs.google.com/spreadsheets/d/1VFMgWy6wmTkFIpeNW-NkZdWmpz5iZcuULgMpjn8_QgU/), and \n [Podcast data](https://docs.google.com/spreadsheets/d/1cWtA1AaY83cBuU_6vt64adDeR-dfT-X1U5VgvCRVMAg/). Then a [Neo4j](https://neo4j.com/) graph database links the data, while [Vis.js](http://visjs.org/) is used to display the interactive relationships. PDFs are displayed via [PDF.js](https://github.com/mozilla/pdf.js) on the canvas. The four small icons in the bottom left and right of the widget\n\n- show help\n- resize the graph to window size\n- shrink the graph\n- grow the graph\n  \n\n#### Philip K. Dick's \"Beyond Lies the Wub\" found after searching for 'dick':\n\n![visual explanation](https://github.com/steenhansen/sffaudio-search/blob/master/beyond-the-wub-book.png)\n\nFour blog posts, a PDF, an RSD MP3, a Wikipedia story link, and a link back to the author.\n\n#### After clicking on \"RSD # 7\" a user can play the associated MP3 while reading along with the PDF:\n\n![visual explanation](https://github.com/steenhansen/sffaudio-search/blob/master/beyond-the-wub-rsd.png)\n\n\n## Run program locally on Windows\n\n\n \n\nSteps | \u0026nbsp;\n------------ | -------------\nGet Docker | [Download](https://hub.docker.com/editions/community/docker-ce-desktop-windows/) Docker Desktop for Windows\nEnter /server-content/ | *$ cd server-content*\nLaunch program | *$ run-test-large\u0026period;sh*\nView Neo4j database | *http://localhost:27474/browser*\n\u0026nbsp; | Connect URL\n\u0026nbsp; |   \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;    **bolt://localhost:27687**\n\u0026nbsp; | Username\n\u0026nbsp; |   \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;    **neo4j**\n\u0026nbsp; | Password\n\u0026nbsp; |   \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;    **yer_password**\nView web page | http://localhost/ \n\n\n  \n## Install on [Linode.com](https://www.linode.com/)\n\n\nSteps | \u0026nbsp;\n------------ | -------------\nCreate a Linode | [Make](https://cloud.linode.com/linodes/create) a 2GB Debian 10 Linode for $10/month\nSFTP files to server | Copy local **/server-content/** to **/root/server-content/**\nSet install files to be executable | **install-1-docker-ce\u0026period;sh** \u0026 **install-2-docker-compose\u0026period;sh** \u0026 **install-3-check\u0026period;sh**\nSet run files to be executable | **run-production\u0026period;sh** \u0026 **run-test-large\u0026period;sh** \u0026 **run-test-small\u0026period;sh**\nSet bash file to be executable | **/bash-scripts/set-time-zone\u0026period;sh**\nssh into server | $ ssh root@45.79.183.31\nEnter /server-content/ | $ cd /root/server-content/\nInstall Docker | $ ./install-1-docker-ce.sh (had to run it twice)\nInstall Docker-Compose | $ ./install-2-docker-compose.sh\nLaunch program | $ ./run-production.sh\nWatch container creation | $ docker ps -a\nView Neo4j database | http://45.79.183.31:27474/browser (currently off)\n\u0026nbsp; | Connect URL\n\u0026nbsp; |   \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;    **bolt://45.79.183.31:27687** (currently off)\n\u0026nbsp; | Username\n\u0026nbsp; |   \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;    **neo4j**\n\u0026nbsp; | Password\n\u0026nbsp; |   \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;    **yer_password**\nView web page | http://45.79.183.31\n\n\n#### Docker ps -a on Linode:\n![visual explanation](https://github.com/steenhansen/sffaudio-search/blob/master/docker-ps-a.png)\n\n\nIf **run-production\u0026period;sh** is used to launch program, instead of **run-test-small\u0026period;sh** then then there will be no Neo4j database browser at http://45.79.183.31:27474/browser\n\n\n\t\t\n#### Containers on Docker Desktop:\n![visual explanation](https://github.com/steenhansen/sffaudio-search/blob/master/docker-compose.png)\n\n\n## Caveats\n- The Node.js Neo4j-driver used in this project is [1.7.7](https://www.npmjs.com/package/neo4j-driver/v/1.7.7), very old, the current version is 4.2.1 and is not backwards compatible\n- The [Neo4j Docker](https://hub.docker.com/_/neo4j) image used in this project is 3.4.9, very old, the current version is 4.2.2 and is not backwards compatible\n- Mobile css is not handled correctly anymore as this program's output was meant to be displayed inside of Wordpress pages\n\n## Issues  \n- If you get this Docker-Compose message about the neo4j__database/4bdd0d6a0524 container being unhealthy via the node-webserver container, then check that **/server-content/neo4j-data/logs/debug.log** exists and has 777 permissions\n  \n```\n    ERROR: node-webserver Container \"4bdd0d6a0524\" is unhealthy\n```\n\n\n- If you get the below Neo4j message then delete the **/server-content/neo4j-data/data/dbms/auth** file if it exists and then restart. This occurs when the Neo4j password changes values in secret-passwords.env \n\n```\n    command failed: the provided initial password was not set because\n    existing Neo4j users were detected at `/var/lib/neo4j/data/dbms/auth`\n```\n\n\n## Created by\n\n\n[Steen Hansen](https://github.com/steenhansen)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteenhansen%2Fsffaudio-search-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteenhansen%2Fsffaudio-search-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteenhansen%2Fsffaudio-search-docker-compose/lists"}