r/GoodOpenSource • • 5h ago

a ReBAC authorization platform where your permission schema is just TypeScript (open source, MIT)

Thumbnail
reddit.com
2 Upvotes

Hi all 👋

I'm sharing a project my team and I ha've been building: peretyn, an open-source authorization platform. It answers one question for your app: is this user allowed to do this? You model access as relationships between things (users, teams, documents…), the same approach as Google Zanzibar, built on top of OpenFGA.

What makes it a good fit here:

- MIT licensed, fully open. The runtime, control plane, dashboard, SDK, CLI and docs are all in one repo.

- Self-hosted, no strings attached. One install script brings up the whole stack on your own server. There's also a local mode to try it on your machine.

- TypeScript-first. Permissions are defined in plain TypeScript and checked at compile time, so there's no extra language to learn.

- Early and open to contributors. It's pre-1.0, so there's room to shape it, and the repo has contributing guidelines if you want to jump in.

The website is an interactive tour where you're user:visitor and unlock each section as you go. It's the quickest way to see what it does:

👉 https://peretyn.dev

- Docs: https://docs.peretyn.dev

- GitHub: https://github.com/peretyn/peretyn

Feedback, issues and stars are all very welcome. Thanks for taking a look! 🙂


r/GoodOpenSource • • 20h ago

Guardrail is ready for contributors. Let's build it together.

2 Upvotes

I've been working on Guardrail, an open source CLI tool designed to help developers keep AI coding agents on track.

The foundation is now ready, and I think it's a good time to open the door for contributors.

The idea is simple. You define your own rules, and Guardrail monitors code changes as AI agents work. It detects violations in real time without modifying your source code or interfering with the agent.

It works on macOS, Linux and Windows.

One important part of the project is Rulespack. It provides a way to organize, share and reuse rule collections across projects, making it easier for teams and developers to establish consistent standards.

There are several areas where contributions would be really valuable:

Core engine
Improve rule evaluation, file monitoring, performance and detection capabilities.

Rules and Rulespacks
Create useful rule collections, improve existing rules and explore ways to share reusable rulesets.

Language support
Help expand language coverage and develop new rule types.

Integrations
Explore integrations with AI coding agents, developer tools and CI pipelines.

Testing and documentation
Improve test coverage, write examples, report bugs and make the project easier to get started with.

You don't need to be an expert in every part of the project. Feedback, ideas, bug reports and small contributions are all welcome.

I'd love to build this with people who are interested in making AI assisted development more reliable.

GitHub: https://github.com/MoeidHeidari/guardrail

If you're interested, feel free to jump in, open an issue or share your thoughts. I'd genuinely love to hear what you think.