Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: ieee.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Keywords
Repository
A scalable Thing Description Directory
Basic Info
Statistics
- Stars: 19
- Watchers: 3
- Forks: 4
- Open Issues: 19
- Releases: 3
Topics
Metadata Files
README.md
Zion - A scalable Thing Description Directory
Overview
In the context of the W3C Web of Things, Thing Description Directories (TDDs) are services that store a set of Thing Descriptions. A TDD offers a set of APIs with CRUD operations on the collection of TDs that it stores. Zion implements the standard TDD APIs with a set of extensions to cover the use cases of VAIMEE.
Table of Contents
Features
Zion employs the best open-source technologies to provide a scalable TDD service. Zion wants to be fast, ease to use
and flexible. Currently, Zion supports the following features:
- Introduction methods :
- DNS-SD
- Well-known URL
- CoRE Link Format and /.well-known/core
- Standard API:
- CRUD operations on the collection of TDs
- JSONPath queries compliant with IETF JSONPath standard draft 5
- Pagination support
- Basic support for authentication and authorization
Getting started
Thank you for considering using Zion in your Web of Things project! 🥳. Zion is still in its early stages and it is still in the process of being tested and developed. However, if you already want to deploy on your own you have three options: - Use docker-compose locally - Clone and npm - Use it in your deployment
Clone and docker compose
You can clone the repository and start Zion using the following command:
bash
docker compose up
If you want to manually set up your database, you can edit the example .env file:
```bash
ZIONNODEENV=development
ZIONSERVERPORT specifies the port number on which the Zion server will listen for incoming requests.
ZIONSERVERPORT=3000
ZIONDBHOST specifies the host address where the Zion target database is located.
ZIONDBHOST=localhost
ZIONDBPORT specifies the port number on which the Zion target database server is listening.
ZIONDBPORT=5432
ZIONDBUSER specifies the username to connect to the Zion target database.
ZIONDBUSER=zion
ZIONDBPASSWORD specifies the password for the Zion target database user.
ZIONDBPASSWORD=zion
ZIONDBDATABASE specifies the name of the Zion target database.
ZIONDBDATABASE=zion
ZIONJWTSECRET specifies the secret key used for JSON Web Token (JWT) encryption and decryption.
ZIONJWTSECRET=abc123
ZIONJWTEXPIRES_IN specifies the duration for which a JWT token remains valid.
Examples: "15m" (15 minutes), "1h" (1 hour), "7d" (7 days), etc.
ZIONJWTEXPIRES_IN=15m ```
Clone and npm
Requirements Node.js v16+
If you want to start Zion in development mode, you can clone the repository and run the following command:
bash
npm ci
npm start
Note: you have to manually set up your database and configure Zion using the .env file.
Docker compose
You can start Zion right away using this simple docker compose file together with your local .env file :
docker-compose.yml
version: '3.6'
services:
database:
image: postgres:14.3-alpine
environment:
- POSTGRES_USER=zion
- POSTGRES_PASSWORD=zion
- POSTGRES_DB=zion
container_name: 'zion-postgres'
zion:
image: vaimee/zion:latest
depends_on:
- database
entrypoint: ['sh', '-c','npm run db:migrate:latest && npm run start:prod']
ports:
- 3000:3000
environment:
- ZION_NODE_ENV=production
- ZION_SERVER_PORT=3000
# Using task name as explained in https://github.com/vaimee/zion/issues/11#issuecomment-1434457337
- ZION_DB_HOST=tasks.database
- ZION_DB_PORT=5432
- ZION_DB_USER=zion
- ZION_DB_PASSWORD=zion
- ZION_DB_DATABASE=zion
- ZION_JWT_SECRET=change-me
- ZION_JWT_EXPIRES_IN=7d
container_name: zion
Publication
The full paper, available here, should be cited if this repository is utilized for research, thesis, or industrial activities involving publications.
C. Aguzzi, L. Gigli, I. Zyrianoff and L. Roffia, "ZION: A Scalable W3C Web of Things Directory," 2024 IEEE 21st Consumer Communications & Networking Conference (CCNC), Las Vegas, NV, USA, 2024, pp. 1-6, doi: 10.1109/CCNC51664.2024.10454685.
@INPROCEEDINGS{10454685,
author={Aguzzi, Cristiano and Gigli, Lorenzo and Zyrianoff, Ivan and Roffia, Luca},
booktitle={2024 IEEE 21st Consumer Communications & Networking Conference (CCNC)},
title={ZION: A Scalable W3C Web of Things Directory},
year={2024},
volume={},
number={},
pages={1-6},
doi={10.1109/CCNC51664.2024.10454685}
}
Roadmap
- [ ] Standard API
- [ ] XPath queries
- [ ] SPARQL queries supported with an external SPARQL endpoint
- [x] CoRE introduction method
- [ ] Experimental API
- [ ] GEO spatial queries
- [ ] User private TD collection CRUD
- [ ] Caching layer
- [ ] Cluster mode support
- [ ] Advance authentication
- [ ] OpenID Connect
- [ ] OAuth2 Bearer Token
Other minor features are listed in the Issue tracker with the label feature.
Contributing
Thank you for considering contributing to Zion. Please follow the guidelines in the CONTRIBUTING.md file.
Contact
Lorenzo Gigli - @hyperloris - lorenzo.gigli@vaimee.com
Cristiano Aguzzi - @relucri - cristiano.aguzzi@vaimee.com
VAIMEE - @MaVaimee - info@vaimee.com
Acknowledgments

Zion is founded by the DESMO-LD project inside the ONTOCHAIN European organization part of the Next Generation Internet fund.
Owner
- Name: VAIMEE
- Login: vaimee
- Kind: organization
- Email: info@vaimee.it
- Location: Bologna, Italy
- Website: https://vaimee.it
- Repositories: 11
- Profile: https://github.com/vaimee
Let Things Talk and Data Be Free
Citation (CITATION.bib)
@INPROCEEDINGS{10454685,
author={Aguzzi, Cristiano and Gigli, Lorenzo and Zyrianoff, Ivan and Roffia, Luca},
booktitle={2024 IEEE 21st Consumer Communications & Networking Conference (CCNC)},
title={ZION: A Scalable W3C Web of Things Directory},
year={2024},
volume={},
number={},
pages={1-6},
doi={10.1109/CCNC51664.2024.10454685}
}
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1