id
large_stringlengths
54
122
language
large_stringclasses
5 values
repo_owner
large_stringlengths
2
28
repo_name
large_stringlengths
2
61
repo_stars
int64
501
245k
repo_forks
int64
7
109k
repo_description
large_stringlengths
9
468
repo_topics
listlengths
0
20
license
large_stringclasses
17 values
file_path
large_stringlengths
4
74
file_name
large_stringlengths
4
59
file_size
int64
101
610k
code
large_stringlengths
101
610k
word_count
int64
4
82.9k
char_count
int64
101
610k
line_count
int64
1
24.6k
data_quality_score
float64
0.95
0.98
timestamp
large_stringdate
2026-04-13 13:39:58
2026-04-23 15:56:29
scrubbed
bool
1 class
github_dani-garcia_vaultwarden_60c5a593af04d1724e529d8e7d3cdd13124027b1
Rust
dani-garcia
vaultwarden
58,525
2,704
Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
[ "bitwarden", "bitwarden-rs", "docker", "rocket", "rust", "vaultwarden" ]
AGPL-3.0
src/main.rs
main.rs
28,749
#![cfg_attr(feature = "unstable", feature(ip))] // The recursion_limit is mainly triggered by the json!() macro. // The more key/value pairs there are the more recursion occurs. // We want to keep this as low as possible! #![recursion_limit = "165"] // When enabled use MiMalloc as malloc instead of the default malloc ...
2,418
28,749
756
0.98
2026-04-17T13:16:36.521175
true
github_Usagi-org_ai-goofish-monitor_f9a6b95cdb78be048968273f9627be9ac6250260
Python
Usagi-org
ai-goofish-monitor
11,045
1,582
基于 Playwright 和AI实现的闲鱼多任务实时/定时监控与智能分析系统,配备了功能完善的后台管理UI。帮助用户从闲鱼海量商品中,找到心仪产品。
[ "ai", "ai-assistant", "ai-tools", "automation", "gemini", "goofish", "open-source", "openai", "playwright", "tool", "xian-yu", "xianyu", "xianyu-bot" ]
MIT
src/rotation.py
rotation.py
1,971
import os import random import time from dataclasses import dataclass from typing import Dict, List, Optional @dataclass class RotationItem: value: str last_error: Optional[str] = None class RotationPool: def __init__(self, items: List[str], blacklist_ttl: int = 300, name: str = ""): self.items ...
201
1,971
64
0.98
2026-04-22T17:13:34.232549
true
github_bigint_hey_0f669b297f1a8eb1193ff63794fecbcf6d45eca3
TypeScript
bigint
hey
29,463
1,807
Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿
[ "blockchain", "crypto", "dapp", "graphql", "hacktoberfest", "lens-protocol", "nextjs", "react", "social-media", "tailwindcss", "turborepo", "typescript", "vitest", "wagmi", "web3" ]
GPL-3.0
src/helpers/uploadMetadata.ts
uploadMetadata.ts
555
import { immutable } from "@lens-chain/storage-client"; import { CHAIN } from "@/data/constants"; import { ERRORS } from "@/data/errors"; import { storageClient } from "./storageClient"; interface MetadataPayload { [key: string]: unknown; } const uploadMetadata = async ( data: MetadataPayload | null ): Promise<st...
70
555
25
0.98
2026-04-18T01:23:17.460598
true
github_ChromeDevTools_chrome-devtools-mcp_198a91a5941904e77d0f6320386c0fd668947162
TypeScript
ChromeDevTools
chrome-devtools-mcp
35,846
2,192
Chrome DevTools for coding agents
[ "browser", "chrome", "chrome-devtools", "debugging", "devtools", "mcp", "mcp-server", "puppeteer" ]
Apache-2.0
src/McpContext.ts
McpContext.ts
27,765
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import fs from 'node:fs/promises'; import path from 'node:path'; import type {TargetUniverse} from './DevtoolsUtils.js'; import {UniverseManager} from './DevtoolsUtils.js'; import {HeapSnapshotManager} from './HeapSnapshotManager....
2,500
27,761
939
0.98
2026-04-18T00:20:54.157177
true
github_starship_starship_0e6ff2baeef981608578e78a3e24c68776e4de5c
Rust
starship
starship
56,483
2,470
☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
[ "bash", "fish", "fish-prompt", "fish-theme", "oh-my-zsh", "powershell", "rust", "shell-prompt", "starship", "zsh", "zsh-prompt", "zsh-theme" ]
ISC
src/configs/helm.rs
helm.rs
905
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct HelmConfig<'a> { pub format: &'a str, pub version_format: &'a str, pub symbol: &'a str...
86
903
35
0.98
2026-04-17T13:17:45.098484
true
github_gluon-lang_gluon_a0bdf4fd28a5e9ed076e5dacec4bf611cd1347dc
Rust
gluon-lang
gluon
3,395
152
A static, type inferred and embeddable language written in Rust.
[ "compiler", "embeddable", "functional", "gluon", "language", "programming-language", "repl", "rust", "type-inference" ]
MIT
src/std_lib/process.rs
process.rs
1,132
use crate::real_std::process::Command; use crate::vm::{api::IO, thread::Thread, ExternModule, Result}; #[derive(Getable, VmType)] #[gluon(crate_name = "::vm")] struct CreateProcess<'a> { command: &'a str, args: Vec<&'a str>, env: Option<Vec<(&'a str, &'a str)>>, current_dir: Option<&'a str>, } fn exec...
112
1,132
47
0.98
2026-04-17T17:02:58.864053
true
github_caiyuanhao1998_SAX-NeRF_853f1b2571f5eb37a6c6d9bbe4b5a1dfedf5ddf4
Python
caiyuanhao1998
SAX-NeRF
788
41
"Structure-Aware Sparse-View X-ray 3D Reconstruction" (CVPR 2024) - A Toolbox for CT reconstruction and X-ray Novel View Synthesis
[ "3d-graphics", "3d-reconstruction", "3d-vision", "ct-reconstruction", "cvpr", "instant-ngp", "medical-imaging", "nerf", "neural-radiance-fields", "novel-view-synthesis", "transformer", "x-ray-images" ]
MIT
src/dataset/tigre_mlg.py
tigre_mlg.py
17,380
import torch import pickle import os import sys import numpy as np from torch.utils.data import DataLoader, Dataset from pdb import set_trace as stx ''' 将整个像素坐标空间对应的像素值即 projection: [b, 256, 256] 划分成 [bx8x8, 32, 32] ''' def proj_window_partition(x, window_size): """ x: [256, 256] return out: [8*8, 32...
1,525
15,862
345
0.98
2026-04-22T21:27:58.330330
true
github_stoplightio_elements_346e98ecb8d2b8a831d16409a414d61355a23ab7
JavaScript
stoplightio
elements
2,397
259
Build beautiful, interactive API Docs with embeddable React or Web Components, powered by OpenAPI and Markdown.
[ "api", "api-documentation", "gatsby", "hacktoberfest", "openapi", "openapi3", "openapi3-1", "react", "stoplight-elements", "stoplight-oss", "swagger-oss" ]
Apache-2.0
jest.config.js
jest.config.js
447
module.exports = { preset: '@stoplight/scripts', testEnvironment: 'jsdom', setupFilesAfterEnv: ['<rootDir>/../../setupTests.ts'], snapshotSerializers: ['enzyme-to-json/serializer'], testMatch: ['<rootDir>/src/**/*.(spec|test).(ts|js)?(x)'], coveragePathIgnorePatterns: ['__tests__', '__fixtures__', '__storie...
25
447
13
0.98
2026-04-17T18:07:52.057315
true
github_babel_babel_f62ea2c0a04166d09ae7cb94d8ff20810104d9a0
TypeScript
babel
babel
43,892
5,813
🐠 Babel is a compiler for writing next generation JavaScript.
[ "ast", "babel", "compiler", "es2015", "es6", "flavortown", "javascript" ]
MIT
lib/third-party-libs.d.ts
third-party-libs.d.ts
2,494
/* eslint-disable import/no-extraneous-dependencies */ declare module "@babel/preset-modules/lib/plugins/transform-async-arrows-in-class/index.js" { import type { declare } from "@babel/helper-plugin-utils"; let plugin: ReturnType<typeof declare>; let exports: { default: typeof plugin }; export = exports; } de...
264
2,494
64
0.98
2026-04-23T13:04:31.509310
true
github_SeaQL_sea-orm_d61733b89d7ccb5dccd3ae8be2ff5444150dec4a
Rust
SeaQL
sea-orm
9,543
693
🐚 A powerful relational ORM for Rust
[ "database", "hacktoberfest", "loco", "mariadb", "mysql", "orm", "postgres", "rust", "sql", "sqlite", "sqlx", "tokio" ]
Apache-2.0
src/entity/model.rs
model.rs
10,837
use crate::{ ActiveModelBehavior, ActiveModelTrait, ColumnTrait, ConnectionTrait, DbErr, DeleteResult, EntityTrait, IntoActiveModel, Iterable, Linked, PrimaryKeyArity, PrimaryKeyToColumn, PrimaryKeyTrait, QueryFilter, QueryResult, Related, Select, SelectModel, SelectorRaw, Statement, TryGetError, find_l...
1,045
10,837
333
0.98
2026-04-17T14:27:14.843081
true
github_open-webui_open-webui_dc9c841729d85123d018752121098a2080c8ed3a
JavaScript
open-webui
open-webui
133,328
18,916
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
[ "ai", "llm", "llm-ui", "llm-webui", "llms", "mcp", "ollama", "ollama-webui", "open-webui", "openai", "openapi", "rag", "self-hosted", "ui", "webui" ]
NOASSERTION
tailwind.config.js
tailwind.config.js
614
import typography from '@tailwindcss/typography'; import containerQueries from '@tailwindcss/container-queries'; /** @type {import('tailwindcss').Config} */ export default { darkMode: 'class', content: ['./src/**/*.{html,js,svelte,ts}'], theme: { extend: { typography: { DEFAULT: { css: { pre: fa...
59
614
31
0.98
2026-04-22T14:51:25.905806
true
github_NodeBB_NodeBB_82472d115e89c4d1eeb9a0fc20b73ec5bc71b386
JavaScript
NodeBB
NodeBB
15,048
2,942
Node.js based forum software built for the modern web
[ "community", "forum", "javascript", "mongodb", "node", "nodebb", "nodejs", "postgresql", "redis", "socket-io", "websockets" ]
GPL-3.0
src/cli/manage.js
manage.js
6,352
'use strict'; const winston = require('winston'); const childProcess = require('child_process'); const CliGraph = require('cli-graph'); const chalk = require('chalk'); const nconf = require('nconf'); const build = require('../meta/build'); const db = require('../database'); const plugins = require('../plugins'); cons...
627
6,352
223
0.98
2026-04-23T06:53:03.948772
true
github_Tencent_WeKnora_45a1a63501f2d02167a546448a73a09a15af969a
Go
Tencent
WeKnora
13,907
1,655
LLM-powered framework for deep document understanding, semantic retrieval, and context-aware answers using RAG paradigm.
[ "agent", "agentic", "ai", "chatbot", "chatbots", "embeddings", "evaluation", "generative-ai", "golang", "knowledge-base", "llm", "multi-tenant", "multimodel", "ollama", "openai", "question-answering", "rag", "reranking", "semantic-search", "vector-search" ]
NOASSERTION
cmd/desktop/prefs.go
prefs.go
2,205
package main import ( "encoding/json" "fmt" "os" "path/filepath" ) const desktopPrefsFileName = "desktop-prefs.json" type desktopPrefs struct { HTTPPort int `json:"http_port"` HTTPBindPublic bool `json:"http_bind_public"` } func desktopPrefsDir() (string, error) { cfg, err := os.UserConfigDir() if er...
295
2,205
94
0.98
2026-04-17T11:13:22.082778
true
github_Billionmail_BillionMail_9df7bb6326a209c4c09b18e68fbc12b03ce3340f
TypeScript
Billionmail
BillionMail
13,979
1,469
BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr
[ "dovecot", "email", "email-marketing", "mail", "mailserver", "newsletter", "newsletters", "postfix", "rspamd", "server", "smtp" ]
AGPL-3.0
core/frontend/rsbuild.config.ts
rsbuild.config.ts
1,889
import AutoImport from 'unplugin-auto-import/rspack' import Components from 'unplugin-vue-components/rspack' import { defineConfig } from '@rsbuild/core' import { pluginBabel } from '@rsbuild/plugin-babel' import { pluginVue } from '@rsbuild/plugin-vue' import { pluginVueJsx } from '@rsbuild/plugin-vue-jsx' import { pl...
192
1,889
80
0.98
2026-04-17T11:12:32.628228
true
github_farion1231_cc-switch_ff9f505fda8bb1460aaa1c1716abf1481fe02c13
TypeScript
farion1231
cc-switch
46,404
2,957
A cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode, openclaw & Gemini CLI.
[ "ai-tools", "claude-code", "codex", "desktop-app", "mcp", "minimax", "omo", "open-source", "openclaw", "openclaw-ui", "opencode", "provider-management", "rust", "skills", "skills-management", "tauri", "typescript", "wsl-support" ]
MIT
src/hooks/useMcp.ts
useMcp.ts
1,789
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; import { mcpApi } from "@/lib/api/mcp"; import type { McpServer } from "@/types"; import type { AppId } from "@/lib/api/types"; /** * 查询所有 MCP 服务器(统一管理) */ export function useAllMcpServers() { return useQuery({ queryKey: ["mcp", "al...
193
1,687
75
0.98
2026-04-17T13:18:51.009847
true
github_ChatGPTNextWeb_NextChat_92772703cf840b8153d0ce35b73b90b06f4a8f80
TypeScript
ChatGPTNextWeb
NextChat
87,769
59,807
✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows
[ "calclaude", "chatgpt", "claude", "cross-platform", "desktop", "fe", "gemini", "gemini-pro", "gemini-server", "gemini-ultra", "gpt-4o", "groq", "nextjs", "ollama", "react", "tauri", "tauri-app", "vercel", "webui" ]
MIT
app/utils/tencent.ts
tencent.ts
2,815
import { sign, hash as getHash, hex } from "./hmac"; // 使用 SHA-256 和 secret 进行 HMAC 加密 function sha256(message: any, secret: any, encoding?: string) { const result = sign(secret, message); return encoding == "hex" ? hex(result).toString() : result; } function getDate(timestamp: number) { const date = new Date(t...
298
2,711
103
0.98
2026-04-23T08:58:37.013926
true
github_opendilab_DI-drive_614d73ed009c5a284550be774c10a5c75ff7e58d
Python
opendilab
DI-drive
637
60
Decision Intelligence Platform for Autonomous Driving simulation.
[ "autodrive", "autonomous-driving", "carla", "imitation-learning", "metadrive", "pytorch", "reinforcement-learning" ]
Apache-2.0
core/policy/cilrs_policy.py
cilrs_policy.py
6,468
from typing import Dict, List, Optional, Any from collections import namedtuple import numpy as np import torch import torch.nn.functional as F from ding.utils.data import default_collate, default_decollate from ding.torch_utils import to_device from core.models import CILRSModel from .base_carla_policy import BaseCar...
619
6,468
177
0.98
2026-04-22T20:42:16.544635
true
github_rancher_rancher_3ae42cacb3364e49622a4fb6c74f0d1699264a10
Go
rancher
rancher
25,503
3,179
Complete container management platform
[ "cattle", "containers", "docker", "kubernetes", "orchestration", "rancher" ]
Apache-2.0
pkg/kontainerdriver/driver.go
driver.go
971
package kontainerdriver import ( apimgmtv3 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3" v3 "github.com/rancher/rancher/pkg/generated/norman/management.cattle.io/v3" ) func GetDriver(cluster *v3.Cluster, driverLister v3.KontainerDriverLister) (string, error) { var driver *v3.KontainerDriver var er...
95
971
42
0.98
2026-04-17T08:38:31.885874
true
github_chvin_react-tetris_25d1c455b4205cb733034f14609c09f5bbf5d4e3
JavaScript
chvin
react-tetris
8,706
2,278
Use React, Redux, Immutable to code Tetris. 🎮
[ "immutable", "react", "redux", "tetris" ]
UNKNOWN
src/control/index.js
index.js
855
import store from '../store'; import todo from './todo'; const keyboard = { 37: 'left', 38: 'rotate', 39: 'right', 40: 'down', 32: 'space', 83: 's', 82: 'r', 80: 'p', }; let keydownActive; const boardKeys = Object.keys(keyboard).map(e => parseInt(e, 10)); const keyDown = (e) => { if (e.metaKey ===...
109
855
45
0.98
2026-04-23T05:51:02.340811
true
github_tangly1024_NotionNext_4adf688741b3a71225e104f654b370e1ecef1a9d
JavaScript
tangly1024
NotionNext
11,344
14,587
使用 NextJS + Notion API 实现的,支持多种部署方案的静态博客,无需服务器、零门槛搭建网站,为Notion和所有创作者设计。 (A static blog built with NextJS and Notion API, supporting multiple deployment options. No server required, zero threshold to set up a website. Designed for Notion and all creators.)
[ "blog", "nextjs", "notion", "react", "tailwindcss", "vercel", "zeabur" ]
MIT
.eslintrc.js
.eslintrc.js
2,130
module.exports = { env: { browser: true, es2021: true, node: true }, extends: [ 'plugin:react/jsx-runtime', 'plugin:react/recommended', 'plugin:@next/next/recommended', 'next', 'prettier', 'plugin:@typescript-eslint/recommended', // 添加 TypeScript 推荐规则 'plugin:@typescript-es...
154
1,972
70
0.98
2026-04-23T05:40:46.427116
true
github_rustdesk_rustdesk_f9bae32b198b79b0fa0cf08257f12f94fe8ed83e
Rust
rustdesk
rustdesk
111,484
16,696
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
[ "android", "anydesk", "dart", "flatpak", "flutter", "flutter-apps", "ios", "linux", "macos", "p2p", "rdp", "remote-control", "remote-desktop", "rust", "rust-lang", "teamviewer", "vnc", "wayland", "windows" ]
AGPL-3.0
src/lang/ptbr.rs
ptbr.rs
49,873
lazy_static::lazy_static! { pub static ref T: std::collections::HashMap<&'static str, &'static str> = [ ("Status", "Status"), ("Your Desktop", "Seu Computador"), ("desk_tip", "Seu computador pode ser acessado com este ID e senha."), ("Password", "Senha"), ("Ready", "Pronto"),...
5,191
49,140
748
0.98
2026-04-17T13:14:38.841308
true
github_mlfoundations_open_clip_1f0ad78f5746bdf1463423b68d94f74c04229d7c
Python
mlfoundations
open_clip
13,698
1,280
An open source implementation of CLIP.
[ "computer-vision", "contrastive-loss", "deep-learning", "language-model", "multi-modal-learning", "pretrained-models", "pytorch", "zero-shot-classification" ]
NOASSERTION
src/open_clip/modified_resnet.py
modified_resnet.py
9,047
from collections import OrderedDict from typing import Dict, List, Optional, Union import torch from torch import nn from torch.nn import functional as F from .utils import freeze_batch_norm_2d, feature_take_indices class Bottleneck(nn.Module): expansion = 4 def __init__(self, inplanes, planes, stride=1): ...
824
9,047
237
0.98
2026-04-17T17:18:20.889185
true
github_zhouxiaoka_autoclip_mvp_b3f99f0384fb7191990885f1a7d1c2089ed83011
Python
zhouxiaoka
autoclip_mvp
957
165
AutoClip: AI-powered video clipping and highlight generation · 一款智能高光提取与剪辑的二创工具
[ "ai-video-editing", "auto-highlight", "llm", "video", "video-editing" ]
MIT
src/pipeline/step3_scoring.py
step3_scoring.py
6,968
""" Step 3: 内容评分 - 对每个话题片段进行多维度评分 """ import json import logging from typing import List, Dict, Optional, Tuple from pathlib import Path from collections import defaultdict from ..utils.llm_factory import LLMFactory from ..utils.text_processor import TextProcessor from ..config import PROMPT_FILES, METADATA_DIR, MIN_S...
431
6,042
168
0.98
2026-04-22T17:02:49.216247
true
github_Manavarya09_design-extract_681e38a7713416e53f84b14444eb7c2b00668362
JavaScript
Manavarya09
design-extract
1,408
126
Extract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension....
[ "accessibility", "agent-skill", "ai", "chrome-extension", "claude-code-plugin", "cli", "css", "cursor", "design-system", "design-to-code", "design-tokens", "dtcg", "figma", "mcp-server", "npx", "playwright", "shadcn-ui", "skills-sh", "tailwind", "web-scraping" ]
MIT
src/extractors/images.js
images.js
2,588
export function extractImageStyles(imageData) { const ratioCount = new Map(); const shapeCount = new Map(); const filterCount = new Map(); const fitCount = new Map(); const patternCount = new Map(); const knownRatios = [ [1, 1, '1:1'], [4, 3, '4:3'], [3, 4, '3:4'], [16, 9, '16:9'], [9, 16, '9:16'], ...
351
2,588
77
0.98
2026-04-23T12:58:01.782301
true
github_dotansimha_graphql-code-generator_415eec04aa130d0d5481fb778a932d523ef7e1c5
TypeScript
dotansimha
graphql-code-generator
11,238
1,389
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
[ "android", "angular", "code-generator", "codegen", "csharp", "graphql", "graphql-schema", "java", "react", "resolvers", "schema", "the-guild", "typescript" ]
MIT
vitest.config.ts
vitest.config.ts
374
import { defineConfig } from 'vitest/config'; export const sharedConfig = defineConfig({ resolve: { alias: { graphql: 'graphql/index.js', }, tsconfigPaths: true, }, test: { globals: true, }, }); export default defineConfig({ test: { projects: ['packages/**/vitest.config.ts', 'examp...
39
374
21
0.98
2026-04-23T08:26:07.681504
true
github_ChatGPTNextWeb_NextChat_0f4e05ee86cd2b2d66ec276c87dd693921ff9825
TypeScript
ChatGPTNextWeb
NextChat
87,769
59,807
✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows
[ "calclaude", "chatgpt", "claude", "cross-platform", "desktop", "fe", "gemini", "gemini-pro", "gemini-server", "gemini-ultra", "gpt-4o", "groq", "nextjs", "ollama", "react", "tauri", "tauri-app", "vercel", "webui" ]
MIT
app/api/baidu.ts
baidu.ts
3,554
import { getServerSideConfig } from "@/app/config/server"; import { BAIDU_BASE_URL, ApiPath, ModelProvider, ServiceProvider, } from "@/app/constant"; import { prettyObject } from "@/app/utils/format"; import { NextRequest, NextResponse } from "next/server"; import { auth } from "@/app/api/auth"; import { isMode...
375
3,554
145
0.98
2026-04-23T08:58:00.638562
true
github_denisidoro_navi_def49c162301afc02e8b47ab3ae9667942ad782f
Rust
denisidoro
navi
17,025
547
An interactive cheatsheet tool for the command-line
[ "bash", "cheatsheets", "cli", "command-line", "rust", "shell", "snippet", "snippets", "terminal" ]
Apache-2.0
src/commands/info.rs
info.rs
1,819
use crate::filesystem; use crate::prelude::*; use clap::{Args, Subcommand}; #[derive(Debug, Clone, Args)] pub struct Input { #[clap(subcommand)] pub info: Info, } #[derive(Debug, Clone, Subcommand)] pub enum Info { /// Prints a cheatsheet example. CheatsExample, /// Prints a configuration file exa...
159
1,819
56
0.98
2026-04-17T13:48:22.024578
true
github_amir20_dozzle_170824866a89f6ef91b7f8b177a4f967dc68c9b2
Go
amir20
dozzle
12,398
530
Realtime log viewer for containers. Supports Docker, Swarm and K8s.
[ "docker", "docker-container", "golang", "k8s", "log", "logging", "logging-server", "real-time", "sever-events", "swarm", "vuejs" ]
MIT
internal/auth/proxy_test.go
proxy_test.go
1,568
package auth import ( "net/http" "net/http/httptest" "testing" "github.com/go-chi/jwtauth/v5" "github.com/stretchr/testify/require" ) func TestForwardProxyAuthRejectsInvalidFilter(t *testing.T) { auth := NewForwardProxyAuth("Remote-User", "Remote-Email", "Remote-Name", "Remote-Filter", "Remote-Roles") called ...
115
1,568
57
0.98
2026-04-17T11:36:59.651334
true
github_LogRocket_redux-logger_bd17a314ae979c3b1f2c7f6bfb36e6cc59f9a80f
JavaScript
LogRocket
redux-logger
5,728
317
Logger for Redux
[ "angular", "react", "redux", "redux-logger", "redux-middleware" ]
MIT
src/helpers.js
helpers.js
547
export const repeat = (str, times) => (new Array(times + 1)).join(str); export const pad = (num, maxLength) => repeat('0', maxLength - num.toString().length) + num; export const formatTime = time => `${pad(time.getHours(), 2)}:${pad(time.getMinutes(), 2)}:${pad(time.getSeconds(), 2)}.${pad(time.getMilliseconds(), 3)}...
69
547
12
0.98
2026-04-23T06:07:05.494865
true
github_loco-rs_loco_359a0b33986ec2d53669c0bd90256d62c07f2a95
Rust
loco-rs
loco
8,824
406
🚂 🦀 The one-person framework for Rust for side-projects and startups
[ "api", "axum", "rust", "rust-lang" ]
Apache-2.0
src/controller/monitoring.rs
monitoring.rs
16,056
//! This module contains a base routes related to readiness checks and status //! reporting. These routes are commonly used to monitor the readiness of the //! application and its dependencies. use super::{format, routes::Routes}; #[cfg(any(feature = "cache_inmem", feature = "cache_redis"))] use crate::config; use cra...
1,310
16,056
461
0.98
2026-04-17T14:30:02.951830
true
github_quickwit-oss_tantivy_a6321b50b0a8786f9ec8a9e4eb8fc9a8a04a817a
Rust
quickwit-oss
tantivy
15,013
896
Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust
[ "rust", "search-engine" ]
MIT
src/directory/directory_lock.rs
directory_lock.rs
2,337
use std::path::PathBuf; use once_cell::sync::Lazy; /// A directory lock. /// /// A lock is associated with a specific path. /// /// The lock will be passed to [`Directory::acquire_lock`](crate::Directory::acquire_lock). /// /// Tantivy itself uses only two locks but client application /// can use the directory facili...
353
2,337
61
0.98
2026-04-17T13:54:18.916481
true
github_matryer_xbar_4722617859c2657db4cb311d0baf770189f7455c
Go
matryer
xbar
18,017
651
Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)
[ "bitbar", "mac", "macos-menu", "macosx", "menubar", "scripting", "xbar" ]
MIT
app/menu_parser_test.go
menu_parser_test.go
3,350
package main import ( "context" "encoding/json" "testing" "time" "github.com/matryer/is" "github.com/matryer/xbar/pkg/plugins" "github.com/wailsapp/wails/v2/pkg/menu" ) func TestMenuParser(t *testing.T) { is := is.New(t) ctx := context.Background() ctx, cancel := context.WithTimeout(ctx, 1*time.Second) d...
256
3,348
148
0.98
2026-04-17T09:43:54.487954
true
github_Chalarangelo_30-seconds-of-code_736bfa80a0bd49d3162655e8223ea3af56c33701
JavaScript
Chalarangelo
30-seconds-of-code
127,546
12,477
Coding articles to level up your development skills
[ "astro", "awesome-list", "css", "education", "es6-javascript", "git", "html", "javascript", "learn-to-code", "learning-resources", "nodejs", "programming", "snippets" ]
CC-BY-4.0
src/serializers/pageSerializer.js
pageSerializer.js
290
import Serializer from '#src/core/serializer.js'; export default class PageSerializer extends Serializer { static { Serializer.prepare(this, [ [ 'props', object => ({ ...object.props, structuredData: object.schemaData }), ], 'params', ]); } }
29
290
14
0.98
2026-04-23T06:15:02.089746
true
github_ekzhang_sshx_1a9b049697d530233ed611e1c6179911beed1c62
JavaScript
ekzhang
sshx
7,438
284
Fast, collaborative live terminal sharing over the web
[ "collaborative", "rust", "share", "ssh", "terminal", "tty", "web" ]
MIT
svelte.config.js
svelte.config.js
466
import adapter from "@sveltejs/adapter-static"; import preprocess from "svelte-preprocess"; /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors preprocess: [ preprocess({ postcss: true, }...
49
466
23
0.98
2026-04-17T14:38:29.870502
true
github_4thfever_cultivation-world-simulator_d8f7b32699a766340c188d632ac3f53557dd24fe
Python
4thfever
cultivation-world-simulator
1,562
180
基于 AI Agent 工作流的修仙世界模拟器,旨在还原智能、开放的仙侠世界。| An open-source Cultivation World Simulator using Agentic Workflow to create a dynamic, emerging Xianxia world.
[ "agentic-workflow", "ai", "ai-agents", "ai-native", "autonomous-agents", "cultivation", "cultivation-game", "game", "llm", "open-source", "procedural-generation", "prompt-engineering", "python", "simulation", "simulation-game", "simulator", "text-based-game", "world-simulation" ]
NOASSERTION
src/classes/goldfinger.py
goldfinger.py
5,721
import random from dataclasses import dataclass from typing import List, Optional, TYPE_CHECKING, Any from src.utils.df import game_configs, get_str, get_list_str, get_int from src.classes.effect import load_effect_from_str, format_effects_to_text from src.classes.rarity import Rarity, get_rarity_from_str if TYPE_CHE...
443
5,639
179
0.98
2026-04-22T16:34:29.372684
true
github_rathole-org_rathole_d2afdced5c34fb69a889d4a1afcbd0d9a8d5ca48
Rust
rathole-org
rathole
13,373
743
A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
[ "firewall", "frp", "http", "nat", "network", "ngrok", "noise", "noise-protocol", "proxy", "rust", "tunnel" ]
Apache-2.0
build.rs
build.rs
660
use anyhow::Result; use vergen::{vergen, Config, SemverKind}; fn main() -> Result<()> { let mut config = Config::default(); // Change the SEMVER output to the lightweight variant *config.git_mut().semver_kind_mut() = SemverKind::Lightweight; // Add a `-dirty` flag to the SEMVER output *config.git_m...
72
660
20
0.98
2026-04-17T14:15:09.203081
true
github_gitui-org_gitui_b5dff7677c0e1f5e4b64d7225d5e05793f407e1b
Rust
gitui-org
gitui
21,783
710
Blazing 💥 fast terminal-ui for git written in rust 🦀
[ "async", "bash", "command-line-interface", "command-line-tool", "git", "hacktoberfest", "rust", "terminal", "tui" ]
MIT
src/popups/commit.rs
commit.rs
14,004
use crate::components::{ visibility_blocking, CommandBlocking, CommandInfo, Component, DrawableComponent, EventState, TextInputComponent, }; use crate::{ app::Environment, keys::{key_match, SharedKeyConfig}, options::SharedOptions, queue::{InternalEvent, NeedsUpdate, Queue}, strings, try_or_popup, ui::style::Sh...
1,202
14,004
642
0.98
2026-04-17T13:37:58.054523
true
github_h2oai_h2ogpt_74e4e6349b2aaf2dc952e3a4def419768da40452
Python
h2oai
h2ogpt
11,981
1,318
Private chat with local GPT with document, images, video, etc. 100% private, Apache 2.0. Supports oLLaMa, Mixtral, llama.cpp, and more. Demo: https://gpt.h2o.ai/ https://gpt-docs.h2o.ai/
[ "ai", "chatgpt", "embeddings", "fedramp", "generative", "gpt", "gpt4all", "llama2", "llm", "mixtral", "pdf", "private", "privategpt", "vectorstore" ]
Apache-2.0
src/prompter_utils.py
prompter_utils.py
2,012
import base64 from enums import unknown_prompt_type, template_prompt_type def get_use_chat_template(tokenizer, prompt_type=None): if tokenizer is None: return False use_chat_template = prompt_type in [None, '', unknown_prompt_type, template_prompt_type] and \ has_chat_template...
175
2,012
63
0.98
2026-04-17T15:34:21.953601
true
github_redux-form_redux-form_0995e5ad24ff7d1bfbaa3471f11a64e45c5cdcf4
JavaScript
redux-form
redux-form
12,500
1,621
A Higher Order Component using react-redux to keep form state in a Redux store
[ "form", "form-validation", "forms", "react", "redux", "redux-form", "validation" ]
MIT
src/__tests__/generateValidator.spec.js
generateValidator.spec.js
9,246
import generateValidator from '../generateValidator' import plain from '../structure/plain' import plainExpectations from '../structure/plain/__tests__/expectations' import immutable from '../structure/immutable' import immutableExpectations from '../structure/immutable/__tests__/expectations' const describeGenerateVa...
569
9,246
272
0.98
2026-04-23T04:56:54.555828
true
github_libreddit_libreddit_daa06e26e2c1e6f04438f95e856af35a68825320
Rust
libreddit
libreddit
5,187
255
Private front-end for Reddit
[ "docker", "front-end", "privacy", "reddit", "rust", "security", "self-hosted" ]
AGPL-3.0
src/instance_info.rs
instance_info.rs
7,376
use crate::{ config::{Config, CONFIG}, server::RequestExt, utils::{ErrorTemplate, Preferences}, }; use askama::Template; use build_html::{Container, Html, HtmlContainer, Table}; use hyper::{http::Error, Body, Request, Response}; use once_cell::sync::Lazy; use serde::{Deserialize, Serialize}; use time::OffsetDateTime...
569
7,376
213
0.98
2026-04-17T15:17:05.895462
true
github_lovell_sharp_48388a1d2f339463a7dd3fd9ce3335c3a4b01d46
JavaScript
lovell
sharp
32,168
1,398
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
[ "avif", "crop", "exif", "icc", "image", "image-processing", "javascript", "jpeg", "libvips", "nodejs", "performance", "png", "resize", "sharp", "svg", "tiff", "webp" ]
Apache-2.0
lib/input.js
input.js
32,979
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const is = require('./is'); const sharp = require('./sharp'); /** * Justification alignment * @member * @private */ const align = { left: 'low', top: 'low', low: 'low', center: 'centre', centre: 'centre', right: 'h...
3,151
32,979
810
0.98
2026-04-23T06:40:53.636221
true
github_directus_directus_2f3b9a26dbabb542311463909164137f5b57158f
TypeScript
directus
directus
34,821
4,713
The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.
[ "api", "app", "cms", "composable", "data-visualization", "database", "directus", "graphql", "headless-cms", "javascript", "mariadb", "mssql", "mysql", "no-code", "node", "postgresql", "sql", "sqlite", "typescript", "vue" ]
NOASSERTION
api/src/synchronization.ts
synchronization.ts
4,085
import { useEnv } from '@directus/env'; import { Redis } from 'ioredis'; import { getConfigFromEnv } from './utils/get-config-from-env.js'; interface SynchronizationManager { set(key: string, value: string | number): Promise<void>; get(key: string): Promise<string | null>; delete(key: string): Promise<void>; exist...
423
4,085
169
0.98
2026-04-17T17:53:55.982973
true
github_huggingface_transformers_eb5ff6119a841b834555dc796c0c13b2ad12e255
Python
huggingface
transformers
159,743
32,972
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
[ "audio", "deep-learning", "deepseek", "gemma", "glm", "hacktoberfest", "llm", "machine-learning", "model-hub", "natural-language-processing", "nlp", "pretrained-models", "python", "pytorch", "pytorch-transformers", "qwen", "speech-recognition", "transformer", "vlm" ]
Apache-2.0
src/transformers/training_args_seq2seq.py
training_args_seq2seq.py
4,308
# Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
500
4,308
95
0.98
2026-04-22T13:18:13.829442
true
github_triggerdotdev_jsonhero-web_e9897cd69eb37b87c31055e0b43e114be75d2d7a
JavaScript
triggerdotdev
jsonhero-web
10,697
663
JSON Hero is an open-source, beautiful JSON explorer for the web that lets you browse, search and navigate your JSON files at speed. 🚀. Built with 💜 by the Trigger.dev team.
[ "developer-tools", "devtools", "hacktoberfest", "json", "json-viewer", "react", "tools", "typescript", "viewer" ]
Apache-2.0
tailwind.config.js
tailwind.config.js
1,217
module.exports = { content: ["./app/**/*.{js,ts,jsx,tsx}"], darkMode: "class", theme: { fontSize: { tiny: ".5rem", // 8px xs: ".625rem", // 10px sm: ".75rem", // 12px (SmallBody) base: ".875rem", // 14px (Body) <p> lg: "1rem", // 16px (SmallTitle) <h3> xl...
126
1,217
40
0.98
2026-04-18T00:22:31.463992
true
github_jely2002_youtube-dl-gui_14982cc29f84d60092a4474fa1ad19d3c2f69ae6
TypeScript
jely2002
youtube-dl-gui
7,992
586
Open Video Downloader - A cross-platform GUI for youtube-dl made in Rust with Tauri and Vue + Typescript.
[ "cross-platform-gui", "downloader", "tailwind", "tauri", "vue", "youtube", "youtube-dl", "youtube-dl-gui", "ytdl" ]
AGPL-3.0
src/i18n.ts
i18n.ts
1,291
import { createI18n, I18n } from 'vue-i18n'; import en from './locales/en.json'; import es from './locales/es.json'; import nl from './locales/nl.json'; import it from './locales/it.json'; import fr from './locales/fr.json'; import de from './locales/de.json'; import nb from './locales/nb.json'; import ru from './local...
150
1,291
49
0.98
2026-04-17T14:34:34.509284
true
github_withspectrum_spectrum_661e6d17de4fc05af718deab371d29c34fb466c2
JavaScript
withspectrum
spectrum
10,848
1,204
Simple, powerful online communities.
[ "expo", "flowtype", "graphql", "nodejs", "react", "reactjs", "rethinkdb", "styled-components" ]
BSD-3-Clause
api/migrations/20181005144259-users-notifications-userIdAndIsSeen-index.js
20181005144259-users-notifications-userIdAndIsSeen-index.js
301
exports.up = function(r, conn) { return r .table('usersNotifications') .indexCreate('userIdAndIsSeen', [r.row('userId'), r.row('isSeen')]) .run(conn); }; exports.down = function(r, conn) { return r .table('usersNotifications') .indexDrop('userIdAndIsSeen') .run(conn); };
24
301
14
0.98
2026-04-23T05:42:53.121003
true
github_jtroo_kanata_b74b72582c76b4c1ca850038ad83cf883f52a87b
Rust
jtroo
kanata
7,157
258
Improve keyboard comfort and usability with advanced customization
[ "cross-platform", "interception-driver", "keyboard", "keyboard-layout", "linux", "macos", "mouse", "mouse-emulation", "rust", "windows" ]
LGPL-3.0
src/oskbd/sim_passthru.rs
sim_passthru.rs
6,686
//! Redirects output to the function provided by the entity supplying simulated input (e.g., AHK) // todo: allow sharing numpad status to differentiate between vk enter and vk numpad enter // todo: only press/release_key is implemented use super::*; use anyhow::Result; use log::*; use crate::kanata::CalculatedMouseMov...
705
6,643
194
0.98
2026-04-17T14:40:47.284865
true
github_loft-sh_vcluster_30c2c40f0327d44c858447c112b5800a27933512
Go
loft-sh
vcluster
11,094
569
vCluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.
[ "cloud-native", "helm", "k3s", "k8s", "kubectl", "kubernetes", "multi-tenancy", "platform-engineering", "vcluster", "virtual-clusters" ]
Apache-2.0
pkg/cli/restore_helm.go
restore_helm.go
7,815
package cli import ( "context" "fmt" "os" "os/exec" "path/filepath" "strings" "github.com/loft-sh/log" "github.com/loft-sh/vcluster/pkg/cli/find" "github.com/loft-sh/vcluster/pkg/cli/flags" vclusterconfig "github.com/loft-sh/vcluster/pkg/config" "github.com/loft-sh/vcluster/pkg/constants" "github.com/loft...
849
7,815
220
0.98
2026-04-17T12:24:22.690052
true
github_axolotl-ai-cloud_axolotl_cb1f9d984bfd2c03b0f0fc05168337c36e5b6afb
Python
axolotl-ai-cloud
axolotl
11,739
1,315
Go ahead and axolotl questions
[ "fine-tuning", "llm" ]
Apache-2.0
src/axolotl/processing_strategies.py
processing_strategies.py
23,860
"""Module containing ProcessingStrategy classes and its derivative for different MultiModal Model types""" from copy import deepcopy from typing import Optional from PIL import Image, ImageOps from PIL.Image import Resampling from torch import Tensor, zeros_like from transformers import ProcessorMixin from transforme...
1,896
23,860
638
0.98
2026-04-22T15:07:56.440493
true
github_pagescms_pagescms_0a77d663d8979fa06d9dc616f57dbd9bc3c5d5b8
TypeScript
pagescms
pagescms
3,608
465
The simplest CMS you'll ever need. Manage content and media right in your GitHub repository.
[ "11ty", "astro", "cms", "docusaurus", "eleventy", "gatsby", "hugo", "jekyll", "nextjs", "ssg", "static-site", "static-site-generator", "vitepress", "vue", "vuejs", "vuejs3", "vuepress" ]
MIT
lib/github-auth.ts
github-auth.ts
279
const isGithubAuthError = (error: unknown) => { if (!(error instanceof Error)) return false; const message = error.message.toLowerCase(); return message.includes("github authentication failed") || message.includes("bad credentials"); }; export { isGithubAuthError };
29
279
10
0.98
2026-04-23T10:15:10.592336
true
github_opencost_opencost_f766a45b1593ec5a02ba751d4879ebee2617291e
Go
opencost
opencost
6,491
783
Cost monitoring for Kubernetes workloads and cloud costs
[ "aws", "azure", "cncf", "cost", "cost-optimization", "finops", "gcp", "k8s", "kubernetes", "monitoring", "opencost", "prometheus" ]
Apache-2.0
pkg/env/cloudcost.go
cloudcost.go
2,709
package env import ( "github.com/opencost/opencost/core/pkg/env" ) const ( CloudCostConfigControllerStateFile = "cloud-configurations.json" CloudIntegrationConfigFile = "cloud-integration.json" AzureBillingDataDownloadPath = "db/cloudcost" ) const ( CloudCostEnvVarPrefix = "CLOUD_COST_" ...
185
2,709
94
0.98
2026-04-17T20:36:15.113021
true
github_prefect-archive_ControlFlow_2362abea4c87a92720ec49dd238a99a502ba98e9
Python
prefect-archive
ControlFlow
1,392
112
🦾 Take control of your AI agents
[ "agent", "agentic-framework", "agentic-workflow", "ai", "llm", "prefect", "workflow" ]
Apache-2.0
src/controlflow/run.py
run.py
6,588
from typing import Any, AsyncIterator, Callable, Iterator, Optional, Union import controlflow from controlflow.agents.agent import Agent from controlflow.events.events import Event from controlflow.flows import Flow, get_flow from controlflow.orchestration.conditions import RunContext, RunEndCondition from controlflow...
612
6,588
197
0.98
2026-04-22T16:39:51.682879
true
github_goharbor_harbor_059161f81c2089d678b9449561f0c1b7f52f4a7d
JavaScript
goharbor
harbor
28,287
5,198
An open source trusted cloud native registry project that stores, signs, and scans content.
[ "cloud-native", "cncf", "cncf-project", "container", "container-management", "container-registry", "containers", "docker", "hacktoberfest", "helm", "kubernetes", "registry" ]
Apache-2.0
src/portal/copyright.tmpl.js
copyright.tmpl.js
593
// Copyright Project Harbor Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
95
593
14
0.98
2026-04-17T08:25:35.996210
true
github_HuolalaTech_page-spy-web_b756d780e0bfbeccdcda385feca4af5c593350ed
TypeScript
HuolalaTech
page-spy-web
5,589
347
A remote debugging platform you'll definitely find useful. Lightweight, cross-platform, out-of-box debugging tool
[ "console", "debugger", "devtools", "remote-control" ]
MIT
src/utils/shiki-highlighter.ts
shiki-highlighter.ts
1,221
import { BUNDLED_LANGUAGES, BUNDLED_THEMES, Highlighter, Lang, Theme, } from 'shiki'; class ShikiHighlighter { private highlighter: Highlighter | null = null; constructor() { this.init(); } private async init() { this.highlighter = await window.shiki.getHighlighter({ theme: 'github-da...
124
1,221
48
0.98
2026-04-18T00:24:03.528500
true
github_solidiquis_erdtree_ce202b14d0441125279c71f458af7a81fb98dd07
Rust
solidiquis
erdtree
2,580
69
A modern, cross-platform, multi-threaded, and general purpose filesystem and disk-usage utility that is aware of .gitignore and hidden file rules.
[ "cli", "command", "command-line", "command-line-tool", "du", "dua", "dust", "exa", "fd", "find", "ls", "rust", "tree", "wc" ]
MIT
src/context/args.rs
args.rs
4,394
use super::{config, error::Error, Context}; use clap::{ builder::ArgAction, parser::ValueSource, ArgMatches, Command, CommandFactory, FromArgMatches, }; use std::{ ffi::{OsStr, OsString}, path::PathBuf, }; /// Allows the implementor to compute [`ArgMatches`] that reconciles arguments from both the /// comm...
379
4,394
130
0.98
2026-04-17T19:21:40.694509
true
github_kgateway-dev_kgateway_0962f977b23281f1220142f08cf5a5ec3ea36329
Go
kgateway-dev
kgateway
5,451
736
The Cloud-Native API Gateway and AI Gateway
[ "api-gateway", "api-management", "cloud-native", "envoy", "envoy-proxy", "grpc", "hybrid-apps", "kubernetes", "kubernetes-ingress-controller", "legacy-apps", "microservices", "serverless" ]
Apache-2.0
pkg/apiclient/client.go
client.go
878
package apiclient import ( "istio.io/istio/pkg/kube" "k8s.io/client-go/rest" "github.com/kgateway-dev/kgateway/v2/pkg/client/clientset/versioned" ) var _ Client = (*client)(nil) type Client interface { kube.Client Core() kube.Client Kgateway() versioned.Interface } type client struct { kube.Client kgateway...
96
878
49
0.98
2026-04-17T21:26:32.123756
true
github_ChromeDevTools_chrome-devtools-mcp_53783645d876bbc718a7eb62c6f5857a044c80c6
TypeScript
ChromeDevTools
chrome-devtools-mcp
36,793
2,272
Chrome DevTools for coding agents
[ "browser", "chrome", "chrome-devtools", "debugging", "devtools", "mcp", "mcp-server", "puppeteer" ]
Apache-2.0
src/telemetry/toolMetricsUtils.ts
toolMetricsUtils.ts
3,220
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type {ToolDefinition} from '../tools/ToolDefinition.js'; import { transformArgName, transformArgType, getZodType, PARAM_BLOCKLIST, } from './ClearcutLogger.js'; /** * Validates that all values in an enum are of th...
361
3,220
127
0.98
2026-04-23T08:42:41.895638
true
github_PyO3_maturin_5f2cafe5461c3248074a33d315347588269f7f35
Rust
PyO3
maturin
5,555
393
Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages
[ "cffi", "cpython", "cross-compile", "hacktoberfest", "manylinux", "packaging", "pyo3", "pypi", "pypy", "python", "uniffi", "wheels" ]
Apache-2.0
src/ci/mod.rs
mod.rs
10,568
/// GitHub Actions CI generation pub mod github; use std::collections::BTreeMap; use std::fmt; use std::path::{Path, PathBuf}; use anyhow::Result; use clap::{ArgAction, Parser, ValueEnum}; use fs_err as fs; use pep440_rs::{Operator, VersionSpecifiers}; use crate::CargoOptions; use crate::bridge::find_bridge; use cra...
915
10,548
344
0.98
2026-04-17T14:57:32.609961
true
github_rustdesk_rustdesk_74bd84130fff7fd09d8cc758e9d2ef80ccbf27fe
Rust
rustdesk
rustdesk
111,484
16,696
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
[ "android", "anydesk", "dart", "flatpak", "flutter", "flutter-apps", "ios", "linux", "macos", "p2p", "rdp", "remote-control", "remote-desktop", "rust", "rust-lang", "teamviewer", "vnc", "wayland", "windows" ]
AGPL-3.0
src/kcp_stream.rs
kcp_stream.rs
5,138
use hbb_common::{ anyhow, bytes::{Bytes, BytesMut}, bytes_codec::BytesCodec, config, log, tcp::{DynTcpStream, FramedStream}, tokio::{self, net::UdpSocket, sync::mpsc, sync::oneshot}, tokio_util, ResultType, Stream, }; use kcp_sys::{ endpoint::KcpEndpoint, packet_def::{KcpPacket, KcpP...
361
5,138
152
0.98
2026-04-17T13:14:20.067605
true
github_strapi_strapi_515fbb045f18ea2133c4b9c6fc529d65e015dcc3
JavaScript
strapi
strapi
71,921
9,657
🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.
[ "api", "cms", "cms-framework", "content-management", "content-management-system", "customizable", "dashboard", "graphql", "hacktoberfest", "headless-cms", "jamstack", "javascript", "koa", "koa2", "mysql", "no-code", "nodejs", "rest", "strapi", "typescript" ]
NOASSERTION
jest.config.api.js
jest.config.api.js
1,032
'use strict'; module.exports = { displayName: 'API integration tests', testMatch: ['**/?(*.)+(spec|test).api.(js|ts)'], testEnvironment: 'node', setupFilesAfterEnv: ['<rootDir>/tests/setup/jest-api.setup.js'], // Coverage configuration for SonarQube collectCoverage: false, // Will be enabled via CLI flag ...
68
1,032
40
0.98
2026-04-17T17:53:22.676474
true
github_codeceptjs_CodeceptJS_9e34d6c708cdc074a03245543a5b99506efb19ff
JavaScript
codeceptjs
CodeceptJS
4,221
752
Supercharged End 2 End Testing Framework for NodeJS
[ "acceptance-testing", "bdd", "bdd-framework", "codeceptjs", "e2e-tests", "end-to-end-testing", "graphql-testing", "hacktoberfest", "javascript", "nodejs", "pageobject", "playwright", "selenium", "selenium-webdriver", "testing", "webdriver", "webdriverio" ]
MIT
lib/listener/helpers.js
helpers.js
2,330
const path = require('path') const event = require('../event') const container = require('../container') const recorder = require('../recorder') const store = require('../store') const { error } = require('../output') /** * Enable Helpers to listen to test events */ module.exports = function () { const helpers = co...
230
2,330
80
0.98
2026-04-23T07:39:14.130395
true
github_sharkdp_fd_87ee41923aedfcf1564d00f4f877510720ce7c9a
Rust
sharkdp
fd
42,581
1,039
A simple, fast and user-friendly alternative to 'find'
[ "cli", "command-line", "filesystem", "hacktoberfest", "regex", "rust", "search", "terminal", "tool" ]
Apache-2.0
src/fmt/mod.rs
mod.rs
10,167
mod input; use std::borrow::Cow; use std::ffi::{OsStr, OsString}; use std::fmt::{self, Display, Formatter}; use std::path::{Component, Path, Prefix}; use std::sync::OnceLock; use aho_corasick::AhoCorasick; use self::input::{basename, dirname, remove_extension}; /// Designates what should be written to a buffer /// ...
966
10,167
282
0.98
2026-04-17T13:19:31.295230
true
github_asciinema_asciinema_1e626fdd9c3d54a506b9df4d303cd54564fa8f59
Rust
asciinema
asciinema
17,176
1,015
Terminal session recorder, streamer and player 📹
[ "asciicast", "asciinema", "cli", "recording", "rustlang", "streaming", "terminal" ]
GPL-3.0
src/api.rs
api.rs
8,210
use std::collections::HashMap; use std::env; use std::fmt::Debug; use anyhow::{bail, Context, Result}; use reqwest::{header, Response}; use reqwest::{multipart::Form, Client, RequestBuilder}; use serde::de::DeserializeOwned; use serde::{Deserialize, Serialize}; use url::Url; use crate::config::Config; #[derive(Debug...
700
8,210
284
0.98
2026-04-17T13:47:50.826873
true
github_dagger_dagger_d3f04d993d41d3374c1cc87e565b8db0d1e5d85f
Go
dagger
dagger
15,670
856
Automation engine to build, test and ship any codebase. Runs locally, in CI, or directly in the cloud
[ "agents", "ai", "caching", "ci-cd", "containers", "continuous-deployment", "continuous-integration", "dag", "dagger", "devops", "docker", "graphql", "workflows" ]
Apache-2.0
cmd/dnsname/version.go
version.go
241
package main import "fmt" // overwritten at build time var gitCommit = "unknown" const dnsnameVersion = "1.4.0-dev" func getVersion() string { return fmt.Sprintf(`CNI dnsname plugin version: %s commit: %s`, dnsnameVersion, gitCommit) }
32
241
15
0.98
2026-04-17T10:31:14.165551
true
github_nalgeon_redka_946ebf45c081386d945c37bc95709ab42d58868e
Go
nalgeon
redka
4,542
131
Redis re-implemented with SQL
[ "database", "key-value", "postgres", "redis", "sqlite" ]
BSD-3-Clause
internal/rstring/tx.go
tx.go
6,098
package rstring import ( "database/sql" "time" "github.com/nalgeon/redka/internal/core" "github.com/nalgeon/redka/internal/sqlx" ) // SQL queries for the string repository. type queries struct { get string getMany string set1 string set2 string update1 string update2 string } // Tx is a string r...
988
6,098
244
0.98
2026-04-17T18:18:53.338565
true
github_ZhuLinsen_daily_stock_analysis_19144c8526329ad09a95eb5391aa8aba933bb072
Python
ZhuLinsen
daily_stock_analysis
30,272
30,966
LLM驱动的 A/H/美股智能分析器:多数据源行情 + 实时新闻 + LLM决策仪表盘 + 多渠道推送,零成本定时运行,纯白嫖. LLM-powered stock analysis system for A/H/US markets.
[ "agent", "ai", "aigc", "gemini", "llm", "quant", "quantitative-trading", "rag", "stock" ]
MIT
src/logging_config.py
logging_config.py
5,131
# -*- coding: utf-8 -*- """ =================================== 日志配置模块 - 统一的日志系统初始化 =================================== 职责: 1. 提供统一的日志格式和配置常量 2. 支持控制台 + 文件(常规/调试)三层日志输出 3. 自动降低第三方库日志级别 """ import logging import sys from datetime import datetime from logging.handlers import RotatingFileHandler from pathlib import Path...
341
4,297
156
0.98
2026-04-17T15:27:31.702012
true
github_rangle_augury_5f9895991e4b4b7b1edcfcd120dd24c64d41a028
JavaScript
rangle
augury
1,995
214
Angular Debugging and Visualization Tools
[ "angular", "angular2", "augury", "debugging", "devtools" ]
MIT
build.config.js
build.config.js
2,638
/** * BUILD MODE (prod / dev) * output: env.PROD_MODE */ const isDevelopment = () => process.env.NODE_ENV === 'development'; const isProduction = () => !isDevelopment() const prodModeEntry = isProduction() // ------ /** * SENTRY KEY * defined by `circle.yml` */ const getSentryKey = () => process.env....
346
2,638
118
0.98
2026-04-18T00:27:01.294187
true
github_axios_axios_357381ede41d736daa56556b004b7a4e1b15c2bb
JavaScript
axios
axios
109,012
11,651
Promise based HTTP client for the browser and node.js
[ "hacktoberfest", "http-client", "javascript", "nodejs", "promise" ]
MIT
lib/cancel/CancelToken.js
CancelToken.js
2,796
'use strict'; import CanceledError from './CanceledError.js'; /** * A `CancelToken` is an object that can be used to request cancellation of an operation. * * @param {Function} executor The executor function. * * @returns {CancelToken} */ class CancelToken { constructor(executor) { if (typeof executor !==...
302
2,796
136
0.98
2026-04-23T06:16:43.355867
true
github_PyO3_maturin_30d090dbe2a6676a0a91a4c0f6c03856f615ddb8
Rust
PyO3
maturin
5,555
393
Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages
[ "cffi", "cpython", "cross-compile", "hacktoberfest", "manylinux", "packaging", "pyo3", "pypi", "pypy", "python", "uniffi", "wheels" ]
Apache-2.0
src/binding_generator/uniffi_binding.rs
uniffi_binding.rs
8,434
use std::collections::HashMap; use std::path::Path; use std::path::PathBuf; use std::process::Command; use anyhow::Context as _; use anyhow::Result; use anyhow::bail; use fs_err as fs; use normpath::PathExt as _; use tracing::debug; use crate::BuildArtifact; use crate::BuildContext; use crate::archive_source::Archive...
632
8,434
259
0.98
2026-04-17T14:57:28.514439
true
github_dtolnay_anyhow_1558de56a25236181d4b8d12e7f7614d147cdc6f
Rust
dtolnay
anyhow
6,481
207
Flexible concrete Error type built on std::error::Error
[]
Apache-2.0
src/macros.rs
macros.rs
7,072
/// Return early with an error. /// /// This macro is equivalent to /// <code>return Err([anyhow!($args\...)][anyhow!])</code>. /// /// The surrounding function's or closure's return value is required to be /// <code>Result&lt;_, [anyhow::Error][crate::Error]&gt;</code>. /// /// [anyhow!]: crate::anyhow /// /// # Examp...
820
7,072
246
0.98
2026-04-17T14:48:19.737515
true
github_axios_axios_85f109b702b511c85839e5ccd55cbb1e17c55b28
JavaScript
axios
axios
109,012
11,651
Promise based HTTP client for the browser and node.js
[ "hacktoberfest", "http-client", "javascript", "nodejs", "promise" ]
MIT
lib/helpers/progressEventReducer.js
progressEventReducer.js
1,350
import speedometer from './speedometer.js'; import throttle from './throttle.js'; import utils from '../utils.js'; export const progressEventReducer = (listener, isDownloadStream, freq = 3) => { let bytesNotified = 0; const _speedometer = speedometer(50, 250); return throttle((e) => { const rawLoaded = e.lo...
162
1,350
52
0.98
2026-04-23T06:16:58.179972
true
github_rustdesk_rustdesk_9493e1caea7933293d411cad5c75692e2e4ef258
Rust
rustdesk
rustdesk
111,484
16,696
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
[ "android", "anydesk", "dart", "flatpak", "flutter", "flutter-apps", "ios", "linux", "macos", "p2p", "rdp", "remote-control", "remote-desktop", "rust", "rust-lang", "teamviewer", "vnc", "wayland", "windows" ]
AGPL-3.0
src/platform/linux.rs
linux.rs
74,636
use super::{gtk_sudo, CursorData, ResultType}; use desktop::Desktop; pub use hbb_common::platform::linux::*; use hbb_common::{ allow_err, anyhow::anyhow, bail, config::{keys::OPTION_ALLOW_LINUX_HEADLESS, Config}, libc::{c_char, c_int, c_long, c_uint, c_void}, log, message_proto::{DisplayInfo...
7,049
74,636
2,210
0.98
2026-04-17T13:14:49.005377
true
github_openreplay_openreplay_bef08f66824639065402ada94ba561c6ea75607f
Python
openreplay
openreplay
11,957
724
Session replay, cobrowsing and product analytics you can self-host. Best for reproducing issues and iterating on your product.
[ "analytics", "angular", "devtools", "feature-flags", "ios", "javascript", "nextjs", "product-analytics", "react", "react-native", "real-user-monitoring", "session-replay", "svelte", "typescript", "vue", "web-vitals" ]
NOASSERTION
api/app.py
app.py
5,062
import logging import time from contextlib import asynccontextmanager import psycopg_pool from apscheduler.schedulers.asyncio import AsyncIOScheduler from decouple import config from fastapi import FastAPI, Request, Response from fastapi.middleware.cors import CORSMiddleware from fastapi.middleware.gzip import GZipMid...
347
5,062
162
0.98
2026-04-18T00:21:54.925107
true
github_Comfy-Org_ComfyUI_9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8
Python
Comfy-Org
ComfyUI
109,089
12,675
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
[ "ai", "comfy", "comfyui", "python", "pytorch", "stable-diffusion" ]
GPL-3.0
folder_paths.py
folder_paths.py
18,573
from __future__ import annotations import os import time import mimetypes import logging from typing import Literal, List from collections.abc import Collection from comfy.cli_args import args supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'} folder_names_a...
1,642
18,573
497
0.98
2026-04-17T15:21:54.578599
true
github_ginlix-ai_LangAlpha_505292b22e0a51d80728020adb6f877285998b00
Python
ginlix-ai
LangAlpha
919
131
Claude Code for Finance
[ "agent", "investment", "langchain", "langraph", "llm", "mcp", "skills", "trading" ]
Apache-2.0
src/llms/api_call.py
api_call.py
9,558
from typing import Any, Dict, Optional, Type, Union, Tuple from pydantic import BaseModel import asyncio import logging import json from .token_counter import extract_token_usage from .content_utils import ( get_message_content ) # Configure logging for token usage logger = logging.getLogger(__name__) def create...
884
9,558
225
0.98
2026-04-23T00:45:50.785263
true
github_quickwit-oss_tantivy_7bd13f1cdda80a810a2660a5fa26a013370d8c5e
Rust
quickwit-oss
tantivy
15,013
896
Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust
[ "rust", "search-engine" ]
MIT
src/aggregation/segment_agg_result.rs
segment_agg_result.rs
4,803
//! Contains aggregation trees which is used during collection in a segment. //! This tree contains datastructrues optimized for fast collection. //! The tree can be converted to an intermediate tree, which contains datastructrues optimized for //! merging. use std::fmt::Debug; pub(crate) use super::agg_limits::Aggre...
468
4,803
141
0.98
2026-04-17T13:54:09.752769
true
github_MichalLytek_type-graphql_eb23b6f0384c19e5f0dafa348b10a63915498840
TypeScript
MichalLytek
type-graphql
8,087
674
Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
[ "api", "controllers", "decorators", "gql", "graphql", "graphql-js", "graphql-schema", "hacktoberfest", "resolvers", "schema", "typescript" ]
MIT
src/helpers/findType.ts
findType.ts
2,528
import { type RecursiveArray, type ReturnTypeFunc, type TypeOptions, type TypeValue, type TypeValueThunk, } from "@/decorators/types"; import { NoExplicitTypeError } from "@/errors"; import { ensureReflectMetadataExists } from "@/metadata/utils"; import { bannedTypes } from "./returnTypes"; export type Metad...
245
2,528
92
0.98
2026-04-17T17:57:55.894705
true
github_kaleidawave_ezno_cc270f1a7b63c330a807647f4883038df4ffbfdc
TypeScript
kaleidawave
ezno
2,731
48
A fast and correct TypeScript type checker and compiler with additional experiments
[ "compiler", "javascript", "typechecker", "types", "typescript" ]
MIT
src/js-based-plugin/types.d.ts
types.d.ts
262
export type ReadFromFS = (path: string) => string | null; export interface EznoUnpluginOptions { /** Defaults to only running on .ezno.* files */ all_js_ts_files?: boolean, customBuild?: (cb: ReadFromFS, entryPath: string, minify: boolean) => any }
35
262
8
0.98
2026-04-17T17:03:28.141729
true
github_FullAgent_fulling_d32b0fe652e3a7129dd9a4a2fb82bfbb6faad449
TypeScript
FullAgent
fulling
2,413
231
Fulling is an AI-powered Full-stack Engineer Agent. Built with Next.js, Claude, shadcn/ui, and PostgreSQL. Use kubernetes as infra.
[ "ai-agent", "claude", "claude-code", "docker", "kubernetes", "llm", "nextjs", "pgsql", "postgresql", "prisma", "react", "shadcn-ui", "typescript", "vibe-coding" ]
MIT
lib/utils.ts
utils.ts
166
import { type ClassValue, clsx } from 'clsx' import { twMerge } from 'tailwind-merge' export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) }
22
166
7
0.98
2026-04-23T10:50:12.365949
true
github_lbjlaq_Antigravity-Manager_59e3167f0f1056e24ebe2a3827c6bcde9a2af740
TypeScript
lbjlaq
Antigravity-Manager
28,337
3,089
Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。
[ "account-manager", "antigravity" ]
NOASSERTION
src/utils/uuid.ts
uuid.ts
1,054
/** * Generates a UUID (Universally Unique Identifier) v4. * * This function attempts to use the native `crypto.randomUUID()` API first. * If that API is unavailable (e.g., in non-secure contexts like HTTP), * it falls back to a custom implementation using checksum-based random generation. * * @returns {string...
148
1,054
28
0.98
2026-04-17T13:28:49.933610
true
github_pannous_tensorflow-speech-recognition_e14ca46c91062e03990a63a2694247b6784deb50
Python
pannous
tensorflow-speech-recognition
2,176
633
🎙Speech recognition using the tensorflow deep learning framework, sequence-to-sequence neural networks
[ "deep-learning", "neural-network", "speech-recognition", "speech-to-text", "stt", "tensorflow" ]
NOASSERTION
speech2text-tflearn.py
speech2text-tflearn.py
1,590
#!/usr/bin/env python #!/usr/local/bin/python # -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import tflearn import speech_data import os learning_rate = 0.0001 training_iters = 300000 # steps batch_size = 64 width = 20 # mfcc features height = 80 # (max) length of utter...
178
1,590
55
0.98
2026-04-22T14:50:40.535936
true
github_gitui-org_gitui_5cdfe3cef0b713c520d72a79cac52f37ff6d6f15
Rust
gitui-org
gitui
21,783
710
Blazing 💥 fast terminal-ui for git written in rust 🦀
[ "async", "bash", "command-line-interface", "command-line-tool", "git", "hacktoberfest", "rust", "terminal", "tui" ]
MIT
src/queue.rs
queue.rs
3,387
use crate::{ components::FuzzyFinderTarget, popups::{ AppOption, BlameFileOpen, FileRevOpen, FileTreeOpen, InspectCommitOpen, }, tabs::StashingOptions, }; use asyncgit::{ sync::{ diff::DiffLinePosition, BranchInfo, CommitId, LogFilterSearchOptions, }, PushType, }; use bitflags::bitflags; use std::{ cell...
336
3,387
194
0.98
2026-04-17T13:38:10.748666
true
github_Teemu_pytest-sugar_84edea7ad103daf1a6d49f027e01bf3d86c485c9
Python
Teemu
pytest-sugar
1,524
82
a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)
[ "pytest", "pytest-plugin", "pytest-sugar", "python", "testing" ]
BSD-3-Clause
setup.py
setup.py
2,373
import codecs from setuptools import setup # Copied from (and hacked): # https://github.com/pypa/virtualenv/blob/develop/setup.py#L42 def get_version(filename): import os import re here = os.path.dirname(os.path.abspath(__file__)) f = codecs.open(os.path.join(here, filename), encoding="utf-8") v...
208
2,373
71
0.98
2026-04-18T01:46:57.152048
true
github_opendilab_DI-drive_4e0a1ff80e152f66b6c46944b602347593ea48fc
Python
opendilab
DI-drive
637
60
Decision Intelligence Platform for Autonomous Driving simulation.
[ "autodrive", "autonomous-driving", "carla", "imitation-learning", "metadrive", "pytorch", "reinforcement-learning" ]
Apache-2.0
core/models/pid_controller.py
pid_controller.py
2,387
import os import sys from collections import deque import numpy as np from easydict import EasyDict class PIDController(object): """ PID controller for speed and angle control in DI-drive. :Arguments: - K_P (float): P value of PID. - K_I (float): I value of PID. - K_D (float): D v...
263
2,387
96
0.98
2026-04-22T20:42:13.993599
true
github_judahpaul16_gpt-home_d5f27525b9f14a493f173fb8963fc9b1b45bafbf
Python
judahpaul16
gpt-home
640
65
ChatGPT at home! A better alternative to commercial smart home assistants, built on the Raspberry Pi using LiteLLM and LangGraph.
[ "ai", "automation", "docker", "fastapi", "home-assistant", "home-automation", "iot", "langchain", "langgraph", "langmem", "llm", "nginx", "nodejs", "openai", "python", "raspberry-pi", "react", "speech-recognition", "spotify", "typescript" ]
GPL-3.0
src/tools/spotify.py
spotify.py
5,441
""" Spotify tool for GPT Home. Controls Spotify playback via the backend's spotify-control endpoint. Uses Web API with hybrid authentication: - Client Credentials for search (no user auth required) """ from typing import Optional import aiohttp from langchain_core.tools import tool from .env_utils import get_host_ip...
639
5,441
133
0.98
2026-04-23T00:50:49.296430
true
github_subho406_OmniNet_b5c95688e4e40a5a71525f1a7b36872e639e6b56
Python
subho406
OmniNet
514
59
Official Pytorch implementation of "OmniNet: A unified architecture for multi-modal multi-task learning" | Authors: Subhojeet Pramanik, Priyanka Agrawal, Aman Hussain
[ "artificial-intelligence", "deep-learning", "image-captioning", "machine-learning", "multimodal-learning", "multitask-learning", "neural-network", "nlp", "transformer", "video-recognition" ]
UNKNOWN
train.py
train.py
14,655
# # Copyright 2019 Subhojeet Pramanik, Aman Husain, Priyanka Agrawal # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
1,185
14,655
347
0.98
2026-04-22T21:53:40.600677
true
github_Chalarangelo_30-seconds-of-code_393dc6d5e64332b4122e2e47c34b60c49ce2b15a
JavaScript
Chalarangelo
30-seconds-of-code
127,546
12,477
Coding articles to level up your development skills
[ "astro", "awesome-list", "css", "education", "es6-javascript", "git", "html", "javascript", "learn-to-code", "learning-resources", "nodejs", "programming", "snippets" ]
CC-BY-4.0
src/presenters/sublinkPresenter.js
sublinkPresenter.js
1,268
import Collection from '#src/models/collection.js'; import settings from '#src/config/settings.js'; export default class SublinkPresenter { constructor(object, options = {}) { this.object = object; this.options = options; } get sublinks() { if (this.object.isMain) { return Collection.scope('pr...
105
1,268
50
0.98
2026-04-23T06:15:01.516040
true
github_kubernetes-sigs_external-dns_118230d0d84e5a67c8531cc93dcfa345bf138513
Go
kubernetes-sigs
external-dns
8,903
2,853
Configure external DNS servers dynamically from Kubernetes resources
[ "aws", "clouddns", "dns", "dns-controller", "dns-providers", "dns-record", "dns-servers", "external-dns", "gcp", "ingress", "k8s-sig-network", "kubernetes", "route53" ]
Apache-2.0
source/istio_gateway_test.go
istio_gateway_test.go
53,024
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
3,901
53,020
2,021
0.98
2026-04-17T20:17:15.527168
true
github_huggingface_lighteval_00fe25676e795b2fc9b244eea6dc1e4232177553
Python
huggingface
lighteval
2,386
452
Lighteval is your all-in-one toolkit for evaluating LLMs across multiple backends
[ "evaluation", "evaluation-framework", "evaluation-metrics", "huggingface" ]
MIT
src/lighteval/main_accelerate.py
main_accelerate.py
5,884
# MIT License # Copyright (c) 2024 The HuggingFace Team # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, ...
475
5,884
157
0.98
2026-04-23T00:39:41.612303
true
github_starship_starship_fefdd50a78ea6bb3cef814ab8bac18d7a47140c1
Rust
starship
starship
56,483
2,470
☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
[ "bash", "fish", "fish-prompt", "fish-theme", "oh-my-zsh", "powershell", "rust", "shell-prompt", "starship", "zsh", "zsh-prompt", "zsh-theme" ]
ISC
src/configs/hg_branch.rs
hg_branch.rs
740
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct HgBranchConfig<'a> { pub symbol: &'a str, pub style: &'a str, pub format: &'a str, ...
72
736
31
0.98
2026-04-17T13:17:45.402862
true
github_cjpais_Handy_ab6b830d2d52ee3b37eb1fdb749645dcac2bb555
TypeScript
cjpais
Handy
20,113
1,637
A free, open source, and extensible speech-to-text application that works completely offline.
[ "accessibility", "cross-platform", "speech-to-text", "tauri-v2" ]
MIT
src/hooks/useSettings.ts
useSettings.ts
2,640
import { useEffect } from "react"; import { useSettingsStore } from "../stores/settingsStore"; import type { AppSettings as Settings, AudioDevice } from "@/bindings"; interface UseSettingsReturn { // State settings: Settings | null; isLoading: boolean; isUpdating: (key: string) => boolean; audioDevices: Audi...
220
2,640
79
0.98
2026-04-17T13:43:26.615508
true
github_graffle-js_graffle_046604e2e26757ace70a7f5c83c752baf8f2c948
TypeScript
graffle-js
graffle
6,116
309
Simple GraphQL Client for JavaScript. Minimal. Extensible. Type Safe. Runs everywhere.
[ "graphql", "graphql-client", "lightweight", "nodejs", "typescript" ]
MIT
vite.config.ts
vite.config.ts
254
// This config file is to get around this Vitest bug https://github.com/vitest-dev/vitest/issues/4605 import { defineConfig } from 'vitest/config' export default defineConfig({ resolve: { alias: { graphql: 'graphql/index.js', }, }, })
30
254
11
0.98
2026-04-18T01:31:43.062924
true
github_imsyy_DailyHotApi_447b1859f03b99dc9e8f5b8e7a8a35502285663d
TypeScript
imsyy
DailyHotApi
3,749
1,256
🔥 今日热榜 API,一个聚合热门数据的 API 接口,支持 RSS 模式 及 Vercel 部署 | 前端页面:https://github.com/imsyy/DailyHot
[ "api", "daily-hot", "list", "rss", "vercel" ]
MIT
src/routes/ifanr.ts
ifanr.ts
1,380
import type { RouterData } from "../types.js"; import { get } from "../utils/getData.js"; import { getTime } from "../utils/getTime.js"; export const handleRoute = async (_: undefined, noCache: boolean) => { const listData = await getList(noCache); const routeData: RouterData = { name: "ifanr", title: "爱范儿...
139
1,354
51
0.98
2026-04-17T18:03:08.654465
true
github_maximecb_uvm_4a7225d8f22f4f4ca561c32f8e98a8bf5c562c54
Rust
maximecb
uvm
581
22
Fun, portable, minimalistic virtual machine.
[ "bytecode", "bytecode-interpreter", "compiler", "containerization", "emulation", "emulator", "interpreter", "jit-compiler", "permacomputing", "rust", "sandboxing", "uvm", "virtual-machine" ]
Apache-2.0
api/src/main.rs
main.rs
13,798
#![allow(unused_imports)] #![allow(dead_code)] #![allow(unused_variables)] #![allow(unused_parens)] #![allow(unused_mut)] use std::fs; use std::fs::File; use std::io::Write; use std::env; use std::collections::HashSet; use std::collections::HashMap; // https://docs.rs/serde_json/latest/serde_json/ use serde::{Deseria...
1,291
13,798
426
0.98
2026-04-17T17:09:57.951877
true
github_go-gitea_gitea_199433d0cff964728eedeac595ec7a1d60f8a7bc
TypeScript
go-gitea
gitea
54,955
6,587
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
[ "bitbucket", "cicd", "devops", "docker-registry-v2", "git", "git-gui", "git-lfs", "git-server", "gitea", "github", "github-actions", "gitlab", "go", "golang", "hacktoberfest", "maven-server", "npm-registry", "self-hosted", "typescript", "vue" ]
MIT
tailwind.config.ts
tailwind.config.ts
4,161
import {readFileSync} from 'node:fs'; import {parse} from 'postcss'; import plugin from 'tailwindcss/plugin.js'; import type {Config} from 'tailwindcss'; function extractRootVars(css: string) { const root = parse(css); const vars = new Set<string>(); root.walkRules((rule) => { if (rule.selector !== ':root') ...
418
4,161
123
0.98
2026-04-17T07:19:32.859218
true
github_react-dates_react-dates_a9c536235c0f757c42ed04a72b217a3fa53baa4a
JavaScript
react-dates
react-dates
12,203
1,683
An easily internationalizable, mobile-friendly datepicker library for the web
[ "calendar", "datepicker", "dates", "react", "react-component", "react-dates" ]
MIT
src/shapes/IconPositionShape.js
IconPositionShape.js
194
import PropTypes from 'prop-types'; import { ICON_BEFORE_POSITION, ICON_AFTER_POSITION, } from '../constants'; export default PropTypes.oneOf([ICON_BEFORE_POSITION, ICON_AFTER_POSITION]);
15
194
9
0.98
2026-04-23T05:25:52.835229
true
github_fission_fission_473dafbe164cd0a0bae8f4bf9791ca20349f4c22
Go
fission
fission
8,852
789
Fast and Simple Serverless Functions for Kubernetes
[ "cloud-native", "containers", "devops", "docker", "faas", "fission", "functions", "functions-as-a-service", "go", "hacktoberfest", "kubernetes", "lambda", "serverless", "serverless-functions" ]
Apache-2.0
pkg/webhook/package.go
package.go
3,036
/* Copyright 2022. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed un...
276
3,036
87
0.98
2026-04-17T20:18:21.844281
true
github_hyunwoongko_transformer_7c1d531ccd8be09e1c5a5a6941f4c64f122d2540
Python
hyunwoongko
transformer
4,531
632
Transformer: PyTorch Implementation of "Attention Is All You Need"
[ "attention", "dataset", "pytorch", "transformer" ]
UNKNOWN
graph.py
graph.py
972
""" @author : Hyunwoong @when : 2019-12-18 @homepage : https://github.com/gusdnd852 """ import matplotlib.pyplot as plt import re def read(name): f = open(name, 'r') file = f.read() file = re.sub('\\[', '', file) file = re.sub('\\]', '', file) f.close() return [float(i) for idx, i in enumera...
91
972
45
0.98
2026-04-22T20:56:03.300874
true
github_codexu_note-gen_15e0613147cabd66cc2a0922358b9f70120fc499
TypeScript
codexu
note-gen
11,305
838
A cross-platform Markdown AI note-taking software.
[ "agent", "chatbot", "knowledge-base", "llm", "markdown", "mcp", "nextjs", "note-taking", "rag", "tauri", "webdav" ]
GPL-3.0
src/stores/article.ts
article.ts
87,553
import { getFiles as getGithubFiles } from '@/lib/sync/github' import { GithubContent } from '@/lib/sync/github.types' import { getFiles as getGiteeFiles } from '@/lib/sync/gitee' import { getFiles as getGiteaFiles } from '@/lib/sync/gitea' import { getFiles as getGitlabFiles } from '@/lib/sync/gitlab' import { GiteeFi...
7,655
81,899
2,449
0.98
2026-04-23T09:46:44.360591
true
github_brianlovin_briOS_cbf6fc5ab8149b9c2bec54e8a2114ef5cea3ef6f
TypeScript
brianlovin
briOS
2,250
252
My personal website.
[ "apollo", "graphql", "javascript", "nextjs", "planetscale", "prisma", "react", "styled-components" ]
UNKNOWN
src/lib/jwt.ts
jwt.ts
1,663
import { format } from "date-fns"; import jwt from "jsonwebtoken"; import { z } from "zod"; import { BASE_URL } from "./email"; /** * JWT token utilities for unsubscribe links and digest helpers */ if (!process.env.JWT_SIGNING_KEY) { throw new Error("JWT_SIGNING_KEY environment variable is not set"); } const JW...
203
1,663
66
0.98
2026-04-18T01:40:07.005555
true