Trending Projects is available as a weekly newsletter please sign up at Stargazing.dev to ensure you never miss an issue.
1. Ultra
Deno + React: No build, no bundle, all streaming
exhibitionist-digital / ultra
Zero-Legacy Deno/React Suspense SSR Framework
* If you want to get very meta (not facebook), Ultra can be viewed as a tiny bridge to utilise native browser features π whilst using popular front-end libraries. π§°
π§ Start your journey
Here's a basic Ultra project to set you on your way.
deno run -A -r https://deno.land/x/ultra/create.ts
β¨ What's new
Ultra allows you to write web-apps which massively simplify your tool chain. You write ESM, we ship ESM. Where we are going, there is no "bundling" (it feels so 2018 just saying that word).
- Less opinionated, BYO routing, styling, data fetching, and head libraries
- Support for much of the React ecosystem by custom server/client controls**
- Native import maps in browser π€
- Localised import maps for production π₯
- API routing
- Overhaul of internal source code
- Updated Deno Deploy support
** Examples include (but not limited to) react-query
twind
stitches
β¦
2. Gitleaks
Gitleaks is a SAST tool for detecting hardcoded secrets like passwords, api keys, and tokens in git repos. Gitleaks is an easy-to-use, all-in-one solution for finding secrets, past or present, in your code.
Gitleaks
βββββββ
β ββ² β
β β β β
β β β β
βββββββ
Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, API keys, and tokens in git repos. Gitleaks is an easy-to-use, all-in-one solution for detecting secrets, past or present, in your code.
β ~/code(master) gitleaks git -v
β
ββ²
β β
β β
β gitleaks
Finding: "export BUNDLE_ENTERPRISE__CONTRIBSYS__COM=cafebabe:deadbeef",
Secret: cafebabe:deadbeef
RuleID: sidekiq-secret
Entropy: 2.609850
File: cmd/generate/config/rules/sidekiq.go
Line: 23
Commit: cd5226711335c68be1e720b318b7bc3135a30eb2
Author: John
Email: john@users.noreply.github.com
Date: 2022-08-03T12:31:40Z
Fingerprint: cd5226711335c68be1e720b318b7bc3135a30eb2:cmd/generate/config/rules/sidekiq.go:sidekiq-secret:23
Getting Started
Gitleaks can be installed using Homebrew, Docker, or Go. Gitleaks is also available in binary form for many popular platforms and OS types on the releases page. In addition, Gitleaks can be implemented as a pre-commit hook directly in your repo or as a GitHub action using Gitleaks-Action.
Installing
# MacOS
brew install gitleaks
# Docker (DockerHub)
docker
β¦3. Replace jQuery
Automatically finds jQuery methods from existing projects and generates vanilla js alternatives.
sachinchoolur / jquery-to-javascript-converter
Automatically finds jQuery methods from existing projects and generates vanilla js alternatives.
Test coverage
jQuery to JavaScript converter
Automatically find jQuery methods from existing projects and generate vanilla js alternatives.
Why
I've been working on removing jQuery dependency from multiple projects including lightGallery lately. Most of the projects use only 15% to 20% or less than 30% of the jquery methods And in most of the cases, I didn't want to support all the edge cases or legacy browsers. The hardest part was finding the jQuery methods in the existing project and writing the alternative vanilla jsΒ methods without making much changes in the codebase. So I wrote this library which automatically finds jquery methods in any particular JavaScript file and generates readable, chainable vanilla js alternatives. This can also be useful if you want to generate your own utilityΒ methods similar to jQuery.
Installation and Usage
You can install jquery-to-js using npm:
npm install -g jquery-to-js
- Find allβ¦
4. Lottie
Render After Effects animations natively on Web, Android and iOS, and React Native.
airbnb / lottie-web
Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
Lottie for Web, Android, iOS, React Native, and Windows
Lottie is a mobile library for Web, and iOS that parses Adobe After Effects animations exported as json with Bodymovin and renders them natively on mobile!
For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. They say a picture is worth 1,000 words so here are 13,000:
View documentation, FAQ, help, examples, and more at airbnb.io/lottie
Plugin installation
Option 1 (Recommended):
Download it from from aescripts + aeplugins: https://aescripts.com/bodymovin/
Option 2:
Or get it from the adobe store https://exchange.adobe.com/creativecloud.details.12557.html CC 2014 and up.
Other installation options:
Option 3:
- download the ZIP from the repo.
- Extract content and get the .zxp file from '/build/extension'
- Use the ZXP installer from aescripts.com.
Option 4:
-
Close After Effects
-
Extract the zipped file on
build/extension/bodymovin.zxp
to the adobe CEP folder:
WINDOWS:
C:\Program Files
β¦
5. Lumen
A constantly evolving and thoughtful architecture for creating new static blogs.
alxshelepenok / gatsby-starter-lumen
A constantly evolving and thoughtful architecture for creating static blogs with Gatsby.
Lumen
A constantly evolving and thoughtful architecture for creating new static blogs
Table of contents
Features
- Beautiful typography.
- Mobile first approach in development.
- Syntax highlighting in code blocks using PrismJS.
- Pagination support.
Quick Start
$ npm install
$ npm run start
Folder Structure
βββ internal
βΒ Β βββ definitions
βΒ Β βββ gatsby
βΒ Β βΒ Β βββ constants
βΒ Β βΒ Β βββ queries
βΒ Β βΒ Β βββ types
βΒ Β βΒ Β βββ utils
βΒ Β βββ testing
βΒ Β βββ __mocks__
βββ src
βββ assets
βΒ Β βββ scss
βΒ Β βββ base
βΒ Β βββ mixins
βββ components
βΒ Β βββ Feed
βΒ Β βββ Icon
βΒ Β βββ Image
βΒ Β βββ Layout
βΒ Β βββ Page
βΒ Β βββ Pagination
βΒ Β βββ Post
βΒ Β βΒ Β βββ Author
βΒ Β βΒ Β βββ Comments
βΒ Β βΒ Β βββ Content
βΒ Β βΒ Β βββ Meta
βΒ Β βΒ Β βββ Tags
βΒ Β βββ Sidebar
βΒ Β βββ Author
βΒ Β βββ Contacts
βΒ Β βββ Copyright
β¦6. Tonic
A Low Profile Component Framework. Stable, Minimal, Auditable, and Build-Tool-Free.
socketsupply / tonic
A Low Profile Component Framework β Stable, minimal, easy to audit, zero-dependencies and build-tool-free.
Tonic is a low profile component framework for the web. It's one file, less than 3kb gzipped and has no dependencies. It's designed to be used with modern Javascript and is compatible with all modern browsers and built on top of the Web Components. It was designed to be similar to React but 100x easier to reason about
Installation
npm install @socketsupply/tonic
Usage
import Tonic from '@socketsupply/tonic'
You can use functions as components. They can be async or even an async generator function.
async function MyGreeting () {
const data = await (await fetch('https://example.com/data')).text()
return this.html`<h1>Hello, ${data}</h1>`
}
Or you can use classes. Every class must have a render method.
class MyGreeting extends Tonic {
async * render () {
yield this.html`
β¦7. Reakit
Toolkit for building accessible rich web apps with React
Ariakit
Toolkit for building accessible web apps with React
Explore website Β»
Installation
npm:
npm i @ariakit/react
pnpm:
pnpm add @ariakit/react
Yarn:
yarn add @ariakit/react
Usage
import { useState } from "react";
import { createRoot } from "react-dom/client";
import { Button, Dialog, DialogHeading } from "@ariakit/react";
function App() {
const [open, setOpen] = useState(false);
return (
<>
<Button onClick={() => setOpen(true)}>Open dialog</Button>
<Dialog open={open} onClose={() => setOpen(false)}>
<DialogHeading>Ariakit</DialogHeading>
<p>Welcome to Ariakit!</p>
</Dialog>
</>
);
}
createRoot(document.getElementById("root")).
β¦8. Worktop
The next generation web framework for Cloudflare Workers
Features
- Super lightweight
- First-class TypeScript support
- Custom Middleware Support
- Well-organized submodules for Γ la carte functionality*
- Includes Router with support for pattern definitions
- Familiar Request-Response handler API
- Supports
async
/await
handlers - Fully treeshakable
*More to come!
Install
$ npm install --save worktop
Usage
Check out
/examples
for a list of working demos!
import { Router } from 'worktop';
import * as Cache from 'worktop/cache';
import { uid as toUID } from 'worktop/utils';
import { read, write } from 'worktop/kv';
import type { KV } from 'worktop/kv';
declare var DATA: KV.Namespace;
interface Message {
id: string;
text: string;
// ...
}
// Initialize
const API = new Router();
API.add('GET', '/messages/:id', async (req, res) =>
β¦9. Generative Art Node
Create generative art by using the canvas api and node js
HashLips / generative-art-node
Create generative art by using the canvas api and node js
Welcome to HashLips π
Important: There is a new repo for this code https://github.com/HashLips/hashlips_art_engine
All the code in these repos was created and explained by HashLips on the main YouTube channel.
To find out more please visit:
generative-art-node
Create generative art by using the canvas api and node js
Installation
git clone https://github.com/HashLips/generative-art-node
yarn install
Usage
Create your different layers as folders in the 'layers' directory, and add all the layer assets in these directories. Optionally, append '_r' and '_sr' to the layer file names to make those layer files rare or super rare respectively.
Example: If you had an ball layer you would create a ball directory, and then a file might be called:
red_eye_ball_sr.png
red_eye_ball_r.png
red_eye_ball.png
Rarity is customizable in
src/config.js
.
Once you have all your layers, go into src/config.js
and update the layersOrder
array to beβ¦
10. Solana JavaScript API
The Solana Javascript API built on the Solana JSON RPC API
solana-labs / solana-web3.js
Solana JavaScript SDK
Solana JavaScript SDK
This is the JavaScript SDK for building Solana apps for Node, web, and React Native.
Installation
For use in a Node.js or web application:
npm install --save @solana/web3.js@rc
For use in a browser, without a build system:
<!-- Development (debug mode, unminified) -->
<script src="https://unpkg.com/@solana/web3.js@rc/dist/index.development.js"></script>
<!-- Production (minified) -->
<script src="https://unpkg.com/@solana/web3.js@rc/dist/index.production.min.js"></script>
Examples
To get a feel for the API, run and modify the live examples in the examples/
directory. There, you will find a series of single-purpose Node scripts that demonstrate a specific feature or use case. You will also find a React application that you can run in a browser, that demonstrates being able to create, sign, and send transactions using browser wallets.
What's New in Version 2.0
Version 2.0 of the Solana JavaScript SDK is a response to manyβ¦
Stargazing π
Top risers over last 7 daysπ
- 30 seconds of code +1,553 stars
- The Algorithms - JavaScript +1,237 stars
- Public APIs +1,149 stars
- Free Programming Books +796 stars
- ML for beginners +616 stars
Top growth(%) over last 7 daysπ
- React render tracker +55%
- HyperFormula +16%
- Uptime Kuma +13%
- NextJS Boilerplate +11%
- The Algorithms - JavaScript +10%
Top risers over last 30 daysπ
- Public APIs +9,716 stars
- Free Programming Books +4,491 stars
- Build your own X +2,999 stars
- Tauri +2,800 stars
- Web dev for beginners +2,755 stars
Top growth(%) over last 30 daysπ
- Milkdown +59%
- Growth Book +54%
- xicons +48%
- Bulletproof React +48%
- Rooks +47%
For all for the latest rankings please checkout Stargazing.dev
Trending Projects is available as a weekly newsletter please sign up at Stargazing.dev to ensure you never miss an issue.
If you enjoyed this article you can follow me on Twitter where I regularly post about HTML, CSS and JavaScript.
Top comments (0)