https://github.com/hungrybluedev/duckdb_starter
https://github.com/hungrybluedev/duckdb_starter
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hungrybluedev/duckdb_starter
- Owner: hungrybluedev
- License: mit
- Created: 2024-07-10T15:58:47.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T19:31:15.000Z (11 months ago)
- Last Synced: 2025-04-05T21:59:04.743Z (2 months ago)
- Language: C
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DuckDB+C Starter Template
## Usage
All chores are put in convenient bash files in the script directory.
### Preparation
This needs to be run the first time only.
```bash
./scripts/install.sh
```This will download, verify, and extract DuckDB v1.0.0 in the
thirdparty directory. If the `LD_LIBRARY_PATH` is not set, the script
will set it for you.### Compilation
To compile the C code, run:
```bash
./scripts/compile.sh
```There's no Makefile for this project (intentionally).
### Running
To run the compiled code, run:
```bash
./bin/main
```## Modification
Update the script files to suit your needs. The `main.c` file is a
moderately involved example of how to use DuckDB in a C program.## License
This project is licensed under the MIT License. See the LICENSE file
for details.## Contributing
Contributions are welcome! Create issues for bugs or feature requests
and submit pull requests for improvements (corresponsing to the issues).