{"id":21482785,"url":"https://github.com/ibmstreams/samples","last_synced_at":"2025-07-15T14:30:42.881Z","repository":{"id":12112229,"uuid":"14701758","full_name":"IBMStreams/samples","owner":"IBMStreams","description":"This repository contains open-source sample applications for IBM Streams.","archived":false,"fork":false,"pushed_at":"2022-10-13T15:46:28.000Z","size":263090,"stargazers_count":41,"open_issues_count":2,"forks_count":73,"subscribers_count":29,"default_branch":"main","last_synced_at":"2025-04-09T05:05:39.508Z","etag":null,"topics":["database","geofence","geofencing","hdfs","healthcare","ibm-streams","samples","stream-processing","text-analytics","timeseries"],"latest_commit_sha":null,"homepage":"https://ibmstreams.github.io/samples/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"kriskowal/q","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IBMStreams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-25T23:31:25.000Z","updated_at":"2025-02-03T14:24:15.000Z","dependencies_parsed_at":"2023-01-11T20:17:34.592Z","dependency_job_id":null,"html_url":"https://github.com/IBMStreams/samples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IBMStreams/samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fsamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fsamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fsamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fsamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IBMStreams","download_url":"https://codeload.github.com/IBMStreams/samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBMStreams%2Fsamples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265437841,"owners_count":23765141,"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":["database","geofence","geofencing","hdfs","healthcare","ibm-streams","samples","stream-processing","text-analytics","timeseries"],"created_at":"2024-11-23T12:36:38.173Z","updated_at":"2025-07-15T14:30:37.844Z","avatar_url":"https://github.com/IBMStreams.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## README --  IBMStreams samples\n\nThis repository contains sample applications for IBM Streams.\n\n### [Search the samples using the samples catalog](http://ibmstreams.github.io/samples)\n\nYou can also [Contribute a sample](https://github.com/IBMStreams/samples/wiki/Adding-a-sample-to-the-catalog-and-repo)\n\n\nTo learn more about Streams:\n* [IBM Streams on Github](http://ibmstreams.github.io)\n* [Streams Community](https://ibm.biz/streams-community)\n\n\n## About this repository\nEach branch in the repo is related and serves a different purpose.\n- `main` branch: has the actual code samples organized by feature or task, e.g. Read data, Analyze data, etc.\n\n\n- `gh-pages` branch has the code for the catalog, ibmstreams.github.io/samples/\n  - AngularJS code\n- `fileserver` branch: This has the code for the file server. The file server is used by the catalog to provide a zip archive of each individual sample.\n\n### Adding a new sample to the catalog \nYou need to install jekyll. \nBackground info:\n\n-  Each individual sample has a `catalog.json` that describes the sample and is used by the gh-pages branch to display the catalog.\n- `extSamples.json` contains information about additional samples that are listed on the website but hosted in other repositories\n\nTo add a sample to the catalog:\n\n- If the sample is going to be in this repo, \n  - add the sample folder to the tree in the appropriate folder, e.g. if it is a Database sample, add it to ReadAndStore data.\n  - Add a `catalog.json` file to the top level folder of the new sample, use any of the existing `catalog.json` as an example\n\n- If it is going to be hosted in another repo, \n  - edit the `extSamples.json` file to add the information about the sample.\n- Update the  categories array  in the JSON file is based on the categories listed in categoryKey.txt\n- Commit your changes to the main branch.\n- Run the updateCatalogDB.sh script. This script will \n  - run the `generate-catalog.py` script combines the `extSamples.json` file with the entry from each catalog.json in the repo to create  a master JSON file listing every entry in the catalog. \n  - Switch to the `gh-pages` branch and start a local copy of the server at 127.0.0.1:4000/\n- 127.0.0.1:4000/ to see the catalog and verify the new sample is listed. Commit and push the changes to the gh-pages branch.\n\n*Note*: Run the data/main.json file through a JSON minimizer before commiting it to remove whitespace.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibmstreams%2Fsamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibmstreams%2Fsamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibmstreams%2Fsamples/lists"}