百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nettu-scheduler

> 编程语言
开源

一个自主托管的日历和调度器服务器。

562 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个自主托管的日历和调度器服务器。

Nettu scheduler

Overview

Nettu scheduler is a self-hosted calendar and scheduler server that aims to provide the building blocks for building calendar / booking apps with ease. It has a simple REST API and also a JavaScript SDK and Rust SDK.

It supports authentication through api keys for server - server communication and JSON Web Tokens for browser - server communication.

Features

  • Booking: Create a Service and register Users on it to make them bookable.
  • Calendar Events: Supports recurrence rules, flexible querying and reminders.
  • Calendars: For grouping Calendar Events.
  • Freebusy: Find out when Users are free and when they are busy.
  • Integrations: Connect your Nettu, Google and Outlook calendars
  • Multi-tenancy: All resources are grouped by Accounts.
  • Metadata queries: Add key-value metadata to your resources and then query on that metadata
  • Webhooks: Notifying your server about Calendar Event reminders.

Quick start

The server is using PostgreSQL for persistence, so we will need to spin up that first:

bash
cd scheduler
docker-compose -f integrations/docker-compose.yml up -d

Now we are ready to start the nettu-scheduler server with cargo

bash
cd scheduler
export ACCOUNT_API_KEY="REPLACE_ME"
export DATABASE_URL="postgresql://postgres:postgres@localhost:5432/nettuscheduler"
export PORT="3000"
cargo run

The ACCOUNT_API_KEY environment variable is going to create an Account (if it does not already exist) during server startup with the given key. Accounts act as tenants in the server, and it is possible to create multiple Accounts by using the CREATE_ACCOUNT_SECRET_CODE which you can provide as an environment variable.

Quick example of how to create and query a user

bash
export SECRET_API_KEY="REPLACE ME WITH YOUR API KEY"

# Create a user with metadata
curl -X POST -H "Content-Type: application/json" -H "x-api-key: $SECRET_API_KEY" -d '{"metadata": { "groupId": "123" }}' http://localhost:5000/api/v1/user

# Get users by metadata
curl -H "x-api-key: $SECRET_API_KEY" "http://localhost:5000/api/v1/user/meta?key=groupId&value=123"

Please see below for links to more examples.

Examples

  • Calendars and Events

  • Booking

  • Reminders

  • Creating JWT for end-users

Contributing

Contributions are welcome and are greatly appreciated!

License

MIT

Special thanks

  • Lemmy for inspiration on how to use cargo workspace to organize a web app in rust.
  • The author of this blog post for an excellent introduction on how to do telemetry in rust.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcalendarsrrulerustscheduler

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言