LitePolis Repositories
-
LitePolis-database-default
The default database module for LitePolis that compatible with CivicTechTO/Polis
Install:
litepolis-cli deploy add-deps litepolis-database-defaultLicense: 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-particiapi
The database module for LitePolis that is compatible with ParticiAPP
Install:
litepolis-cli deploy add-deps litepolis-database-particiapiLicense: MIT License
README Preview
# LitePolis-database-particiapi ParticiAPI-compatible database module for LitePolis. This module extends `LitePolis-database-default` with ParticiAPI-specific models and functionality. ## Overview This module provides: - `ParticiapiUser` - Extended participant model with ParticiAPI fields - `P...
-
LitePolis-router-particiapi
The API module for LitePolis that is compatible with ParticiAPP
Install:
litepolis-cli deploy add-deps litepolis-router-particiapiREADME Preview
# LitePolis-router-particiapi ParticiAPI-compatible router module for LitePolis. ## Overview This module implements the [ParticiAPI](https://partici.app/) specification, providing a simpler alternative API for the ParticiApp frontend. It works alongside `LitePolis-router-default` (Polis API) a...
-
LitePolis-ui-particiapp
An UI module for LitePolis based on ParticiApp
Install:
litepolis-cli deploy add-deps litepolis-ui-particiappLicense: MIT License
README Preview
# LitePolis-ui-particiapp ParticiApp frontend UI module for LitePolis. This module packages the [ParticiApp](https://partici.app/) frontend as a LitePolis UI module, providing a clean, modern interface for participating in Polis conversations using the ParticiAPI specification. > Learn more abo...
-
LitePolis-math-default
The default math module for LitePolis that compatible with CvicTechTO/Polis
Install:
litepolis-cli deploy add-deps litepolis-math-defaultLicense: MIT License
README Preview
# LitePolis Math Default Module This module provides mathematical algorithms, specifically PCA and KMeans, for the LitePolis platform based on [LitePolis-math](https://github.com/NewJerseyStyle/LitePolis-math). It is designed to work with user vote data stored in a database (primarily StarRocks,...
-
LitePolis-router-default
The default router module for LitePolis that compatible with CvicTechTO/Polis
Install:
litepolis-cli deploy add-deps litepolis-router-defaultLicense: MIT License
README Preview
# LitePolis Router Default A drop-in backend for the [Polis 1.0](https://github.com/CivicTechTo/polis) frontend, built on the [LitePolis](https://github.com/NewJerseyStyle/LitePolis) infrastructure. If you're running a Polis instance (the civic engagement platform with opinion clustering) and w...
-
LitePolis-database-StarRocks
Install:
litepolis-cli deploy add-deps litepolis-database-starrocksLicense: 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-mathREADME 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-example
An example how to create Database module for LitePolis.
Install:
litepolis-cli deploy add-deps litepolis-database-exampleLicense: 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-exampleLicense: 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-limiterLicense: 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-exampleLicense: 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-exampleLicense: 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...