LitePolis Repositories
-
LitePolis-database-StarRocks
Install:
litepolis-cli deploy add-deps litepolis-database-starrocks
License: MIT License
README Preview
# LitePolis Database Template This repository provides a template for creating custom database modules for the LitePolis system. The example code within this template uses SQLModel and SQLite for demonstration purposes, **replace this specific implementation** with your chosen database technolo...
-
LitePolis-math
Mathematical algorithms module for LitePolis for user vote data analysis
Install:
litepolis-cli deploy add-deps litepolis-math
README Preview
# LitePolis Math Module This module provides mathematical algorithms, specifically PCA and KMeans, for the LitePolis platform. It is designed to work with user vote data stored in a database (primarily StarRocks, with potential support for PostgreSQL via the `litepolis_database` module) to produ...
-
LitePolis-database-default
The default database module for LitePolis that compatible with Polis
Install:
litepolis-cli deploy add-deps litepolis-database-default
License: MIT License
README Preview
# LitePolis Database Default This is the default database module that compatible with [Polis](https://github.com/CivicTechTO/polis/). It provides a unified interface for interacting with the database, aggregating operations from various manager classes for Users, Conversations, Comments, and V...
-
LitePolis-database-example
An example how to create Database module for LitePolis.
Install:
litepolis-cli deploy add-deps litepolis-database-example
License: MIT License
README Preview
# LitePolis Database Example This repository provides a working example of a database module for LitePolis, using SQLite as the database backend. It demonstrates a structured approach to database interactions using SQLModel and a Manager/Actor pattern, separating database logic from potential AP...
-
LitePolis-middleware-oauth
LitePolis middleware for authentication with OAuth standard
License: MIT License
README Preview
# LitePolis-middleware Template This repository serves as a template for creating middleware modules for LitePolis. It provides a basic structure and example code to guide you through the process. > :warning: Keep the prefix "litepolis-middleware-" and "litepolis_middleware_" in the name of pac...
-
LitePolis-middleware-example
An example how to create middleware module for LitePolis.
Install:
litepolis-cli deploy add-deps litepolis-middleware-example
License: MIT License
README Preview
# LitePolis Middleware Example: JWT Authentication This repository was generated using the LitePolis command-line interface: ```bash litepolis-cli create middleware litepolis-middleware-example ``` > :warning: **Naming Convention:** Always keep the prefix "litepolis-middleware-" in your ...
-
LitePolis-middleware-rate-limiter
LitePolis middleware for rate limiting
Install:
litepolis-cli deploy add-deps litepolis-middleware-rate-limiter
License: MIT License
README Preview
# LitePolis Rate Limiter Middleware ## Installation ```bash litepolis-cli add-deps litepolis-middleware-rate-limiter ``` The `RateLimiterMiddleware` implements a token bucket algorithm to control the rate of requests. ## Configuration `capacity` and `refill_rate` in `~/.litepolis/config.conf`:...
-
LitePolis-ui-example
An example how to create UI module for LitePolis from React source code.
Install:
litepolis-cli deploy add-deps litepolis-ui-example
License: MIT License
README Preview
# Building a LitePolis UI Module with a React Frontend and Automated Deployment This tutorial will guide you through the process of creating a LitePolis UI module that utilizes a React.js frontend. We'll also demonstrate how to use GitHub Actions to automate the build and publishing process. ##...
-
LitePolis-router-example
An example how to create API router module for LitePolis.
Install:
litepolis-cli deploy add-deps litepolis-router-example
License: MIT License
README Preview
# LitePolis Router Example with Database Integration This repository demonstrates how to create a LitePolis router module with database integration, using the `litepolis-database-example` package. ```mermaid graph TD A[API Endpoints] --> B[DatabaseActor] B --> C[UserManager] B --> D...