{"id":19562720,"url":"https://github.com/jamsocket/duckdb-demo","last_synced_at":"2025-04-27T00:31:54.594Z","repository":{"id":44548930,"uuid":"450868638","full_name":"jamsocket/duckdb-demo","owner":"jamsocket","description":null,"archived":true,"fork":false,"pushed_at":"2022-02-17T01:26:43.000Z","size":70530,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-24T11:46:47.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jamsocket.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":"2022-01-22T16:15:28.000Z","updated_at":"2024-06-17T19:09:59.000Z","dependencies_parsed_at":"2022-08-20T12:31:37.317Z","dependency_job_id":null,"html_url":"https://github.com/jamsocket/duckdb-demo","commit_stats":null,"previous_names":["jamsocket/duckdb-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamsocket%2Fduckdb-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamsocket%2Fduckdb-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamsocket%2Fduckdb-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamsocket%2Fduckdb-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamsocket","download_url":"https://codeload.github.com/jamsocket/duckdb-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251072279,"owners_count":21532004,"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-11T05:15:27.682Z","updated_at":"2025-04-27T00:31:53.304Z","avatar_url":"https://github.com/jamsocket.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DuckDB Demo\n\n## To develop:\n\nFrom `/client`:\n\n```sh\n$ npm install\n$ npm run watch\n```\n\nFrom `/server` (in separate tab):\n\n```sh\n$ npm install\n$ npm run watch\n```\n\nThen visit [localhost:8080](http://localhost:8080)\n\n## To build and run in a container:\n\n```sh\n$ docker build -t duckdb-demo .\n$ docker run -dp 8080:8080 duckdb-demo\n```\n\nYou can also pass environment variables to the container when running it:\n\n```sh\n$ docker run -dp 8080:8080 -e DEMO_DATA_SOURCE=\"https://storage.googleapis.com/jamsocket-demo-data/citibike-5M.parquet\" duckdb-demo\n```\n\nThen visit [localhost:8080](http://localhost:8080)\n\n## Data\n\nThis demo is set to use a large-ish dataset by default (~24MB). It downloads this dataset on the server process's initial run, which then caches it in the local filesystem so subsequent runs don't have to redownload the data. You can view this demo with even larger dataset by editing the `DEMO_DATA_SOURCE` environment variable, changing the `citibike-1M.parquet` filename to `citibike-5M.parquet` (`10M` and `25M` are also possible). If you are running the demo in a docker container, you can set the `DEMO_DATA_SOURCE` by setting the environment variable in the `docker run` command. If you are running the demo outside of the container (e.g. if you are developing), you can edit the environment variable in `server/.env.default`.\n\n-----\n\n### To build (outside of container):\n\nFrom `/client`:\n\n```sh\n$ npm install\n$ npm run build\n```\n\nFrom `/server`:\n\n```sh\n$ npm install\n$ npm run build\n```\n\n### To run outside of container:\n\nFrom `/server`:\n\n```sh\n$ npm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamsocket%2Fduckdb-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamsocket%2Fduckdb-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamsocket%2Fduckdb-demo/lists"}