No description
Find a file
2026-10-17 13:57:01 +02:00
crates added create_logout_cookie to jwt 2026-10-12 16:42:52 +02:00
images Add files via upload 2026-10-17 13:53:13 +02:00
src exported olybase_core 2026-10-10 19:18:08 +02:00
.gitignore initial commit 2026-10-10 15:30:37 +02:00
Cargo.lock exported olybase_core 2026-10-10 19:18:08 +02:00
Cargo.toml removed some inconsistencies between using private cookie and cookie 2026-10-10 21:48:13 +02:00
LICENSE Initial commit 2026-10-10 15:20:32 +02:00
README.md Update README.md 2026-10-17 13:57:01 +02:00

Contributors Forks Stargazers Issues Apache License


Logo

Olybase

A modular, high-performance Axum web framework wrapper with optional features for JWT, TLS, WebSockets, Storage, and more!
· Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About The Project

Olybase is a modular, extensible meta-framework and wrapper built on top of Axum and Tokio. It aims to eliminate boilerplate when setting up production-ready Rust web services by providing cleanly decoupled, opt-in crates for security, web routing, real-time websockets, and storage layers.

Whether you need a lightweight microservice or a full-featured backend complete with TLS auto-generation, JWT authentication, refresh tokens, rate-limiting, and compression, Olybase lets you opt into only what you use via Cargo features.

(back to top)

Built With & Workspace Crates

This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

Olybase is structured as a Cargo workspace with dedicated modular crates:

  • olybase-core - SoonTM
  • olybase-security - SoonTM
  • olybase-web - SoonTM
  • olybase-ws - SoonTM
  • olybase-storage - SoonTM

(back to top)

Features & Cargo Flags

Control your binary size and dependencies by enabling only the features you need in your Cargo.toml:

Feature Flag Enables Sub-crates / Functionality
web Enables olybase-web routing and server capabilities
tls Enables web layer TLS support (olybase-web/tls)
tls-autogen Enables automatic TLS certificate generation
compression Enables response compression middleware
rate-limit Enables request rate-limiting utilities
tracing Enables structured logging and tracing support
security Enables olybase-security framework
jwt-autogen Enables automatic JWT secret / token generation tools
refresh-token Enables secure refresh token workflows
password-hasher Enables secure password hashing utilities
ws Enables olybase-ws for WebSockets
storage Enables olybase-storage for data persistence

(back to top)

Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  1. Clone the repo
    git clone https://github.com/olytech-official/olybase.git
    
  2. Navigate into the directory
    cd olybase
    
  3. Add Olybase to your project dependency list (with your chosen features) in your app's Cargo.toml:
 [dependencies]
 olybase = { version = "0.1.0", features = ["web", "security", "jwt-autogen", "tls"] }

(back to top)

Usage

Here is a quick example of how you can set up a basic server using Olybase:

/// todo

(back to top)

Roadmap

  • Establish modular workspace architecture (core, security, web, ws, storage)
  • Implement optional security features (JWT, Password Hashing, Refresh Tokens)
  • Implement web middleware features (Tracing, Rate-limiting, Compression)
  • Add a Database storage option (postgres and sqlite via sqlx)
  • Add comprehensive integration test suite across all workspace crates
  • Publish official crates to crates.io

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the Apache License. See LICENSE.txt for more information.

(back to top)

Contact

Project Link: https://github.com/olytech-official/olybase

(back to top)