{"id":20478669,"url":"https://github.com/do-me/lbsn-dashboard","last_synced_at":"2025-04-13T13:15:50.596Z","repository":{"id":51532272,"uuid":"365174752","full_name":"do-me/LBSN-Dashboard","owner":"do-me","description":"A location-based social network dashboard for privacy-aware analysis","archived":false,"fork":false,"pushed_at":"2022-05-29T14:16:10.000Z","size":6281,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T13:15:42.215Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://geo.rocks/lbsndashboard/","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/do-me.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}},"created_at":"2021-05-07T09:00:33.000Z","updated_at":"2024-06-25T11:36:16.000Z","dependencies_parsed_at":"2022-08-03T07:30:25.137Z","dependency_job_id":null,"html_url":"https://github.com/do-me/LBSN-Dashboard","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2FLBSN-Dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2FLBSN-Dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2FLBSN-Dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2FLBSN-Dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/do-me","download_url":"https://codeload.github.com/do-me/LBSN-Dashboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717238,"owners_count":21150389,"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-15T15:38:39.972Z","updated_at":"2025-04-13T13:15:50.576Z","avatar_url":"https://github.com/do-me.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LBSN-Dashboard\n[![DOI](https://zenodo.org/badge/365174752.svg)](https://zenodo.org/badge/latestdoi/365174752)\n\nFind the supplementary repo [here](https://github.com/do-me/LBSN-Thesis) or watch the [videos](https://github.com/do-me/LBSN-Thesis/tree/main/videos)!\n\nA location-based social network dashboard for privacy-aware analysis based on [LBSN structure](https://lbsn.vgiscience.org/), a Docker-based Postgres HyperLogLog implementation from Dunkel, Löchner, Krumpe et al. for LBSN analysis. More info [here](https://github.com/do-me/LBSN-Thesis).\n\n**Disclaimer: This is a prototype for research purposes and not thought for production (subject to SQL-injection)!**\n\n## WORKING DEMOS\n- [Bonn, NRW, Germany](https://geo.rocks/dashboards/bonn)\n- [Waynesboro, VA, USA](https://geo.rocks/dashboards/waynesboro)\n\n![LBSN-Dashboard](https://user-images.githubusercontent.com/47481567/170873604-4701951b-f37e-491c-b225-f69cf4717931.png)\n\n\n## Content \n- Backend consisting of Python web framework (fastapi) excluding docker containers from [LBSN structure](https://lbsn.vgiscience.org/)\n- Frontend based on Leaflet and Geoman ready-to-deploy with plugin options (e.g. GeoJSON)\n\n## Data\nUse my [Fast-Instagram-Scraper](https://github.com/do-me/fast-instagram-scraper) to retrieve Data e.g. from Instagram. It's fast, easy to use and quickly read into the privacy-aware DB. \n\n## How to use \n### Preparation\n1. Set up LBSN Docker container with pgadmin (good for quickly checking SQL statements but not necessary) and HLL-DB \n2. Download some data from any LBSN such as Instagram. If you use [Fast-Instagram-Scraper](https://github.com/do-me/fast-instagram-scraper) you can use lbsntransform to read the data into the DB with the following command, automatically using `instagram-mapping-for-fast-instagram-scraper.py` (thanks and credits to [Alexander Dunkel](https://github.com/Sieboldianus)!)\n\n```\nlbsntransform --origin 13 --input_path_url \"path/to/data/fast-instagram-scraper/your-area-of-interest\" --file_input --dbpassword_output \"eX4mP13p455w0Rd\" --dbuser_output \"postgres\" --dbserveraddress_output \"127.0.0.1:25432 \" --dbname_output \"hlldb\" --dbformat_output \"hll\" --dbpassword_hllworker \"eX4mP13p455w0Rd\" --dbuser_hllworker \"postgres\" --dbserveraddress_hllworker \"127.0.0.1:25432 \" --dbname_hllworker \"hlldb\" --include_lbsn_objects \"origin,post\" --file_type \"json\" --mappings_path \"/mappings/\" --include_lbsn_bases hashtag,place,date,community,latlng\n```\n---\n### Dashboard \n3. Clone repo\n4. Install Python dependencies\n5. Start Docker container with HLL-DB\n6. Adjust DB connection details in `main.py`, remove my bounding boxes for Bonn\n7. Start backend with `python app.py`\n8. Go to localhost:8000 \n\n## Contact \nFor any questions contact [me](mailto:dominik@geo.rocks) or find me on [my blog](geo.rocks).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-me%2Flbsn-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdo-me%2Flbsn-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-me%2Flbsn-dashboard/lists"}