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_unkeyed_unkey_1d588c7698df79ce3f2269b054711e4af653e487
Go
unkeyed
unkey
5,260
616
The Developer Platform for Modern APIs
[ "api", "api-keys", "authentication", "authorization", "deployment", "gateway", "open-source", "rate-limiter" ]
NOASSERTION
pkg/array/random.go
random.go
882
package array import ( "math/rand" ) // Random returns a uniformly selected element from the slice. // // Uses Go's global random number generator to select with uniform probability distribution. // Each element has equal chance of selection regardless of position or value. // // Panics if the slice is empty. // // ...
125
882
30
0.98
2026-04-23T08:06:47.242454
true
github_open-wa_wa-automate-nodejs_d8b1471cd7a54d3326acd98dffb3288c3254a232
TypeScript
open-wa
wa-automate-nodejs
3,448
669
💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
[ "api", "chatbots", "framework", "nodejs", "typescript" ]
NOASSERTION
src/structures/Dialog.ts
Dialog.ts
1,968
import { ChatId, Client, Message } from ".."; export interface CurrentDialogProps { [k : string] : any } export interface DialogState { currentStep: number; currentProps: any; lastInput: any; isComplete: boolean; isError: boolean; errorMessage: string; } export interface DialogTemplate { ...
199
1,968
78
0.98
2026-04-17T18:04:13.088071
true
github_Arize-ai_phoenix_923868cd527b70f6b5b75df2e9cf9ff90ae8518f
TypeScript
Arize-ai
phoenix
9,387
833
AI Observability & Evaluation
[ "agents", "ai-monitoring", "ai-observability", "aiengineering", "anthropic", "datasets", "evals", "langchain", "llamaindex", "llm-eval", "llm-evaluation", "llmops", "llms", "openai", "prompt-engineering", "smolagents" ]
NOASSERTION
app/tests/playground.spec.ts
playground.spec.ts
4,985
import { randomUUID } from "crypto"; import { expect, test, type Page, type Response } from "@playwright/test"; function isGraphQLMutationResponse(response: Response, operationName: string) { if (!response.url().includes("/graphql") || response.status() !== 200) { return false; } const postData = response.re...
410
4,985
145
0.98
2026-04-23T00:43:02.202602
true
github_baoyachi_shadow-rs_c2242925dbc4dfacb8460020cc62d4cfb97575fb
Rust
baoyachi
shadow-rs
679
51
A build-time information stored in your rust project.(binary,lib,cdylib,dylib,wasm)
[ "build", "cargo", "cargo-build", "cargo-env", "cargo-lock", "cargo-plugin", "cargo-toml", "cargolock", "compile", "compiled", "compiler", "env", "metadata", "reproducible-build", "reproducible-builds", "rust", "rust-build", "rust-crate", "shadow", "shadow-rs" ]
MIT
src/gen_const.rs
gen_const.rs
7,362
#[allow(unused_imports)] use crate::CARGO_CLIPPY_ALLOW_ALL; #[cfg(feature = "metadata")] use crate::{Shadow, CARGO_METADATA}; macro_rules! gen_const { ($fn_name:ident, $fn_body:expr) => { pub fn $fn_name() -> String { let (doc, content) = $fn_body; format!( "{}\n{}\n...
480
7,362
131
0.98
2026-04-17T17:08:56.694665
true
github_redux-form_redux-form_91cebe1b933af09924a77aa1e2df06ab8623eef6
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/getFormInitialValues.js
getFormInitialValues.js
171
// @flow import createGetFormInitialValues from './selectors/getFormInitialValues' import plain from './structure/plain' export default createGetFormInitialValues(plain)
13
171
6
0.98
2026-04-23T04:57:10.484499
true
github_reactstrap_reactstrap_64f1a67baa1d25207b5bd2f30431c37856d157fd
JavaScript
reactstrap
reactstrap
10,527
1,288
Simple React Bootstrap 5 components
[ "bootstrap", "components", "hacktoberfest", "javascript", "react", "reactstrap", "ui" ]
MIT
src/NavItem.js
NavItem.js
826
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import { mapToCssModules, tagPropType } from './utils'; const propTypes = { /** Add active class to element */ active: PropTypes.bool, /** Add custom class */ className: PropTypes.string, /** Change underlying...
103
826
37
0.98
2026-04-23T05:44:16.741708
true
github_jwyang_faster-rcnn.pytorch_34ba4b7289728dc46308bda3bd13b1a96bb8917b
Python
jwyang
faster-rcnn.pytorch
7,864
2,306
A faster pytorch implementation of faster r-cnn
[ "faster-rcnn", "pytorch" ]
MIT
lib/setup.py
setup.py
4,802
from __future__ import print_function # -------------------------------------------------------- # Fast R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- import os from os.path import joi...
537
4,802
137
0.98
2026-04-22T22:48:12.965819
true
github_syncthing_syncthing_54ea74ecd37f1f94ff0ea8e65bd6dc84a161d3a5
Go
syncthing
syncthing
82,976
5,104
Open Source Continuous File Synchronization
[ "go", "p2p", "peer-to-peer", "synchronization" ]
MPL-2.0
cmd/stdiscosrv/apisrv_test.go
apisrv_test.go
7,021
// Copyright (C) 2018 The Syncthing Authors. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this file, // You can obtain one at https://mozilla.org/MPL/2.0/. package main import ( "context" "crypto/tls" "fmt" "io" "net" ...
760
7,021
232
0.98
2026-04-23T15:09:55.435072
true
github_transformerlab_transformerlab-app_b864bd53229d710a44eacc637e0dd133519d37f7
Python
transformerlab
transformerlab-app
4,934
507
The open source research environment for AI researchers to seamlessly train, evaluate, and scale models from local hardware to GPU clusters.
[ "diffusion", "diffusion-models", "electron", "llama", "llms", "lora", "mlx", "rlhf", "stability-diffusion", "transformers" ]
AGPL-3.0
api/api.py
api.py
16,448
""" The Entrypoint File for Transformer Lab's API Server. """ import asyncio import os import argparse import re import json from concurrent.futures import ThreadPoolExecutor from contextlib import asynccontextmanager import fastapi import uvicorn from fastapi import FastAPI, Request, Depends from fastapi.exception...
1,447
16,416
441
0.98
2026-04-22T22:08:22.743527
true
github_theatre-js_theatre_1792bed800866d8c297a74689fb4c1749a26f67a
JavaScript
theatre-js
theatre
12,370
450
Motion design editor for the web
[ "animation", "devtools", "generative-art", "motion-design", "r3f", "threejs" ]
Apache-2.0
jest.config.js
jest.config.js
1,362
/** @type {import('jest').Config} */ module.exports = { testMatch: [ '<rootDir>/packages/*/src/**/*.test.ts', '<rootDir>/devEnv/**/*.test.ts', ], moduleNameMapper: { ...require('./devEnv/getAliasesFromTsConfig').getAliasesFromTsConfigForJest(), '\\.(css|svg|png)$': 'identity-obj-proxy', 'lodas...
91
1,362
48
0.98
2026-04-18T00:21:34.197671
true
github_PanJiaChen_vue-admin-template_8d962ad4a25007489f5630e0e41b285247ac8cb1
JavaScript
PanJiaChen
vue-admin-template
20,445
7,428
a vue2.0 minimal admin template
[ "axios", "element-ui", "javascript", "vue", "vue-admin", "vue-cli", "vue-router", "vuex" ]
MIT
src/utils/validate.js
validate.js
361
/** * Created by PanJiaChen on 16/11/18. */ /** * @param {string} path * @returns {Boolean} */ export function isExternal(path) { return /^(https?:|mailto:|tel:)/.test(path) } /** * @param {string} str * @returns {Boolean} */ export function validUsername(str) { const valid_map = ['admin', 'editor'] ret...
47
361
21
0.98
2026-04-23T11:46:53.636552
true
github_karmada-io_karmada_a6a8d4751e29cf5e831505e2864ea2dc7cedfb46
Go
karmada-io
karmada
5,427
1,097
Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
[ "cloud-computing", "cloud-native", "containers", "k8s", "kubernetes", "multi-cluster", "multicloud" ]
Apache-2.0
pkg/util/constants.go
constants.go
13,649
/* Copyright 2020 The Karmada 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, sof...
1,429
13,649
289
0.98
2026-04-17T21:27:57.183353
true
github_Unitech_pm2_e66901c363ad0ef86f6bc286058a2abcfc51dc66
JavaScript
Unitech
pm2
43,090
2,714
Node.js Production Process Manager with a built-in Load Balancer.
[ "command-line", "command-line-tool", "deploy", "load-balancer", "monitoring", "node", "nodejs", "pm2", "process-manager", "production" ]
NOASSERTION
lib/VersionCheck.js
VersionCheck.js
1,022
var vCheck = require('@pm2/pm2-version-check') var semver = require('semver') var fs = require('fs') var os = require('os') function hasDockerEnv() { try { fs.statSync('/.dockerenv'); return true; } catch (_) { return false; } } function hasDockerCGroup() { try { return fs.readFileSync('/proc/sel...
118
1,022
47
0.98
2026-04-23T06:19:08.495796
true
github_nearai_ironclaw_59a95f301f2f943da297fdc045284c64f73514fe
Rust
nearai
ironclaw
11,845
1,350
IronClaw is OpenClaw inspired implementation in Rust focused on privacy and security
[]
Apache-2.0
src/config/embeddings.rs
embeddings.rs
18,560
use std::sync::Arc; use secrecy::{ExposeSecret, SecretString}; use crate::config::helpers::{ db_first_bool, db_first_or_default, optional_env, parse_optional_env, validate_operator_base_url, }; use crate::error::ConfigError; use crate::llm::{BedrockConfig, SessionManager}; use crate::settings::Settings; use c...
1,359
18,551
528
0.98
2026-04-17T14:19:54.390000
true
github_ChatGPTNextWeb_NextChat_c4ce2653ac33742a8eee61a7f10348357eb5ba0d
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/locales/cs.ts
cs.ts
19,473
import { SubmitKey } from "../store/config"; import type { PartialLocaleType } from "./index"; import { getClientConfig } from "../config/client"; import { SAAS_CHAT_UTM_URL } from "@/app/constant"; const isApp = !!getClientConfig()?.isApp; const cs: PartialLocaleType = { WIP: "V přípravě...", Error: { Unautho...
1,974
18,620
603
0.98
2026-04-23T08:58:11.101919
true
github_simple-login_app_da3076f62931caa7cc374a161a6e9accbb71246d
Python
simple-login
app
6,621
577
The SimpleLogin back-end and web app
[ "aliases", "email", "flask", "hacktoberfest", "simplelogin" ]
AGPL-3.0
app/api/base.py
base.py
1,914
from functools import wraps from typing import Tuple, Optional import arrow from flask import Blueprint, request, jsonify, g from flask_login import current_user from app.db import Session from app.models import ApiKey api_bp = Blueprint(name="api", import_name=__name__, url_prefix="/api") SUDO_MODE_MINUTES_VALID =...
164
1,914
74
0.98
2026-04-23T02:44:13.914354
true
github_unionlabs_union_e0717ef0ea642fdc43886109a1cf59392cab9a42
Rust
unionlabs
union
74,142
3,884
The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.
[ "astro", "blockchain", "cosmos", "cosmwasm", "ethereum", "evm", "golang", "indexer", "interoperability", "move", "nix", "prover", "relayer", "rust", "solidity", "svelte", "typescipt", "typescript", "zero-knowledge" ]
Apache-2.0
lib/cometbls-groth16-verifier/build.rs
build.rs
3,823
use std::{ env, fmt::{Display, Write}, fs, mem::{align_of, size_of}, path::Path, }; use gnark_key_parser::bn254::VerifyingKey; use substrate_bn::{G1, G2}; pub const FQ_SIZE: usize = 32; pub const G1_SIZE: usize = 2 * FQ_SIZE; pub const G2_SIZE: usize = 2 * G1_SIZE; fn parse_verifying_key(buf: &[u...
336
3,823
125
0.98
2026-04-17T13:15:43.938245
true
github_nodejs_node_d14a3a7406daf55275c34f2a08243506017ba2f9
JavaScript
nodejs
node
116,870
35,414
Node.js JavaScript runtime ✨🐢🚀✨
[ "javascript", "js", "linux", "macos", "mit", "node", "nodejs", "runtime", "windows" ]
NOASSERTION
lib/quic.js
quic.js
1,308
'use strict'; const { ObjectCreate, ObjectSeal, } = primordials; const { emitExperimentalWarning, } = require('internal/util'); emitExperimentalWarning('quic'); const { connect, listen, QuicEndpoint, QuicSession, QuicStream, CC_ALGO_RENO, CC_ALGO_CUBIC, CC_ALGO_BBR, DEFAULT_CIPHERS, DEFAULT...
94
1,308
59
0.98
2026-04-23T06:16:13.635325
true
github_sierra-research_tau2-bench_2c4bdb3ffcb908b381ecc00d2a1a205ac1bd99f4
Python
sierra-research
tau2-bench
1,038
263
τ-Bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains
[ "ai", "benchmark", "conversational-agents", "language-model-agent", "llm" ]
MIT
src/tau2/voice_config.py
voice_config.py
4,071
# Copyright Sierra """Voice configuration constants.""" from pathlib import Path from typing import Optional from tau2.utils.utils import DATA_DIR # Data directories DATA_DIR_VOICE = DATA_DIR / "voice" BACKGROUND_NOISE_CONTINUOUS_DIR = ( DATA_DIR_VOICE / "background_noise_audio_pcm_mono_verified" / "continuous" ...
464
4,071
127
0.98
2026-04-17T16:34:06.328776
true
github_reactstrap_reactstrap_2b7ee8c6d8a4f11132a611ea9eda8a65ef75a718
JavaScript
reactstrap
reactstrap
10,527
1,288
Simple React Bootstrap 5 components
[ "bootstrap", "components", "hacktoberfest", "javascript", "react", "reactstrap", "ui" ]
MIT
src/Portal.js
Portal.js
802
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import { canUseDOM } from './utils'; const propTypes = { children: PropTypes.node.isRequired, node: PropTypes.any, }; class Portal extends React.Component { componentWillUnmount() { if (this.defaultNode) { ...
76
802
39
0.98
2026-04-23T05:44:24.136636
true
github_ChromeDevTools_chrome-devtools-mcp_e86af2efc026e32d7b78b411e052250a10d73ffb
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/logger.ts
logger.ts
1,152
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import fs from 'node:fs'; import {debug} from './third_party/index.js'; const mcpDebugNamespace = 'mcp:log'; const namespacesToEnable = [ mcpDebugNamespace, ...(process.env['DEBUG'] ? [process.env['DEBUG']] : []), ]; export...
119
1,152
48
0.98
2026-04-18T00:21:05.205108
true
github_ChatGPTNextWeb_NextChat_7c976188a6befe25d89816440ec031cefb11d96f
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/locales/da.ts
da.ts
23,381
import { getClientConfig } from "../config/client"; import { SubmitKey } from "../store/config"; import { SAAS_CHAT_UTM_URL } from "@/app/constant"; import { PartialLocaleType } from "./index"; const isApp = !!getClientConfig()?.isApp; const da: PartialLocaleType = { WIP: "Der kommer snart mere...", Error: { U...
2,475
23,181
844
0.98
2026-04-23T08:58:11.568735
true
github_vercel_swr_c5dee2f2eb384c905c05ee6f0bc834bcc9e29729
TypeScript
vercel
swr
32,352
1,332
React Hooks for Data Fetching
[ "cache", "data", "data-fetching", "fetch", "hook", "hooks", "nextjs", "react", "react-native", "stale-while-revalidate", "suspense", "swr", "vercel" ]
MIT
src/_internal/types.ts
types.ts
34,202
import type { SWRGlobalConfig } from '../index' import type * as revalidateEvents from './events' /** * Global state tuple containing SWR's internal state management structures. * * This is the core state structure that manages all SWR operations internally. * Each element serves a specific purpose in the SWR ecos...
4,987
34,192
1,133
0.98
2026-04-23T09:00:03.246447
true
github_adam-mcdaniel_oakc_b57fb1bc1b5fbae83e31b4c123673b94406b8624
Rust
adam-mcdaniel
oakc
747
21
A portable programming language with a compact intermediate representation
[ "c", "compiler", "compiler-design", "golang" ]
Apache-2.0
src/hir.rs
hir.rs
39,088
use std::{ collections::BTreeMap, fmt::{Display, Error, Formatter}, fs::read_to_string, path::PathBuf, process::exit, }; use crate::{ mir::{ MirDeclaration, MirExpression, MirFunction, MirProgram, MirStatement, MirStructure, MirType, }, parse, Identifier, StringLiteral, }; #[de...
3,624
39,088
1,132
0.98
2026-04-17T17:08:37.569621
true
github_pathwaycom_pathway_a3673c228063fe469cddd69fbd4943e59738d41b
Rust
pathwaycom
pathway
63,434
1,631
Python ETL framework for stream processing, real-time analytics, LLM pipelines, and RAG.
[ "batch-processing", "data-analytics", "data-pipelines", "data-processing", "dataflow", "etl", "etl-framework", "iot-analytics", "kafka", "machine-learning-algorithms", "pathway", "python", "real-time", "rust", "stream-processing", "streaming", "time-series-analysis" ]
NOASSERTION
src/pipe.rs
pipe.rs
1,602
// Copyright © 2026 Pathway use std::io; use std::os::fd::{AsFd, OwnedFd}; use cfg_if::cfg_if; use nix::fcntl::{fcntl, FcntlArg, FdFlag, OFlag}; use nix::unistd; #[allow(dead_code)] #[derive(Debug, Clone, Copy)] pub enum ReaderType { Blocking, NonBlocking, } #[allow(dead_code)] #[derive(Debug, Clone, Copy)]...
164
1,601
68
0.98
2026-04-23T04:40:50.301950
true
github_graphql-nexus_nexus_e8c82ff052fd70bfa1b242c783e888d6af7c6946
TypeScript
graphql-nexus
nexus
3,427
278
Code-First, Type-Safe, GraphQL Schema Construction
[ "graphql", "graphql-nexus", "graphql-schema", "nexus", "typescript" ]
MIT
src/plugins/declarativeWrappingPlugin.ts
declarativeWrappingPlugin.ts
6,042
import type { NexusFinalArgConfig } from '../definitions/args' import type { NexusInputFieldDef, NexusOutputFieldDef } from '../definitions/definitionBlocks' import { list } from '../definitions/list' import { nonNull } from '../definitions/nonNull' import { nullable } from '../definitions/nullable' import { plugin } f...
672
6,042
185
0.98
2026-04-18T01:37:21.317268
true
github_gogs_gogs_6c785add821e4355f1a6ef1e4d779b8939ee956a
Go
gogs
gogs
47,504
5,043
Gogs is a painless self-hosted Git service
[ "docker", "git", "go", "gogs", "mysql", "postgresql", "raspberry-pi", "self-hosted", "source-code-management", "sqlite3", "version-control" ]
MIT
internal/database/public_keys_test.go
public_keys_test.go
1,605
package database import ( "context" "fmt" "os" "path/filepath" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gogs.io/gogs/internal/conf" ) func TestPublicKeys(t *testing.T) { if testing.Short() { t.Skip() } t.Parallel() ctx := context.Background() s := &Public...
142
1,605
66
0.98
2026-04-17T07:25:17.662310
true
github_rosedblabs_rosedb_e2555d14a5488b0119f5bc89082dafc693d17338
Go
rosedblabs
rosedb
4,885
646
Lightweight, fast and reliable key/value storage engine based on Bitcask.
[ "data-structures", "database", "embedded", "go", "golang", "key-value", "kv-store", "rosedb", "throughput" ]
Apache-2.0
watch_test.go
watch_test.go
3,206
package rosedb import ( "math/rand" "testing" "github.com/rosedblabs/rosedb/v2/utils" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestWatch_Insert_Scan(t *testing.T) { capacity := 1000 // There are two spaces to determine whether the queue is full and overwrite the write....
400
3,206
149
0.98
2026-04-17T18:16:47.700451
true
github_ultraworkers_claw-code_85c9e02efa01d7b28cf63f3c60beb52176861808
Python
ultraworkers
claw-code
185,575
108,568
The repo is finally unlocked. enjoy the party! The fastest repo in history to surpass 100K stars ⭐. Join Discord: https://discord.gg/5TUQKqFWd Built in Rust using oh-my-codex.
[]
UNKNOWN
src/costHook.py
costHook.py
210
from __future__ import annotations from .cost_tracker import CostTracker def apply_cost_hook(tracker: CostTracker, label: str, units: int) -> CostTracker: tracker.record(label, units) return tracker
21
210
9
0.98
2026-04-17T13:13:09.375088
true
github_mimblewimble_grin_2a923d9153d123b9db944216c6fb0ea5f0cf5ef3
Rust
mimblewimble
grin
5,088
984
Minimal implementation of the Mimblewimble protocol.
[ "cryptocurrency", "cryptography", "grin", "mimblewimble", "rust", "zero-knowledge-proofs" ]
Apache-2.0
api/src/web.rs
web.rs
4,633
use crate::rest::*; use crate::router::ResponseFuture; use futures::future::ok; use hyper::body; use hyper::{Body, Request, Response, StatusCode}; use serde::{Deserialize, Serialize}; use std::collections::HashMap; use std::fmt::Debug; use std::io::Cursor; use url::form_urlencoded; /// Parse request body pub async fn ...
513
4,633
185
0.98
2026-04-17T15:19:58.915849
true
github_pranshuparmar_witr_a6776bc016a1308d4f5e1ad731b27ee2711eb18d
Go
pranshuparmar
witr
14,306
360
Why is this running?
[]
Apache-2.0
internal/output/colors.go
colors.go
352
package output var ( ColorReset = ansiString("\033[0m") ColorRed = ansiString("\033[31m") ColorGreen = ansiString("\033[32m") ColorBlue = ansiString("\033[34m") ColorCyan = ansiString("\033[36m") ColorMagenta = ansiString("\033[35m") ColorDim = ansiString("\033[2m") ColorDimYell...
29
352
13
0.98
2026-04-17T10:42:36.626435
true
github_nightwatchjs_nightwatch_a66329efc5e177b734e2e537fc78e57b21ac3b31
JavaScript
nightwatchjs
nightwatch
11,945
1,404
Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
[ "automated-testing", "chromedriver", "end-to-end-testing", "hacktoberfest", "javascript", "nightwatch", "nightwatchjs", "nodejs", "selenium", "selenium-server", "selenium-webdriver", "testing", "w3c-webdriver", "webdriver" ]
MIT
lib/utils/addDetailedError.js
addDetailedError.js
2,683
/** * @method addDetailedError * @param {Error} err */ module.exports = function(err) { let detailedErr; if (err instanceof TypeError) { if (err.detailedErr && /browser\..+ is not a function$/.test(err.detailedErr)) { detailedErr = ' ' + err.detailedErr + '\n\n Nightwatch client is not yet available;...
350
2,683
61
0.98
2026-04-23T06:58:49.836422
true
github_Wilfred_bfc_d13bd30f67768eecec79bc2b2abcf2f138ea001a
Rust
Wilfred
bfc
541
34
An industrial-grade brainfuck compiler
[ "brainfuck", "compiler", "llvm", "rust" ]
GPL-2.0
src/diagnostics.rs
diagnostics.rs
197
//! Human-readable warnings and errors for the CLI. use crate::bfir::Position; #[derive(Debug, PartialEq, Eq)] pub struct Warning { pub message: String, pub position: Option<Position>, }
24
197
10
0.98
2026-04-17T17:10:29.726485
true
github_ChatGPTNextWeb_NextChat_ddeb17bd59dcd69e74bf8cf20cd69e72ea9817fb
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/baidu.ts
baidu.ts
555
import { BAIDU_OATUH_URL } from "../constant"; /** * 使用 AK,SK 生成鉴权签名(Access Token) * @return 鉴权签名信息 */ export async function getAccessToken( clientId: string, clientSecret: string, ): Promise<{ access_token: string; expires_in: number; error?: number; }> { const res = await fetch( `${BAIDU_OATUH_URL}...
55
521
24
0.98
2026-04-23T08:58:30.883659
true
github_researchmm_Stark_1181e4de3ab5270badc409443a1e61d3c25e390e
Python
researchmm
Stark
708
151
[ICCV'21] Learning Spatio-Temporal Transformer for Visual Tracking
[ "transformer" ]
MIT
lib/train/base_functions.py
base_functions.py
10,551
import torch from torch.utils.data.distributed import DistributedSampler # datasets related from lib.train.dataset import Lasot, Got10k, MSCOCOSeq, ImagenetVID, TrackingNet from lib.train.dataset import Lasot_lmdb, Got10k_lmdb, MSCOCOSeq_lmdb, ImagenetVID_lmdb, TrackingNet_lmdb from lib.train.data import sampler, openc...
539
10,551
187
0.98
2026-04-22T21:43:50.271538
true
github_openimsdk_open-im-server_15a0d8c073220156f072334183eb12e4cec32f38
Go
openimsdk
open-im-server
16,217
2,865
IM Chat OpenClaw
[ "chat", "im", "messaging", "messenger", "openclaw" ]
Apache-2.0
internal/msggateway/client_conn.go
client_conn.go
5,616
package msggateway import ( "context" "encoding/json" "errors" "fmt" "sync/atomic" "time" "github.com/gorilla/websocket" "github.com/openimsdk/tools/log" ) var ErrWriteFull = fmt.Errorf("websocket write buffer full,close connection") type ClientConn interface { ReadMessage() ([]byte, error) WriteMessage(...
628
5,616
230
0.98
2026-04-17T10:26:55.304338
true
github_segmentio_evergreen_8719d7b8614be86a242c48f126d3337f91fb4dda
JavaScript
segmentio
evergreen
12,428
813
🌲 Evergreen React UI Framework by Segment
[ "component-library", "design-systems", "evergreen", "react", "segment", "ui", "ui-components" ]
MIT
rollup.config.js
rollup.config.js
2,024
import babel from '@rollup/plugin-babel' import commonjs from '@rollup/plugin-commonjs' import resolve from '@rollup/plugin-node-resolve' import replace from '@rollup/plugin-replace' import typescript from '@rollup/plugin-typescript' import { terser } from 'rollup-plugin-terser' import pkg from './package.json' // Use...
187
2,024
88
0.98
2026-04-23T04:58:29.962994
true
github_bigint_hey_4ce725540ebf2cbfb525aceb2858d25a777d8328
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/getAccount.ts
getAccount.ts
1,529
import { LENS_NAMESPACE } from "@/data/constants"; import { Regex } from "@/data/regex"; import type { AccountFragment } from "@/indexer/generated"; import formatAddress from "./formatAddress"; import isAccountDeleted from "./isAccountDeleted"; interface AccountInfo { name: string; link: string; username: string...
164
1,529
65
0.98
2026-04-18T01:23:02.937586
true
github_eloialonso_iris_a159fb2bdc7f4d9f1bd2929413f84a8841f4ea35
Python
eloialonso
iris
877
94
Transformers are Sample-Efficient World Models. ICLR 2023, notable top 5%.
[ "artificial-intelligence", "atari", "deep-learning", "machine-learning", "reinforcement-learning", "research", "transformers", "world-models" ]
GPL-3.0
src/envs/world_model_env.py
world_model_env.py
4,690
import random from typing import List, Optional, Union import gym from einops import rearrange import numpy as np from PIL import Image import torch from torch.distributions.categorical import Categorical import torchvision class WorldModelEnv: def __init__(self, tokenizer: torch.nn.Module, world_model: torch.n...
370
4,690
105
0.98
2026-04-22T20:26:46.453457
true
github_ChatGPTNextWeb_NextChat_25129c592c3297e1397be25f877e3cfccb01984d
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/mcp/logger.ts
logger.ts
1,446
// ANSI color codes for terminal output const colors = { reset: "\x1b[0m", bright: "\x1b[1m", dim: "\x1b[2m", green: "\x1b[32m", yellow: "\x1b[33m", red: "\x1b[31m", blue: "\x1b[34m", }; export class MCPClientLogger { private readonly prefix: string; private readonly debugMode: boolean; constructo...
155
1,414
66
0.98
2026-04-23T08:58:23.175768
true
github_morethanmin_morethan-log_204f2d80a31f8033275f3e01cd6f6b1cef95ead0
JavaScript
morethanmin
morethan-log
2,282
1,808
😎 A static blog using notion database
[ "blog", "blog-template", "blog-theme", "morethan-log", "nextjs", "notion", "notion-api", "notion-blog", "notion-client", "notion-database", "resume", "resume-template", "tailwindcss", "vercel" ]
MIT
next.config.js
next.config.js
449
/** @type {import('next').NextConfig} */ const nextConfig = { images: { remotePatterns: [ { protocol: 'https', hostname: 'www.notion.so', }, { protocol: 'https', hostname: '*.googleusercontent.com', // accept all subdomains of googleusercontent.com }, ...
42
449
22
0.98
2026-04-23T10:53:01.013104
true
github_jdx_mise_1f855f8e3158c09967d5d4d6366b5a8b326aa101
Rust
jdx
mise
26,796
1,060
dev tools, env vars, task runner
[]
MIT
src/backend/version_list.rs
version_list.rs
14,396
/// Version list parsing utilities for fetching remote versions from URLs. /// /// Supports multiple formats: /// - Single version (plain text) /// - Line-separated versions /// - JSON arrays of strings /// - JSON arrays of objects with version fields /// - JSON objects with nested version arrays /// /// Options: /// -...
1,338
14,396
403
0.98
2026-04-17T13:30:41.767925
true
github_google_comprehensive-rust_560dc044c145ef3e93f2427e45dba87f0b55b65d
Rust
google
comprehensive-rust
32,858
1,995
This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.
[ "android", "classroom", "course", "google", "guide", "rust", "training", "training-materials" ]
Apache-2.0
src/smart-pointers/exercise.rs
exercise.rs
3,891
// Copyright 2023 Google LLC // SPDX-License-Identifier: Apache-2.0 // // 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 requ...
450
3,891
151
0.98
2026-04-17T13:24:04.602515
true
github_judahpaul16_gpt-home_18da7bd8d7cbf3fea8029c8e9a33f1396c401cc5
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/waveform/strategies.py
strategies.py
4,043
"""Rendering strategies for waveform display. Implements the Strategy pattern for different rendering behaviors. All strategies show waveform when listening - they differ in minimum bar height and whether silence shows flat bars or no bars. Alexa/Google Home behavior: - Always show listening indicator when in listeni...
390
4,043
127
0.98
2026-04-23T00:50:51.531914
true
github_jsx-eslint_eslint-plugin-react_8cf73c90bce43a80b39fb30c3255c9d7b1983be4
JavaScript
jsx-eslint
eslint-plugin-react
9,277
2,732
React-specific linting rules for ESLint
[ "development", "ecmascript", "eslint", "javascript", "lint", "react" ]
MIT
lib/rules/no-multi-comp.js
no-multi-comp.js
2,066
/** * @fileoverview Prevent multiple component definition per file * @author Yannick Croissant */ 'use strict'; const values = require('object.values'); const Components = require('../util/Components'); const docsUrl = require('../util/docsUrl'); const report = require('../util/report'); // ---------------------...
189
2,066
82
0.98
2026-04-23T05:49:19.380461
true
github_renrenio_renren-fast-vue_258c9f1e73b07017be3d627fe57ada3e4d38e812
JavaScript
renrenio
renren-fast-vue
3,000
1,411
renren-fast-vue基于vue、element-ui构建开发,实现renren-fast后台管理前端功能,提供一套更优的前端解决方案。
[ "element-ui", "vue", "vue-admin", "vue-cli", "vue-element-admin" ]
MIT
src/store/index.js
index.js
507
import Vue from 'vue' import Vuex from 'vuex' import cloneDeep from 'lodash/cloneDeep' import common from './modules/common' import user from './modules/user' Vue.use(Vuex) export default new Vuex.Store({ modules: { common, user }, mutations: { // 重置vuex本地储存状态 resetStore (state) { Object.k...
51
491
24
0.98
2026-04-23T12:11:41.695967
true
github_benfred_py-spy_15942ad7034090da83f278ed2ae8de9911a8d295
Rust
benfred
py-spy
15,112
510
Sampling profiler for Python programs
[ "performance-analysis", "profiler", "profiling", "python" ]
MIT
src/native_stack_trace.rs
native_stack_trace.rs
14,544
use anyhow::Error; use std::collections::HashSet; use std::num::NonZeroUsize; use cpp_demangle::{BorrowedSymbol, DemangleOptions}; use lazy_static::lazy_static; use lru::LruCache; use remoteprocess::{self, Pid}; use crate::binary_parser::BinaryInfo; use crate::cython; use crate::stack_trace::Frame; use crate::utils::...
1,265
14,544
378
0.98
2026-04-17T13:53:03.979662
true
github_spacejam_sled_deddc527aaa6e34098a88304e1545bd80d0c1f45
Rust
spacejam
sled
8,971
420
the champagne of beta embedded databases
[ "b-plus-tree", "b-tree", "concurrent", "crash-testing", "database", "embedded-kv", "formal-methods", "fuzzing", "high-performance", "incredibly-spicy", "kv", "lock-free", "log-structured", "orm", "persistence", "rust", "sled", "tree" ]
Apache-2.0
src/block_checker.rs
block_checker.rs
1,826
use std::collections::BTreeMap; use std::panic::Location; use std::sync::atomic::{AtomicU64, Ordering}; use std::sync::{LazyLock, Mutex}; static COUNTER: AtomicU64 = AtomicU64::new(0); static CHECK_INS: LazyLock<BlockChecker> = LazyLock::new(|| { std::thread::spawn(move || { let mut last_top_10 = Default::...
170
1,826
71
0.98
2026-04-17T14:28:43.781820
true
github_farion1231_cc-switch_20984a9fc5265c0af0b3a48bb53b852309836b08
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/utils/providerConfigUtils.ts
providerConfigUtils.ts
25,213
// 供应商配置处理工具函数 import type { TemplateValueConfig } from "../config/claudeProviderPresets"; import { normalizeTomlText } from "@/utils/textNormalization"; import { parse as parseToml, stringify as stringifyToml } from "smol-toml"; const isPlainObject = (value: unknown): value is Record<string, any> => { return Objec...
2,558
24,425
919
0.98
2026-04-17T13:19:03.230942
true
github_huggingface_transformers_9211ccb19a9e10a997e42283296b394e141ac115
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/modeling_flash_attention_utils.py
modeling_flash_attention_utils.py
37,129
# Copyright 2025 The Fairseq Authors and the HuggingFace Inc. 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 # #...
3,662
37,129
808
0.98
2026-04-22T13:17:59.779267
true
github_tursodatabase_turso_09aab70622b37f57ee9da4dc7b837deb7a83442b
Rust
tursodatabase
turso
18,264
837
Turso is an in-process SQL database, compatible with SQLite.
[ "database", "embedded-database", "sql", "sqlite3", "webassembly" ]
MIT
core/mvcc/yield_hooks.rs
yield_hooks.rs
2,181
use std::fmt::Debug; use crate::mvcc::yield_points::{YieldInjector, YieldPoint}; use crate::state_machine::TransitionResult; use crate::sync::Arc; use crate::types::IOCompletions; use crate::types::IOResult; use crate::Completion; pub(crate) trait YieldPointMarker: Copy + Debug { const POINT_COUNT: u8; fn or...
184
2,181
84
0.98
2026-04-17T13:46:26.245850
true
github_axios_axios_2015b5496b6c1fc15cc8a1d3fc064704709d7a9b
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/core/dispatchRequest.js
dispatchRequest.js
2,211
'use strict'; import transformData from './transformData.js'; import isCancel from '../cancel/isCancel.js'; import defaults from '../defaults/index.js'; import CanceledError from '../cancel/CanceledError.js'; import AxiosHeaders from '../core/AxiosHeaders.js'; import adapters from '../adapters/adapters.js'; /** * Th...
200
2,211
78
0.98
2026-04-23T06:16:46.740438
true
github_jesseduffield_lazygit_9b6551d33cf0f5f37eba779c5720b6cb544b202b
Go
jesseduffield
lazygit
76,540
2,756
simple terminal UI for git commands
[ "cli", "git", "terminal" ]
MIT
pkg/gui/global_handlers.go
global_handlers.go
5,369
package gui import ( "fmt" "strings" "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/gui/style" "github.com/jesseduffield/lazygit/pkg/gui/types" "github.com/jesseduffield/lazygit/pkg/utils" ) const HORIZONTAL_SCROLL_FACTOR = 3 func (gui *Gui) scrollUpView(view *gocui.View) { view.Scrol...
529
5,369
211
0.98
2026-04-17T07:11:24.162396
true
github_je-suis-tm_web-scraping_737b48797d19a305e0f55f358f6ea81e94ad5e43
Python
je-suis-tm
web-scraping
875
188
Detailed web scraping tutorials for dummies with financial data crawlers on Reddit WallStreetBets, CME (both options and futures), US Treasury, CFTC, LME, MacroTrends, SHFE and alternative data crawlers on Tomtom, BBC, Wall Street Journal, Al Jazeera, Reuters, Financial Times, Bloomberg, CNN, Fortune, The Economist
[ "bloomberg", "data-scraper", "data-scraping", "financial-data", "financial-times", "futures", "futures-historical-data", "news-scraper", "news-websites", "newsletter", "options-data", "python-web-scraper", "reuters", "scrapper", "sraping", "wall-street-journal", "wallstreetbets", "...
Apache-2.0
Macrotrends.py
Macrotrends.py
1,455
# -*- coding: utf-8 -*- """ Created on Mon Apr 12 16:49:09 2021 @author: Administrator """ #this website is called macrotrends #this script is designed to scrape its financial statements #yahoo finance only contains the recent 5 year #macrotrends can trace back to 2005 if applicable import re import jso...
130
1,455
64
0.98
2026-04-23T03:17:44.751877
true
github_txthinking_brook_0f5823a679e19cdd9149bd1c772c4b2994a1f89f
Go
txthinking
brook
15,116
2,394
A cross-platform programmable network tool
[ "android", "cross-platform", "decryption", "encryption", "ios", "linux", "macos", "mitm", "network-analysis", "network-monitoring", "network-programming", "network-security", "openwrt", "packet-capture", "proxy", "socks5", "tls", "vpn", "windows", "zero-configuration" ]
GPL-3.0
simplestreamserver.go
simplestreamserver.go
4,198
// Copyright (c) 2016-present Cloud <[REDACTED_EMAIL]> // // This program is free software; you can redistribute it and/or // modify it under the terms of version 3 of the GNU General Public // License as published by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, bu...
581
4,198
181
0.98
2026-04-17T10:36:26.658497
true
github_JosephusPaye_Keen-UI_ffc16d4f7b86c31e022da926d3db79b7f683603c
JavaScript
JosephusPaye
Keen-UI
4,065
431
A lightweight Vue.js UI library with a simple API, inspired by Google's Material Design.
[ "components", "javascript", "material-design", "ui", "vue", "vue3" ]
MIT
src/helpers/util.js
util.js
1,009
/** * Quick object check - this is primarily used to tell * Objects from primitive values when we know the value * is a JSON-compliant type. */ export function isObject(obj) { return obj !== null && typeof obj === 'object'; } /** * Check if two values are loosely equal - that is, * if they are plain objects,...
163
1,009
41
0.98
2026-04-23T12:05:54.460046
true
github_open-telemetry_opentelemetry-js_5c00c1ec6307986c9d13c93d7d66e2bcfa0cbeb0
TypeScript
open-telemetry
opentelemetry-js
3,359
1,027
OpenTelemetry JavaScript Client
[ "api", "distributed-tracing", "metrics", "monitoring", "telemetry" ]
Apache-2.0
api/src/trace-api.ts
trace-api.ts
336
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ // Split module-level variable definition into separate files to allow // tree-shaking on each api instance. import { TraceAPI } from './api/trace'; /** * Entrypoint for trace API * * @since 1.0.0 */ export const trace = TraceAPI...
48
336
16
0.98
2026-04-17T18:04:29.823407
true
github_benbjohnson_litestream_e18f066a362bc77fed0149ae0a850079e1a42ede
Go
benbjohnson
litestream
13,458
354
Streaming replication for SQLite.
[ "replication", "s3", "sqlite" ]
Apache-2.0
cmd/litestream/unregister_test.go
unregister_test.go
3,677
package main_test import ( "context" "testing" "github.com/benbjohnson/litestream" main "github.com/benbjohnson/litestream/cmd/litestream" "github.com/benbjohnson/litestream/internal/testingutil" ) func TestUnregisterCommand_Run(t *testing.T) { t.Run("MissingPath", func(t *testing.T) { cmd := &main.Unregiste...
383
3,677
124
0.98
2026-04-17T11:20:45.981217
true
github_farion1231_cc-switch_c1e431a6763272d587e2f7726feca0d3a73728ee
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
vite.config.ts
vite.config.ts
647
import path from "node:path"; import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import { codeInspectorPlugin } from "code-inspector-plugin"; export default defineConfig(({ command }) => ({ root: "src", plugins: [ command === "serve" && codeInspectorPlugin({ bundler: "...
72
647
33
0.98
2026-04-17T13:19:05.479474
true
github_prettier_prettier_16a0d6f526914a7736102daae4bdda483a191636
JavaScript
prettier
prettier
51,817
4,704
Prettier is an opinionated code formatter.
[ "angular", "ast", "css", "flow", "formatter", "graphql", "html", "javascript", "json", "jsx", "less", "markdown", "prettier", "printer", "scss", "typescript", "vue", "yaml" ]
MIT
src/cli/utilities.js
utilities.js
2,407
import fs from "node:fs/promises"; import path from "node:path"; import sdbm from "sdbm"; // @ts-expect-error import { __internal as sharedWithCli } from "../index.js"; // eslint-disable-next-line no-console const printToScreen = console.log.bind(console); /** * @template Obj * @template Key * @param {Array<Obj>} ...
339
2,407
120
0.98
2026-04-23T11:43:48.091792
true
github_pemistahl_grex_d40e17c4fdde414d3de94662e5cddd865f319419
Rust
pemistahl
grex
8,099
189
A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases
[ "cli", "command-line-tool", "python", "python-library", "regex", "regex-pattern", "regexp", "regular-expression", "regular-expressions", "rust", "rust-cli", "rust-crate", "rust-library", "terminal", "tool" ]
Apache-2.0
src/expression.rs
expression.rs
23,721
/* * Copyright © 2019-today Peter M. Stahl [REDACTED_EMAIL] * * 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 appl...
1,610
23,720
660
0.98
2026-04-17T14:33:52.519273
true
github_starship_starship_7f59fc2c5890d0c63a7d1708b4d58cc757e62598
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/fennel.rs
fennel.rs
977
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct FennelConfig<'a> { pub format: &'a str, pub version_format: &'a str, pub symbol: &'a s...
96
974
36
0.98
2026-04-17T13:17:37.844630
true
github_MichalLytek_type-graphql_287d36ad52ee998ca649cd0ae81085ed6e1dcdb6
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/auth-middleware.ts
auth-middleware.ts
1,026
import { AuthenticationError, AuthorizationError } from "@/errors"; import { type AuthChecker, type AuthCheckerFn, type AuthMode } from "@/typings"; import { type MiddlewareFn } from "@/typings/middleware"; import { type IOCContainer } from "@/utils/container"; export function AuthMiddleware( authChecker: AuthChecke...
114
1,026
32
0.98
2026-04-17T17:57:55.060208
true
github_rustdesk_rustdesk_9e4538697a21ef301cc461f7a76e1e98f578c7be
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/hbbs_http.rs
hbbs_http.rs
1,064
use hbb_common::ResultType; use serde::de::DeserializeOwned; use serde_json::{Map, Value}; #[cfg(feature = "flutter")] pub mod account; pub mod downloader; mod http_client; pub mod record_upload; pub mod sync; pub use http_client::{ create_http_client_async, create_http_client_async_with_url, create_http_client_wi...
92
1,064
41
0.98
2026-04-17T13:14:17.216653
true
github_fastnlp_fastNLP_58630ef3f5673af9e01bfdf95c3c5f531aef859c
Python
fastnlp
fastNLP
3,147
449
fastNLP: A Modularized and Extensible NLP Framework. Currently still in incubation.
[ "chinese-nlp", "deep-learning", "natural-language-processing", "nlp-library", "nlp-parsing", "text-classification", "text-processing" ]
Apache-2.0
setup.py
setup.py
834
#!/usr/bin/env python # coding=utf-8 from setuptools import setup, find_packages with open('README.md', encoding='utf-8') as f: readme = f.read() with open('LICENSE', encoding='utf-8') as f: license = f.read() with open('requirements.txt', encoding='utf-8') as f: reqs = f.read() pkgs = [p for p in find_...
71
834
30
0.98
2026-04-22T14:42:31.751445
true
github_sigoden_aichat_991da2add9aabbdfaa9f43c0386ebb07f737e480
Rust
sigoden
aichat
9,851
686
All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI Tools & Agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.
[ "ai", "ai-agents", "chatbot", "claude", "cli", "function-calling", "gemini", "llm", "ollama", "openai", "rag", "rust", "shell", "webui" ]
Apache-2.0
src/utils/variables.rs
variables.rs
1,243
use super::*; use fancy_regex::{Captures, Regex}; use std::sync::LazyLock; pub static RE_VARIABLE: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"\{\{(\w+)\}\}").unwrap()); pub fn interpolate_variables(text: &mut String) { *text = RE_VARIABLE .replace_all(text, |caps: &Captures<'_>| { let key ...
85
1,243
33
0.98
2026-04-17T14:25:55.059057
true
github_kubernetes-sigs_descheduler_5e6420b1ba8e934a05e72de5d18c30c0c885cfe9
Go
kubernetes-sigs
descheduler
5,379
783
Descheduler for Kubernetes
[ "k8s-sig-scheduling", "kubernetes" ]
Apache-2.0
pkg/descheduler/kubeclientsandbox.go
kubeclientsandbox.go
17,076
/* Copyright 2026 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, ...
1,896
17,076
446
0.98
2026-04-17T21:28:23.085626
true
github_ethereum_go-ethereum_12ee7e7dd1f069006f525d36420ea160b3e7408b
Go
ethereum
go-ethereum
50,986
21,888
Go implementation of the Ethereum protocol
[ "blockchain", "ethereum", "geth", "go", "p2p" ]
LGPL-3.0
cmd/geth/consolecmd_test.go
consolecmd_test.go
5,808
// Copyright 2016 The go-ethereum Authors // This file is part of go-ethereum. // // go-ethereum is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any la...
717
5,808
161
0.98
2026-04-17T07:21:26.677837
true
github_Farama-Foundation_Gymnasium-Robotics_32a228b08e965751a8dfa2b96fc5a1af396db2b2
Python
Farama-Foundation
Gymnasium-Robotics
892
135
A collection of robotics simulation environments for reinforcement learning
[ "d4rl", "gymnasium", "mujoco", "reinforcement-learning", "robotics", "simulation" ]
MIT
setup.py
setup.py
1,036
"""Setups the project.""" import pathlib from setuptools import setup CWD = pathlib.Path(__file__).absolute().parent def get_version(): """Gets the gymnasium robotics version.""" path = CWD / "gymnasium_robotics" / "__init__.py" content = path.read_text() for line in content.splitlines(): ...
87
1,036
42
0.98
2026-04-22T20:26:27.189099
true
github_Morganamilo_paru_d7c4ff672cc61baf0cf5d9fa66b396ae562e7048
Rust
Morganamilo
paru
8,603
309
Feature packed AUR helper
[ "arch", "archlinux", "aur-helper", "hacktoberfest", "pacman", "paru", "pkgbuild", "yaourt", "yay" ]
GPL-3.0
src/chroot.rs
chroot.rs
4,374
use crate::config::Config; use crate::exec; use anyhow::{Context, Result}; use nix::unistd::{Uid, User}; use std::ffi::OsStr; use std::fs::Permissions; use std::io::Write; use std::os::unix::fs::PermissionsExt; use std::path::{Path, PathBuf}; use std::process::Command; #[derive(Debug)] pub struct Chroot { pub sudo...
354
4,374
166
0.98
2026-04-17T14:30:44.115696
true
github_hijkzzz_pymarl2_a168c7997d8de2d3186f787794a14befcef38dcb
Python
hijkzzz
pymarl2
708
135
Fine-tuned MARL algorithms on SMAC (100% win rates on most scenarios)
[ "marl", "reinforcement-learning", "smac", "sota", "starcraft" ]
Apache-2.0
src/utils/timehelper.py
timehelper.py
1,550
import time import numpy as np def print_time(start_time, T, t_max, episode, episode_rewards): time_elapsed = time.time() - start_time T = max(1, T) time_left = time_elapsed * (t_max - T) / T # Just in case its over 100 days time_left = min(time_left, 60 * 60 * 24 * 100) last_reward = "N\A" ...
202
1,550
44
0.98
2026-04-22T20:37:59.116397
true
github_howtographql_howtographql_a2c591fa27b51b47edccc7f29c16b119b825b561
JavaScript
howtographql
howtographql
8,728
1,137
The Fullstack Tutorial for GraphQL
[ "apollographql", "graphql", "prisma", "tutorial" ]
MIT
gatsby-browser.js
gatsby-browser.js
1,221
// import React from 'react' // import {Provider} from 'react-redux' // import createStore from './src/createStore' // // const store = createStore() // // exports.wrapRootComponent = function wrapRootComponent({Root}) { // return function wrapRootComponentComponent(props) { // return ( // <Provider store={...
154
1,221
56
0.98
2026-04-18T01:29:18.264328
true
github_plastic-labs_honcho_0a08702d8182398d80751c5994e878adfabac493
Python
plastic-labs
honcho
2,529
286
Memory library for building stateful agents
[ "agent-memory", "ai", "ai-agents", "ai-memory", "anthropic", "context-engineering", "continual-learning", "embeddings", "fastapi", "langchain", "llm", "long-term-memory", "memory", "openai", "personalization", "python", "rag", "state-management", "typescript", "vector-database"...
AGPL-3.0
src/utils/tokens.py
tokens.py
1,273
import tiktoken from src.config import settings from src.telemetry import prometheus_metrics from src.telemetry.prometheus.metrics import ( DeriverComponents, DeriverTaskTypes, TokenTypes, ) tokenizer = tiktoken.get_encoding("o200k_base") def estimate_tokens(text: str | list[str] | None) -> int: """...
115
1,273
46
0.98
2026-04-17T16:00:33.777827
true
github_fluxcd_flux_847601fab43618987d10aa3a072b1a89804534d7
Go
fluxcd
flux
6,870
1,068
Successor: https://github.com/fluxcd/flux2
[ "gitops", "kubernetes", "legacy" ]
Apache-2.0
pkg/git/operations_test.go
operations_test.go
11,628
package git import ( "bytes" "context" "fmt" "io/ioutil" "os/exec" "path" "path/filepath" "testing" "time" "github.com/fluxcd/flux/pkg/cluster/kubernetes/testfiles" "github.com/stretchr/testify/assert" ) const ( testNoteRef = "flux-sync" ) var ( noteIdCounter = 1 ) type Note struct { ID string } fun...
1,447
11,628
519
0.98
2026-04-17T20:31:09.737246
true
github_directus_directus_7e918c7804895f6422d648f1043da9695ba76905
TypeScript
directus
directus
34,882
4,723
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
app/src/api.ts
api.ts
2,313
import axios, { AxiosError, AxiosResponse, InternalAxiosRequestConfig } from 'axios'; import PQueue, { Options, QueueAddOptions } from 'p-queue'; import sdk from './sdk'; import { useRequestsStore } from '@/stores/requests'; import { getRootPath } from '@/utils/get-root-path'; const api = axios.create({ baseURL: getR...
252
2,313
82
0.98
2026-04-23T07:58:03.524451
true
github_DATA-DOG_go-sqlmock_67c08dc8267d7be8d3130a39550f9e940a9aba88
Go
DATA-DOG
go-sqlmock
6,542
406
Sql mock driver for golang to test database interactions
[ "database", "go", "golang", "mock", "sql", "sql-driver", "tdd", "testing" ]
NOASSERTION
expectations_before_go18.go
expectations_before_go18.go
1,796
//go:build !go1.8 // +build !go1.8 package sqlmock import ( "database/sql/driver" "fmt" "reflect" ) // WillReturnRows specifies the set of resulting rows that will be returned // by the triggered query func (e *ExpectedQuery) WillReturnRows(rows *Rows) *ExpectedQuery { e.rows = &rowSets{sets: []*Rows{rows}, ex: ...
262
1,796
72
0.98
2026-04-17T18:15:39.148678
true
github_huggingface_transformers_6c4f72859264871a0f4a50bf5a7e00400e479216
Python
huggingface
transformers
159,498
32,898
🤗 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/trainer_callback.py
trainer_callback.py
34,361
# Copyright 2020-present the HuggingFace Inc. team. # # 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...
3,359
34,361
785
0.98
2026-04-17T06:41:21.634152
true
github_mindspore-lab_mindnlp_a7a40e237cb5de0d7f0cb0f21ec8783a5f7d25eb
Python
mindspore-lab
mindnlp
918
272
MindSpore + 🤗Huggingface: Run any Transformers/Diffusers model on MindSpore with seamless compatibility and acceleration.
[ "deep-learning", "diffusion-models", "huggingface", "large-language-models", "llm", "mindspore", "natural-language-processing", "nlp", "nlp-library", "python", "vlm" ]
Apache-2.0
src/mindnlp/diffusers.py
diffusers.py
377
import warnings warnings.warn( "The usage 'from mindnlp.diffusers import xx' is deprecated. " "Please use 'import mindnlp; from diffusers import xxx' instead.", DeprecationWarning, stacklevel=2 ) # Setup backward compatibility: apply patches # pylint: disable=wrong-import-position from .patch.diffuser...
38
377
14
0.98
2026-04-23T00:40:24.770253
true
github_PyO3_pyo3_6866a7cc1c0d6bee98985e9139ed87a914949c81
Rust
PyO3
pyo3
15,582
958
Rust bindings for the Python interpreter
[ "binding", "ffi", "python", "python-c-api", "rust" ]
Apache-2.0
src/marshal.rs
marshal.rs
2,397
#![cfg(not(Py_LIMITED_API))] //! Support for the Python `marshal` format. use crate::ffi_ptr_ext::FfiPtrExt; use crate::py_result_ext::PyResultExt; use crate::types::{PyAny, PyBytes}; use crate::{ffi, Bound}; use crate::{PyResult, Python}; use std::ffi::c_int; /// The current version of the marshal binary format. pu...
238
2,397
75
0.98
2026-04-17T13:52:33.213122
true
github_biolab_orange3_2120488753fb066c9116a3f3f4d51ed6413b0599
Python
biolab
orange3
5,600
1,090
🍊 :bar_chart: :bulb: Orange: Interactive data analysis
[ "classification", "clustering", "data-mining", "data-science", "data-visualization", "decision-trees", "machine-learning", "numpy", "orange", "orange3", "pandas", "plotting", "python", "random-forest", "regression", "scikit-learn", "scipy", "visual-programming", "visualization" ]
NOASSERTION
setup.py
setup.py
17,379
#! /usr/bin/env python3 import os import sys import subprocess from setuptools import setup, find_packages, Command from setuptools.command.install import install from distutils.command import install_data, sdist from distutils.command.build_ext import build_ext from distutils.command import config, build from distut...
1,464
17,379
552
0.98
2026-04-17T16:42:31.242479
true
github_soobinseo_Transformer-TTS_7b9d93f53b386a9bc2fb4980af5612212fb50869
Python
soobinseo
Transformer-TTS
690
140
A Pytorch Implementation of "Neural Speech Synthesis with Transformer Network"
[ "attention-mechanism", "attention-plots", "deep-learning", "pytorch", "pytorch-implementation", "text-to-speech", "transformer", "tts" ]
MIT
train_transformer.py
train_transformer.py
3,885
from preprocess import get_dataset, DataLoader, collate_fn_transformer from network import * from tensorboardX import SummaryWriter import torchvision.utils as vutils import os from tqdm import tqdm def adjust_learning_rate(optimizer, step_num, warmup_step=4000): lr = hp.lr * warmup_step**0.5 * min(step_num * warm...
255
3,885
111
0.98
2026-04-22T21:44:24.992331
true
github_vvo_gifify_1d2381a0a279228ff217b622196d999e71859895
JavaScript
vvo
gifify
6,316
313
😻 Convert any video file to an optimized animated GIF.
[ "ffmpeg", "gif", "gifify", "gifsicle", "imagemagick", "mp4", "nodejs", "screencast", "video" ]
ISC
index.js
index.js
4,651
var duration = require('moment').duration; var spawn = require('child_process').spawn; require('moment-duration-format'); var debug = require('debug')('gifify'); module.exports = gifify; function gifify(streamOrFile, opts) { opts = opts || {}; if (typeof streamOrFile === 'string') { opts.inputFilePath = str...
469
4,651
189
0.98
2026-04-23T07:20:31.129964
true
github_cross-rs_cross_a90c6f92a367e6eceb22bc6b33fc7473863e95a8
Rust
cross-rs
cross
8,113
448
“Zero setup” cross compilation and “cross testing” of Rust crates
[ "aarch64", "arm", "bsd", "cargo", "cross-compilation", "cross-testing", "linux", "mips", "powerpc", "rust", "s390x", "sparc", "windows", "x86" ]
Apache-2.0
src/bin/cross-util.rs
cross-util.rs
3,559
#![deny(missing_debug_implementations, rust_2018_idioms)] use clap::{CommandFactory, Parser, Subcommand}; use cross::shell::MessageInfo; use cross::{docker, rustc::Toolchain}; mod commands; const APP_NAME: &str = "cross-util"; static VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), cross::commit_info!()); #[deriv...
344
3,559
116
0.98
2026-04-17T14:33:22.666244
true
github_rustdesk_rustdesk_5acb152216266f76af3a3c45cbfd16f089ebc7f0
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/tr.rs
tr.rs
49,483
lazy_static::lazy_static! { pub static ref T: std::collections::HashMap<&'static str, &'static str> = [ ("Status", "Durum"), ("Your Desktop", "Sizin Masaüstünüz"), ("desk_tip", "Masaüstünüze bu ID ve parola ile erişilebilir"), ("Password", "Parola"), ("Ready", "Hazır"), ...
4,478
47,487
748
0.98
2026-04-17T13:14:44.360928
true
github_adam-mcdaniel_oakc_3a0178f1e56da9b23de846c96388206358b6303f
Rust
adam-mcdaniel
oakc
747
21
A portable programming language with a compact intermediate representation
[ "c", "compiler", "compiler-design", "golang" ]
Apache-2.0
src/target/ts.rs
ts.rs
3,556
use super::Target; use std::{ env::consts::EXE_SUFFIX, fs::{remove_file, write}, io::{Error, ErrorKind, Result, Write}, process::{Command, Stdio}, }; pub struct TS; impl Target for TS { fn get_name(&self) -> char { 't' } fn is_standard(&self) -> bool { true } fn st...
320
3,556
143
0.98
2026-04-17T17:08:40.227262
true
github_Canop_broot_80e1c01d4e7b499b337a76efde08d1243a0def94
Rust
Canop
broot
12,607
285
A new way to see and navigate directory trees : https://dystroy.org/broot
[ "balanced-bfs-descent", "command-line", "command-line-tool", "fuzzy-search", "hacktoberfest", "linux", "rust", "tree" ]
MIT
src/help/help_verbs.rs
help_verbs.rs
2,366
use crate::{ app::AppContext, keys, pattern::*, verb::*, }; /// what should be shown for a verb in the help screen, after /// filtering pub struct MatchingVerbRow<'v> { name: Option<String>, shortcut: Option<String>, pub verb: &'v Verb, pub keys_desc: String, } impl MatchingVerbRow<'_>...
249
2,366
87
0.98
2026-04-17T14:18:15.303668
true
github_atlassian_react-beautiful-dnd_2a597291b6c89ffc5d367c5512a513d6d0eeb11d
JavaScript
atlassian
react-beautiful-dnd
34,020
2,721
Beautiful and accessible drag and drop for lists with React
[ "dnd", "drag", "drag-and-drop", "react", "reordering", "sortable" ]
NOASSERTION
src/state/recompute-placeholders.js
recompute-placeholders.js
2,218
// @flow import { addPlaceholder, removePlaceholder, } from './droppable/with-placeholder'; import whatIsDraggedOver from './droppable/what-is-dragged-over'; import type { DroppableDimension, DraggableDimensionMap, DroppableDimensionMap, DraggableDimension, DragImpact, DroppableId, } from '../types'; im...
219
2,218
100
0.98
2026-04-23T04:48:43.917788
true
github_kyegomez_swarms_fcedeb69c4f584cf167b449d9219c54b3bcec9dc
Python
kyegomez
swarms
6,243
806
The Enterprise-Grade Production-Ready Multi-Agent Orchestration Framework. Website: https://swarms.ai
[ "agentic-ai", "agentic-workflow", "agents", "ai", "artificial-intelligence", "chatgpt", "gpt4", "gpt4all", "huggingface", "langchain", "langchain-python", "machine-learning", "multi-agent-systems", "prompt-engineering", "prompt-toolkit", "prompting", "swarms", "tree-of-thoughts" ]
Apache-2.0
hiearchical_swarm_example.py
hiearchical_swarm_example.py
1,310
from swarms import Agent, HierarchicalSwarm # Create specialized agents research_agent = Agent( agent_name="Research-Analyst", agent_description="Specialized in comprehensive research and data gathering", model_name="gpt-5.4", max_loops=1, verbose=False, ) analysis_agent = Agent( agent_name="D...
101
1,310
50
0.98
2026-04-17T15:43:02.795721
true
github_jonschlinkert_gray-matter_81d9e41ec06b9f03b90c6edf27b4b67ec710be0d
JavaScript
jonschlinkert
gray-matter
4,425
160
Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matt...
[ "assemble", "config", "data", "front-matter", "front-matter-parsers", "frontmatter", "gatsby", "javascript", "jonschlinkert", "mapbox", "markdown", "matter", "metalsmith", "netlify", "node", "nodejs", "parse", "phenomic", "yaml" ]
MIT
lib/defaults.js
defaults.js
539
'use strict'; const engines = require('./engines'); const utils = require('./utils'); module.exports = function(options) { const opts = Object.assign({}, options); // ensure that delimiters are an array opts.delimiters = utils.arrayify(opts.delims || opts.delimiters || '---'); if (opts.delimiters.length === ...
56
539
19
0.98
2026-04-23T07:34:26.564356
true
github_Chalarangelo_30-seconds-of-code_18722eaf17e4e425c21a6a56df101b0b159847dd
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/previewSerializer.js
previewSerializer.js
881
import Serializer from '#src/core/serializer.js'; import settings from '#src/config/settings.js'; export default class PreviewSerializer extends Serializer { static { Serializer.prepare(this, [ ['title', 'previewTitle'], ['description', 'formattedDescription'], 'url', ['cover', 'coverUrl'...
69
881
37
0.98
2026-04-23T06:15:02.387643
true
github_rustdesk_rustdesk_1b6e496919d1f6f4382d2acaa41afb9749ec82dc
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/it.rs
it.rs
49,852
lazy_static::lazy_static! { pub static ref T: std::collections::HashMap<&'static str, &'static str> = [ ("Status", "Stato"), ("Your Desktop", "Questo desktop"), ("desk_tip", "Puoi accedere a questo desktop usando l'ID e la password indicati qui sotto."), ("Password", "Password"), ...
4,949
49,732
748
0.98
2026-04-17T13:14:33.860096
true
github_agent0ai_agent-zero_736d17779850ebd3e2077a4e88f23f4526f770f3
Python
agent0ai
agent-zero
17,046
3,498
Agent Zero AI framework
[ "agent", "ai", "assistant", "autonomous", "linux", "zero" ]
NOASSERTION
api/backup_preview_grouped.py
backup_preview_grouped.py
5,234
from helpers.api import ApiHandler, Request, Response from helpers.backup import BackupService from typing import Dict, Any class BackupPreviewGrouped(ApiHandler): @classmethod def requires_auth(cls) -> bool: return True @classmethod def requires_loopback(cls) -> bool: return False ...
372
5,234
132
0.98
2026-04-17T15:31:36.461813
true
github_kubernetes_kubernetes_36c792ab22f457a10b40fdb5fb6935c8f2e9a59a
Go
kubernetes
kubernetes
121,742
42,878
Production-Grade Container Scheduling and Management
[ "cncf", "containers", "go", "kubernetes" ]
Apache-2.0
cmd/cloud-controller-manager/nodeipamcontroller.go
nodeipamcontroller.go
9,090
/* Copyright 2018 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, ...
963
9,090
237
0.98
2026-04-17T06:52:31.128649
true
github_dani-garcia_vaultwarden_0a207918e05bf3fb8fc72eb6e31f3794ff5b80d6
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/db/query_logger.rs
query_logger.rs
2,011
use diesel::connection::{Instrumentation, InstrumentationEvent}; use std::{cell::RefCell, collections::HashMap, time::Instant}; thread_local! { static QUERY_PERF_TRACKER: RefCell<HashMap<String, Instant>> = RefCell::new(HashMap::new()); } pub fn simple_logger() -> Option<Box<dyn Instrumentation>> { Some(Box::...
154
2,011
58
0.98
2026-04-17T13:16:34.347705
true
github_farion1231_cc-switch_22b3ae4052eec79cd543aefac9d0e2fee92e53ce
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/useLastValidValue.ts
useLastValidValue.ts
543
import { useRef } from "react"; /** * 保存最后一个非 null/undefined 的值 * 用于 Dialog 关闭动画期间保持内容显示 * * @param value 当前值 * @returns 当前值(如果有效)或最后一个有效值 */ export function useLastValidValue<T>(value: T | null | undefined): T | null { const ref = useRef<T | null>(null); // 同步更新 ref(在渲染期间,不在 useEffect 中) if (value != nul...
63
405
21
0.98
2026-04-17T13:18:50.720540
true
github_BrainJS_brain.js_465fd82ff901a2a6ab90ae98b8397a7af811e763
TypeScript
BrainJS
brain.js
14,860
1,078
🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js
[ "api", "brain", "browser", "convolutional-neural-networks", "easy-to-use", "hacktoberfest", "neural-network", "node", "nodejs", "recurrent-neural-networks", "stream", "web" ]
MIT
src/layer/convolution.ts
convolution.ts
12,620
import { makeKernel, release, clone } from '../utilities/kernel'; import { getStride, getPadding } from '../utilities/layer-setup'; import { Filter } from './filter'; import { randos, randos3D } from '../utilities/randos'; import { zeros3D } from '../utilities/zeros-3d'; import { values } from '../utilities/values'; im...
1,145
12,620
486
0.98
2026-04-17T17:55:57.012391
true
github_vectordotdev_vector_4a777a4657639e3a84c7d330e2e1336f7e35d189
Rust
vectordotdev
vector
21,666
2,093
A high-performance observability data pipeline.
[ "agent", "cloud-native", "data-transformation", "datadog", "etl", "events", "forwarder", "hacktoberfest", "high-performance", "logs", "metrics", "monitoring", "observability", "pipelines", "rust-lang", "stream-processing", "telemetry", "traces" ]
MPL-2.0
src/aws/region.rs
region.rs
2,193
//! Handles the region settings for AWS components. use aws_types::region::Region; use vector_lib::configurable::configurable_component; /// Configuration of the region/endpoint to use when interacting with an AWS service. #[configurable_component] #[derive(Clone, Debug, Default, PartialEq, Eq)] #[serde(default)] pub ...
196
2,193
85
0.98
2026-04-17T13:38:46.901181
true
github_rust-lang_rustlings_edd9c7207d49c0724721566dfeff05739edb4394
Rust
rust-lang
rustlings
62,528
11,177
:crab: Small exercises to get you used to reading and writing Rust code!
[ "beginner-friendly", "exercises", "rust", "rustlings" ]
MIT
src/watch/notify_event.rs
notify_event.rs
4,883
use anyhow::{Context, Result}; use notify::{ Event, EventKind, event::{AccessKind, AccessMode, MetadataKind, ModifyKind, RenameMode}, }; use std::{ sync::{ atomic::Ordering::Relaxed, mpsc::{RecvTimeoutError, Sender, SyncSender, sync_channel}, }, thread, time::Duration, }; use cr...
355
4,883
133
0.98
2026-04-17T13:16:17.837635
true
github_infiniflow_ragflow_f4c3e3355c7bdc2cfdb7b5cb3745f0676aaeaa24
Python
infiniflow
ragflow
78,746
8,896
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
[ "agent", "agentic", "agentic-ai", "agentic-workflow", "ai", "context-engineering", "context-retrieval", "deep-research", "deepseek", "deepseek-r1", "document-understanding", "graphrag", "harness", "llm", "mcp", "ollama", "openai", "openclaw", "rag", "retrieval-augmented-generat...
Apache-2.0
api/apps/document_app.py
document_app.py
25,838
# # Copyright 2026 The InfiniFlow Authors. 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...
1,959
25,838
621
0.98
2026-04-22T14:52:13.847613
true
github_matplotlib_matplotlib_0223aa593bb2cb20b58f2b9e41bdc0dfa5ceed35
Python
matplotlib
matplotlib
22,729
8,325
matplotlib: plotting with Python
[ "data-science", "data-visualization", "gtk", "matplotlib", "plotting", "python", "qt", "tk", "wx" ]
UNKNOWN
lib/matplotlib/_internal_utils.py
_internal_utils.py
2,140
""" Internal debugging utilities, that are not expected to be used in the rest of the codebase. WARNING: Code in this module may change without prior notice! """ from io import StringIO from pathlib import Path import subprocess from matplotlib.transforms import TransformNode def graphviz_dump_transform(transform,...
223
2,140
65
0.98
2026-04-22T18:13:29.160480
true