All Projects β†’ aidenybai β†’ Lucia

aidenybai / Lucia

Licence: mit
πŸ™‹β€β™€οΈ 3kb library for tiny web apps

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Lucia

CalDOM
An agnostic, reactive & minimalist (3kb) JavaScript UI library with direct access to native DOM.
Stars: ✭ 176 (-59.91%)
Mutual labels:  dom, tiny
Awesome
πŸš€A curated list of awesome resources related to Alpine.
Stars: ✭ 502 (+14.35%)
Mutual labels:  alpine, dom
dababy
Data binding so simple even DaBaby could do it!
Stars: ✭ 27 (-93.85%)
Mutual labels:  dom, alpine
Cash
An absurdly small jQuery alternative for modern browsers.
Stars: ✭ 5,714 (+1201.59%)
Mutual labels:  tiny, dom
Redom
Tiny (2 KB) turboboosted JavaScript library for creating user interfaces.
Stars: ✭ 3,123 (+611.39%)
Mutual labels:  tiny, dom
Plain Draggable
The simple and high performance library to allow HTML/SVG element to be dragged.
Stars: ✭ 362 (-17.54%)
Mutual labels:  dom
Php Alpine
PHP APK Repository for Alpine Linux
Stars: ✭ 385 (-12.3%)
Mutual labels:  alpine
Linkedom
A triple-linked lists based DOM implementation.
Stars: ✭ 255 (-41.91%)
Mutual labels:  dom
Gluetun
VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN, DNS over TLS, with a few proxy servers built-in.
Stars: ✭ 346 (-21.18%)
Mutual labels:  alpine
Webappsec Trusted Types
A browser API to prevent DOM-Based Cross Site Scripting in modern web applications.
Stars: ✭ 424 (-3.42%)
Mutual labels:  dom
Alpine Magic Helpers
A collection of magic properties and helper functions for use with Alpine.js
Stars: ✭ 418 (-4.78%)
Mutual labels:  alpine
Dockerfiles
Discontinued. Fork at your will.
Stars: ✭ 384 (-12.53%)
Mutual labels:  alpine
Html Dom
This project is developed by Nguyen Huu Phuoc. I love building products and sharing knowledge.
Stars: ✭ 4,269 (+872.44%)
Mutual labels:  dom
Js Tracker
A chrome extension tracks front-end JavaScript that uses DOM / jQuery APIs to manipulate html dom elements (e.g., change style, attach event listener) at runtime.
Stars: ✭ 387 (-11.85%)
Mutual labels:  dom
Nanocomponent
πŸšƒ - create performant HTML components
Stars: ✭ 355 (-19.13%)
Mutual labels:  dom
Hrjs
πŸ”„ Tiny JavaScript plugin for highlighting and replacing text in the DOM
Stars: ✭ 420 (-4.33%)
Mutual labels:  dom
Favicon.js
A tiny (817 bytes) library for changing the favicon
Stars: ✭ 351 (-20.05%)
Mutual labels:  tiny
Anglesharp
πŸ‘Ό The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
Stars: ✭ 4,018 (+815.26%)
Mutual labels:  dom
Via.js
Write JS code that runs in a different context. E.g. use the DOM in a Web Worker.
Stars: ✭ 412 (-6.15%)
Mutual labels:  dom
Fn Fx
A Functional API around JavaFX / OpenJFX.
Stars: ✭ 373 (-15.03%)
Mutual labels:  dom

Lucia Logo

3kb library for tiny web apps.

Sometimes, all you want to do is to try and do somethingβ€”No boilerplate, bundlers, or complex build processes. Lucia aims to do this, providing an augmentation layer for your logic, allowing you to build just what you need with minimal effort and time.

TravisCI Build Code Size NPM Version Code Coverage

β†’ Check out the Lucia Website

Installing Lucia

Lucia doesn't require build tools by default, feel free to just drop a script tag in the head of your webpage.

<script src="https://unpkg.com/lucia"></script>

It also integrates well with module bundlers like Webpack or Rollup, we recommend specifying the exact build if you import Lucia this way.

β†’ Learn more about installing Lucia

Todo App Example

Below is an extremely simple implementation of a todo app using Lucia, utilizing zero JavaScript. Tasks can be added by submitting the form with the input. No, your eyes aren't fooling you - it's really that simple.

<div l-state="{ value: '', todo: [] }">
  <!-- two-way-binds `value` prop to value -->
  <input l-model="value" />
  <!-- captures click event, pushing current `value` to `todo` -->
  <button @click="todo.push(value)">Create</button>
  <!-- joins array together -->
  <ul l-for="task in todo">
    <li l-text="this.task"></li>
  </ul>
</div>

β†’ View the live Codepen example

Resources & Contributing Back

Looking for the docs? Check the Lucia website out.

Have a question about Lucia? Join the Lucia Discord server and ask the community for help.

Find a bug? Head over to our issue tracker and we'll do our best to help. We love pull requests, too!

We expect all Lucia contributors to abide by the terms of our Code of Conduct.

β†’ Start contributing on Github

Acknowledgments

Lucia is MIT-licensed open-source software by Aiden Bai, et al.

Lucia takes heavy inspiration from Vue's syntax, and believes in the core philosophies and values behind Alpine, Sidewind, and Remake. Feel free to check them out if you interested in a production-ready library to use.

HN Post


Β© 2020 The Lucia Authors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].