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_wavetermdev_waveterm_902eccda3b9116f8b5f3a90051d5d75689b8b1a6
Go
wavetermdev
waveterm
19,626
898
An open-source, AI-integrated, cross-platform terminal for seamless workflows
[ "command-line", "developer-tools", "linux", "macos", "productivity", "terminal", "terminal-emulators", "windows" ]
Apache-2.0
pkg/tsgen/tsgenevent_test.go
tsgenevent_test.go
1,341
// Copyright 2026, Command Line Inc. // SPDX-License-Identifier: Apache-2.0 package tsgen import ( "reflect" "strings" "testing" "github.com/wavetermdev/waveterm/pkg/wps" "github.com/wavetermdev/waveterm/pkg/wshrpc" ) func TestGenerateWaveEventTypes(t *testing.T) { tsTypesMap := make(map[reflect.Type]string) ...
129
1,341
38
0.98
2026-04-17T09:34:28.707165
true
github_erg-lang_erg_da4bf467d5615a9306df82d16bec1a32299bf89b
Python
erg-lang
erg
2,855
57
A statically typed language compatible with Python
[ "compiler", "erg", "language", "programming-language", "python", "rust", "transpiler" ]
Apache-2.0
src/scripts/repl_server_test.py
repl_server_test.py
1,018
import itertools import random import string with open("./src/scripts/repl_server.py") as f: code = f.readlines() code.insert(0, "__PORT__ = 9000\n") code = itertools.takewhile(lambda l: not l.startswith("# DummyVM"), code) exec("".join(code)) class MockSocket: def __init__(self): self.data = bytea...
102
1,018
41
0.98
2026-04-17T17:03:15.873907
true
github_gofr-dev_gofr_7200dc3b744c681e470f555c589f9e824e208811
Go
gofr-dev
gofr
21,663
1,758
An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability.
[ "framework", "go", "go-framework", "golang", "golang-framework", "grpc", "grpc-go", "grpc-golang", "hacktoberfest", "http-server", "logging", "metrics", "microservice", "microservice-framework", "opentelemetry", "performance", "rest-api", "server", "tracing", "web-framework" ]
Apache-2.0
pkg/gofr/exporter_test.go
exporter_test.go
3,680
package gofr import ( "context" "net/http" "net/http/httptest" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" sdktrace "go.opentelemetry.io/otel/sdk/trace" "gofr.dev/pkg/gofr/logging" ) func Test_ExportSp...
297
3,680
149
0.98
2026-04-17T09:21:32.259232
true
github_hashicorp_terraform_a7beb70435023ce458930841c06247967af65b39
Go
hashicorp
terraform
48,150
10,287
Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
[ "cloud", "cloud-management", "graph", "infrastructure-as-code", "terraform" ]
NOASSERTION
internal/addrs/removetargetkind_string.go
removetargetkind_string.go
694
// Code generated by "stringer -type RemoveTargetKind"; DO NOT EDIT. package addrs import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[RemoveTargetModule-77] _ = x[R...
89
694
30
0.98
2026-04-17T07:24:08.942183
true
github_sourcegraph_sourcegraph-public-snapshot_85dcbe775afcf5bde6d440c86df53d7d8a8cad27
Go
sourcegraph
sourcegraph-public-snapshot
10,270
1,367
Code AI platform with Code Search & Cody
[ "code-intelligence", "code-search", "cody", "repo-type-main", "sourcegraph" ]
NOASSERTION
internal/authz/iface.go
iface.go
7,690
// Package authz contains common logic and interfaces for authorization to // external providers (such as GitLab). package authz import ( "context" "fmt" "github.com/sourcegraph/sourcegraph/internal/extsvc" "github.com/sourcegraph/sourcegraph/internal/types" ) // SubRepoPermissions denotes access control rules w...
1,076
7,687
205
0.98
2026-04-17T12:41:45.785606
true
github_rustdesk_rustdesk_be1895e64068530fd91e7839a51d925926ae5793
Rust
rustdesk
rustdesk
111,120
16,633
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/ui_session_interface.rs
ui_session_interface.rs
69,573
use crate::{ common::{get_supported_keyboard_modes, is_keyboard_mode_supported}, input::{ MOUSE_BUTTON_LEFT, MOUSE_BUTTON_RIGHT, MOUSE_TYPE_DOWN, MOUSE_TYPE_MASK, MOUSE_TYPE_TRACKPAD, MOUSE_TYPE_UP, MOUSE_TYPE_WHEEL, }, ui_interface::use_texture_render, }; use async_trait::async_trait; u...
5,317
69,573
2,056
0.95
2026-04-13T14:04:51.726798
true
github_sindresorhus_np_812698d3e37e3ebaec9c230625b775c9759245b4
JavaScript
sindresorhus
np
7,694
310
A better `npm publish`
[ "cli", "cli-app", "javascript", "nodejs", "npm", "npm-package", "npm-publish", "publish", "yarn" ]
MIT
source/version.js
version.js
6,957
import semver from 'semver'; import {template as chalk} from 'chalk-template'; /** @type {string[]} Allowed `SemVer` release types. */ export const SEMVER_INCREMENTS = ['patch', 'minor', 'major', 'prepatch', 'preminor', 'premajor', 'prerelease']; export const SEMVER_INCREMENTS_LIST = SEMVER_INCREMENTS.join(', '); cons...
755
6,957
195
0.98
2026-04-23T07:13:34.921010
true
github_k3d-io_k3d_b2a5af84e8baa669c479c556101bf221b9b27a0e
Go
k3d-io
k3d
6,379
528
Little helper to run CNCF's k3s in Docker
[ "cluster", "docker", "go", "k3d", "k3s", "kubernetes", "rancher" ]
MIT
cmd/util/plugins.go
plugins.go
2,502
/* Copyright © 2020-2023 The k3d Author(s) 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, merge, publish, distri...
361
2,501
84
0.98
2026-04-17T20:37:03.105798
true
github_TecharoHQ_anubis_98176558ff2061c870adab79b83afa4455e38610
Go
TecharoHQ
anubis
18,537
565
Weighs the soul of incoming HTTP requests to stop AI crawlers
[ "defense", "security" ]
MIT
internal/ogtags/parse.go
parse.go
1,634
package ogtags import ( "slices" "strings" "golang.org/x/net/html" ) // extractOGTags traverses the HTML document and extracts approved Open Graph tags func (c *OGTagCache) extractOGTags(doc *html.Node) map[string]string { ogTags := make(map[string]string) var traverseNodes func(*html.Node) traverseNodes = fu...
227
1,634
75
0.98
2026-04-17T09:39:24.098337
true
github_mv-lab_swin2sr_32930fcb72335a147f76a063aaec5ce3344ab6e8
Python
mv-lab
swin2sr
682
82
[ECCV] Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restoration. Advances in Image Manipulation (AIM) workshop ECCV 2022. Try it out! over 3.3M runs https://replicate.com/mv-lab/swin2sr
[ "compression", "compression-artifact-reduction", "computer-vision", "deblocking", "deep-learning", "denoising", "eccv2022", "image-denoising", "image-processing", "image-restoration", "image-sr", "image-super-resolution", "jpeg", "low-level-vision", "ntire", "super-resolution", "swin...
Apache-2.0
predict.py
predict.py
3,075
import argparse import cv2 import numpy as np import torch from cog import BasePredictor, Input, Path from main_test_swin2sr import define_model, test class Predictor(BasePredictor): def setup(self): """Load the model into memory to make running multiple predictions efficient""" print("Loading pi...
312
3,075
92
0.98
2026-04-22T21:44:44.420509
true
github_pubkey_rxdb_c9fa964ed71e3a9cf48561d8b875bb6c0a653aa9
TypeScript
pubkey
rxdb
23,156
1,161
A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
[ "angular", "browser-database", "couchdb", "crdt", "database", "firebase", "graphql", "indexeddb", "ionic", "local-first", "localstorage", "nodejs", "nosql", "postgres", "pouchdb", "react-native", "realtime", "realtime-database", "rxdb", "sqlite" ]
Apache-2.0
src/rx-storage-helper.ts
rx-storage-helper.ts
43,166
/** * Helper functions for accessing the RxStorage instances. */ import { overwritable } from './overwritable.ts'; import { newRxError } from './rx-error.ts'; import { getPrimaryFieldOfPrimaryKey } from './rx-schema-helper.ts'; import type { BulkWriteRow, BulkWriteRowProcessed, CategorizeBulkWriteRow...
3,490
43,166
1,141
0.98
2026-04-23T08:22:10.037789
true
github_nadbm_react-datasheet_0ff7c132acde8f936ae7bee09f753f82101e777a
JavaScript
nadbm
react-datasheet
5,446
449
Excel-like data grid (table) component for React
[ "component", "grid", "javascript", "react", "sheet", "spreadsheet", "table", "tableau" ]
MIT
lib/Sheet.js
Sheet.js
2,563
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
274
2,563
57
0.98
2026-04-23T06:08:41.243090
true
github_ahmetozlu_tensorflow_object_counting_api_707199329885b421b6891c95d640381eb39822b8
Python
ahmetozlu
tensorflow_object_counting_api
1,332
543
🚀 The TensorFlow Object Counting API is an open source framework built on top of TensorFlow and Keras that makes it easy to develop object counting systems!
[ "computer-vision", "data-science", "deep-learning", "deep-neural-networks", "image-processing", "machine-learning", "object-counting", "object-counting-api", "object-detection", "object-detection-api", "object-detection-label", "object-detection-pipelines", "opencv", "pedestrian-counting",...
MIT
pedestrian_counting.py
pedestrian_counting.py
1,250
#---------------------------------------------- #--- Author : Ahmet Ozlu #--- Mail : [REDACTED_EMAIL] #--- Date : 27th January 2018 #---------------------------------------------- # Imports import tensorflow as tf # Object detection imports from utils import backbone from api import object...
127
1,250
24
0.98
2026-04-22T18:42:50.679611
true
github_sharkdp_bat_a6d38e8f060ff514c31678776a691e0224569408
Rust
sharkdp
bat
58,255
1,524
A cat(1) clone with wings.
[ "cli", "command-line", "git", "hacktoberfest", "rust", "syntax-highlighting", "terminal", "tool" ]
Apache-2.0
src/syntax_mapping/ignored_suffixes.rs
ignored_suffixes.rs
3,265
use std::ffi::OsStr; use std::fmt::Debug; use std::path::Path; use crate::error::*; #[derive(Debug, Clone)] pub struct IgnoredSuffixes<'a> { values: Vec<&'a str>, } impl Default for IgnoredSuffixes<'_> { fn default() -> Self { Self { values: vec![ // Editor etc backups ...
260
3,265
110
0.98
2026-04-17T13:16:57.956675
true
github_Usagi-org_ai-goofish-monitor_5d381c4cab2c0e9a2880e02ff859f440782fe7d7
Python
Usagi-org
ai-goofish-monitor
10,983
1,566
基于 Playwright 和AI实现的闲鱼多任务实时/定时监控与智能分析系统,配备了功能完善的后台管理UI。帮助用户从闲鱼海量商品中,找到心仪产品。
[ "ai", "ai-assistant", "ai-tools", "automation", "gemini", "goofish", "open-source", "openai", "playwright", "tool", "xian-yu", "xianyu", "xianyu-bot" ]
MIT
src/services/ai_service.py
ai_service.py
2,243
""" AI 分析服务 封装 AI 分析相关的业务逻辑 """ from typing import Dict, List, Optional from src.infrastructure.external.ai_client import AIClient class AIAnalysisService: """AI 分析服务""" def __init__(self, ai_client: AIClient): self.ai_client = ai_client async def analyze_product( self, product_d...
156
2,005
79
0.98
2026-04-17T15:35:39.782145
true
github_getmaxun_maxun_d484abbb3f928c9604edbf0e4ca860ebadc234b0
TypeScript
getmaxun
maxun
15,478
1,270
🔥 The open-source no-code platform for web scraping, crawling, search and AI data extraction • Turn websites into structured APIs in minutes 🔥
[ "agents", "api", "automation", "browser-automation", "crawler", "crawling", "data-extraction", "no-code", "nocode", "playwright", "robotic-process-automation", "rpa", "scraper", "self-hosted", "web-scraper", "web-scraping", "web-search", "webscraping" ]
AGPL-3.0
src/api/integration.ts
integration.ts
692
import { default as axios } from "axios"; import { apiUrl } from "../apiConfig"; export const handleUploadCredentials = async (fileName: string, credentials: any, spreadsheetId: string, range: string): Promise<boolean> => { try { const response = await axios.post(`${apiUrl}/integration/upload-credentials`,...
75
692
17
0.98
2026-04-17T17:55:13.511657
true
github_QiuYannnn_Local-File-Organizer_842ebcfc0a5fa82bfce2a8a9cf0e5b5e100246fa
Python
QiuYannnn
Local-File-Organizer
3,179
306
An AI-powered file management tool that ensures privacy by organizing local texts, images. Using Llama3.2 3B and Llava v1.6 models with the Nexa SDK, it intuitively scans, restructures, and organizes files for quick, seamless access and easy retrieval.
[ "file-organizer", "llama3", "llm", "on-device-ai", "vlm" ]
MIT
main.py
main.py
12,662
import os import time from file_utils import ( display_directory_tree, collect_file_paths, separate_files_by_type, read_file_data ) from data_processing_common import ( compute_operations, execute_operations, process_files_by_date, process_files_by_type, ) from text_data_processing im...
1,188
12,642
338
0.98
2026-04-17T23:31:34.477524
true
github_evanw_esbuild_093619d29f4281a88901d7196c17fdeb0998347f
Go
evanw
esbuild
39,846
1,302
An extremely fast bundler for the web
[ "bundler", "commonjs", "compiler", "css", "esm", "javascript", "jsx", "minifier", "react", "tsx", "typescript" ]
MIT
internal/bundler_tests/bundler_glob_test.go
bundler_glob_test.go
7,391
package bundler_tests import ( "testing" "github.com/evanw/esbuild/internal/config" ) var glob_suite = suite{ name: "glob", } func TestGlobBasicNoBundle(t *testing.T) { glob_suite.expectBundled(t, bundled{ files: map[string]string{ "/entry.js": ` const ab = Math.random() < 0.5 ? 'a.js' : 'b.js' con...
747
7,391
292
0.98
2026-04-17T07:32:00.547873
true
github_fastify_fastify_140cd046aba2b9490647797a4828558938f35c0b
JavaScript
fastify
fastify
36,111
2,663
Fast and low overhead web framework, for Node.js
[ "hacktoberfest", "nodejs", "performance", "speed", "webframework" ]
MIT
lib/four-oh-four.js
four-oh-four.js
6,422
'use strict' const FindMyWay = require('find-my-way') const Reply = require('./reply') const Request = require('./request') const Context = require('./context') const { kRoutePrefix, kCanSetNotFoundHandler, kFourOhFourLevelInstance, kFourOhFourContext, kHooks, kErrorHandler } = require('./symbols.js') con...
677
6,422
191
0.98
2026-04-23T06:39:54.032914
true
github_sharkdp_bat_30f13f981443fcb9fea48dddc33a5f5e94cdac08
Rust
sharkdp
bat
58,255
1,524
A cat(1) clone with wings.
[ "cli", "command-line", "git", "hacktoberfest", "rust", "syntax-highlighting", "terminal", "tool" ]
Apache-2.0
src/input.rs
input.rs
16,331
use std::convert::TryFrom; use std::fs; use std::fs::File; use std::io::{self, BufRead, BufReader, Read}; use std::path::{Path, PathBuf}; use clircle::{Clircle, Identifier}; use content_inspector::{self, ContentType}; use crate::error::*; /// A description of an Input source. /// This tells bat how to refer to the i...
1,356
16,331
569
0.98
2026-04-17T13:16:51.629714
true
github_ai-forever_ghost_84c1f7e5b97fa10734249d5e62d5e1bad3c1e351
Python
ai-forever
ghost
1,568
307
A new one shot face swap approach for image and video domains
[ "computer-vision", "deep-face-swap", "deep-learning", "deepfake", "face-swap", "faceswap", "ghost", "ghost-faceswap", "ghost-swap", "pytorch" ]
Apache-2.0
train.py
train.py
16,185
print("started imports") import sys import argparse import time import cv2 import wandb from PIL import Image import os from torch.utils.data import DataLoader import torch.optim as optim import torch.nn.functional as F import torch import torchvision.transforms as transforms import torch.optim.lr_scheduler as schedu...
1,157
15,960
336
0.98
2026-04-22T18:37:12.740409
true
github_kubescape_kubescape_6556debe2543ff92ca26d789445186d63e4b0831
Go
kubescape
kubescape
11,314
900
Kubescape is an open-source Kubernetes security platform for your IDE, CI/CD pipelines, and clusters. It includes risk analysis, security, compliance, and misconfiguration scanning, saving Kubernetes users and administrators precious time, effort, and resources.
[ "best-practice", "devops", "kubernetes", "mitre-attack", "nsa", "security", "vulnerability-detection" ]
Apache-2.0
core/cautils/normalize_image_name.go
normalize_image_name.go
236
package cautils import ( "github.com/distribution/reference" ) func NormalizeImageName(img string) (string, error) { name, err := reference.ParseNormalizedNamed(img) if err != nil { return "", err } return name.String(), nil }
29
236
14
0.98
2026-04-17T12:22:17.684246
true
github_dani-garcia_vaultwarden_6204ab485705c1a1731c692e7f4afb6cabcc5791
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/sso_client.rs
sso_client.rs
10,507
use std::{borrow::Cow, sync::LazyLock, time::Duration}; use openidconnect::{core::*, reqwest, *}; use regex::Regex; use url::Url; use crate::{ api::{ApiResult, EmptyResult}, db::models::SsoAuth, sso::{OIDCCode, OIDCCodeChallenge, OIDCCodeVerifier, OIDCState}, CONFIG, }; static CLIENT_CACHE_KEY: LazyL...
749
10,507
280
0.98
2026-04-17T13:16:37.984262
true
github_cloudnative-pg_cloudnative-pg_4cea22a0dc64ff0175b38723b0ad63008efc18ab
Go
cloudnative-pg
cloudnative-pg
8,452
651
CloudNativePG is a comprehensive platform designed to seamlessly manage PostgreSQL databases within Kubernetes environments, covering the entire operational lifecycle from initial deployment to ongoing maintenance
[ "automated-failover", "business-continuity", "database", "database-management", "devops", "disaster-recovery", "failover", "high-availability", "json-logging", "k8s", "kubectl-plugin", "kubernetes", "operator", "postgres", "postgresql", "prometheus-exporter", "replication", "self-h...
Apache-2.0
api/v1/database_funcs.go
database_funcs.go
2,754
/* Copyright © contributors to CloudNativePG, established as CloudNativePG a Series of LF Projects, LLC. 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...
344
2,753
91
0.98
2026-04-17T18:13:10.410224
true
github_ChatGPTNextWeb_NextChat_8c78c70c8650485ab3e1271ad9ab1d2351fd1182
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/auth.ts
auth.ts
3,941
import { NextRequest } from "next/server"; import { getServerSideConfig } from "../config/server"; import md5 from "spark-md5"; import { ACCESS_CODE_PREFIX, ModelProvider } from "../constant"; function getIP(req: NextRequest) { let ip = req.ip ?? req.headers.get("x-real-ip"); const forwardedFor = req.headers.get("...
371
3,941
130
0.98
2026-04-23T08:57:59.515018
true
github_coredns_coredns_ebae010387231c849674567fba4175471e56472b
Go
coredns
coredns
13,991
2,428
CoreDNS is a DNS server that chains plugins
[ "cncf", "coredns", "dns-server", "go", "plugin", "service-discovery" ]
Apache-2.0
owners_generate.go
owners_generate.go
1,627
//go:build ignore // generates plugin/chaos/zowners.go. package main import ( "bufio" "fmt" "log" "os" "sort" "strings" ) func main() { // top-level OWNERS file o, err := owners("CODEOWNERS") if err != nil { log.Fatal(err) } golist := `package chaos // Owners are all GitHub handlers of all maintainer...
274
1,627
90
0.98
2026-04-17T11:12:21.650572
true
github_BrainJS_brain.js_b55fc80d608005ad79dccd01e68b0af1f65bccf1
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/activation/tanh.ts
tanh.ts
273
/** * Hyperbolic tan */ export function activate(weight: number): number { return Math.tanh(weight); } /** * @description grad for z = tanh(x) is (1 - z^2) */ export function measure(weight: number, error: number): number { return (1 - weight * weight) * error; }
44
273
14
0.98
2026-04-17T17:55:49.014382
true
github_BrainJS_brain.js_d3d952c1bd19fc0747d259ca66dd5d3661644e4b
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/activation/sigmoid.test.ts
sigmoid.test.ts
371
import * as sigmoid from './sigmoid'; describe('sigmoid', () => { describe('.active()', () => { it('matches for value 1', () => { expect(sigmoid.activate(1).toFixed(5)).toBe('0.73106'); }); }); describe('.measure()', () => { it('matches for value .7', () => { expect(sigmoid.measure(0.7, 0...
40
371
15
0.98
2026-04-17T17:55:47.632070
true
github_syncthing_syncthing_62aad7bb2d9e24449fd1491f53292eb15929fab8
Go
syncthing
syncthing
81,798
4,996
Open Source Continuous File Synchronization
[ "go", "p2p", "peer-to-peer", "synchronization" ]
MPL-2.0
lib/api/tokenmanager.go
tokenmanager.go
6,075
// Copyright (C) 2024 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 api import ( "net/http" "slices" "strings" "sync" "tim...
751
6,075
228
0.98
2026-04-17T07:10:01.368010
true
github_yeungchenwa_FontDiffuser_d1ff4f5cee00486f4c7a3e6ed0e0a658c2dbdc4b
Python
yeungchenwa
FontDiffuser
517
54
[AAAI2024] FontDiffuser: One-Shot Font Generation via Denoising Diffusion with Multi-Scale Content Aggregation and Style Contrastive Learning
[ "deep-learning", "diffusers", "diffusion", "font-generation", "image-generation" ]
UNKNOWN
src/modules/embeddings.py
embeddings.py
2,613
import math import torch import torch.nn as nn def get_timestep_embedding( timesteps: torch.Tensor, embedding_dim: int, flip_sin_to_cos: bool = False, downscale_freq_shift: float = 1, scale: float = 1, max_period: int = 10000, ): """ This matches the implementation in Denoising Diffus...
263
2,613
85
0.98
2026-04-22T22:42:36.058297
true
github_pathwaycom_pathway_00b1e0fdaa86ae406e7640c4b9692944aa2dd2ed
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/persistence/tracker.rs
tracker.rs
11,232
// Copyright © 2026 Pathway use differential_dataflow::difference::Semigroup; use differential_dataflow::ExchangeData; use log::error; use std::collections::{HashMap, HashSet}; use std::mem::take; use std::sync::{Arc, Mutex}; use crate::connectors::PersistenceMode; use crate::engine::{Timestamp, TotalFrontier}; use c...
775
11,231
311
0.98
2026-04-23T04:40:50.014606
true
github_vitaly-t_pg-promise_9369a7620d8d1f5e7853f1481bd2d21b595108bd
JavaScript
vitaly-t
pg-promise
3,551
221
PostgreSQL interface for Node.js
[ "javascript", "nodejs", "postgresql", "promise-library", "promises", "transaction", "typescript" ]
MIT
lib/types/parameterized-query.js
parameterized-query.js
7,099
/* * Copyright (c) 2015-present, Vitaly Tomilov * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Removal or modification of this copyright notice is prohibited. */ const {ServerFormatting} = require('./server-formatting'); const {ParameterizedQueryError} ...
915
7,099
248
0.98
2026-04-23T07:49:41.878177
true
github_pubkey_rxdb_725f9c5bf52be96fa4b206caf834c9895606b0d5
TypeScript
pubkey
rxdb
23,156
1,161
A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
[ "angular", "browser-database", "couchdb", "crdt", "database", "firebase", "graphql", "indexeddb", "ionic", "local-first", "localstorage", "nodejs", "nosql", "postgres", "pouchdb", "react-native", "realtime", "realtime-database", "rxdb", "sqlite" ]
Apache-2.0
src/replication-protocol/meta-instance.ts
meta-instance.ts
5,923
import { fillWithDefaultSettings, getComposedPrimaryKeyOfDocumentData, getLengthOfPrimaryKey } from '../rx-schema-helper.ts'; import { flatCloneDocWithMeta } from '../rx-storage-helper.ts'; import type { BulkWriteRow, ById, RxDocumentData, RxJsonSchema, RxStorageInstanceReplicationState,...
456
5,923
196
0.98
2026-04-23T08:22:02.692879
true
github_unionlabs_union_c78ea73c9ba32bc4d7b53e2f0ff719f8007a4d12
TypeScript
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
vitest.workspace.ts
vitest.workspace.ts
219
import { defineWorkspace } from "vitest/config" export default defineWorkspace([ "ts-sdk/vitest.config.ts", "ts-sdk-evm/vitest.config.ts", "ts-sdk-cosmos/vitest.config.ts", "effect-svelte/vitest.config.ts", ])
14
219
9
0.98
2026-04-17T13:15:45.145511
true
github_nodejs_node_910278e40a4f0e0df7adfc2c3cade9bb61cf8783
JavaScript
nodejs
node
116,870
35,414
Node.js JavaScript runtime ✨🐢🚀✨
[ "javascript", "js", "linux", "macos", "mit", "node", "nodejs", "runtime", "windows" ]
NOASSERTION
lib/_tls_wrap.js
_tls_wrap.js
307
'use strict'; const { TLSSocket, Server, createServer, connect } = require('internal/tls/wrap'); module.exports = { TLSSocket, Server, createServer, connect, }; process.emitWarning('The _tls_wrap module is deprecated. Use `node:tls` instead.', 'DeprecationWarning', 'DEP0192');
29
307
12
0.98
2026-04-23T06:15:35.788058
true
github_vanus-labs_vanus_d76aa4693551b3d14e6e01866e188e4e24c4dc30
Go
vanus-labs
vanus
1,697
92
Vanus is a Serverless, event streaming system with processing capabilities. It easily connects SaaS, Cloud Services, and Databases to help users build next-gen Event-driven Applications.
[ "cloud-native", "cloudevents", "cloudnative", "event-bridge", "event-driven", "eventbus", "kafka", "kubernetes", "message-queue", "microservices", "rabbitmq", "rocketmq", "serverless", "sns", "sqs" ]
Apache-2.0
pkg/authorization/authorization.go
authorization.go
2,817
// Copyright 2023 Linkall Inc. // // 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...
344
2,817
98
0.98
2026-04-18T01:03:47.898030
true
github_siderolabs_talos_91211a1f8acd0c182c72918cd4b69ef630054f5a
Go
siderolabs
talos
10,255
810
Talos Linux is a modern Linux distribution built for Kubernetes.
[ "cloud-native", "containerd", "go", "grpc", "kubernetes", "kubernetes-distribution", "linux", "linux-distribution", "musl" ]
MPL-2.0
pkg/archiver/tar_test.go
tar_test.go
3,271
// 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 http://mozilla.org/MPL/2.0/. package archiver_test import ( "archive/tar" "bytes" "context" "io" "os" "path/filepath" "testing" "github....
324
3,271
157
0.98
2026-04-17T12:42:13.843363
true
github_chris-chris_pysc2-examples_6cbda30c118332ff2850e15a9d58b6443a8d7fc2
Python
chris-chris
pysc2-examples
757
349
StarCraft II - pysc2 Deep Reinforcement Learning Examples
[ "ai", "deep-q-network", "deep-reinforcement-learning", "deepmind", "machine-learning", "reinforcement-learning", "startcraft2" ]
Apache-2.0
setup.py
setup.py
507
"""NSML Example for StarCraft 2 ===================================== Please edit this text to describe what this file does. It is included automatically in the documentation. """ #nsml: chrisai/starcraft2-docker:latest from distutils.core import setup setup( name='nsml StarCraft2 MineralShards', version='0...
46
507
24
0.98
2026-04-22T20:35:21.122811
true
github_Chalarangelo_30-seconds-of-code_0aec22e0cb5d4a38f5dbe1c872d8a22dc2c48b33
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/models/contentModel.js
contentModel.js
3,696
import Model from '#src/core/model.js'; import CoverPresenter from '#src/presenters/coverPresenter.js'; import serializers from '#src/serializers/serializers.js'; import StringUtils from '#src/lib/stringUtils.js'; import Redirects from '#src/lib/redirects.js'; import settings from '#src/config/settings.js'; import { de...
327
3,696
173
0.98
2026-04-23T06:14:58.522337
true
github_nodejs_node_80de67791512e4f42db58c715827200463cb2ce9
JavaScript
nodejs
node
116,870
35,414
Node.js JavaScript runtime ✨🐢🚀✨
[ "javascript", "js", "linux", "macos", "mit", "node", "nodejs", "runtime", "windows" ]
NOASSERTION
lib/internal/net.js
net.js
3,130
'use strict'; const { RegExp, RegExpPrototypeTest, Symbol, } = primordials; const Buffer = require('buffer').Buffer; const { writeBuffer } = internalBinding('fs'); const { UVException, } = require('internal/errors'); // IPv4 Segment const v4Seg = '(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])'; const ...
278
3,130
113
0.98
2026-04-23T06:15:59.229241
true
github_AdguardTeam_AdGuardHome_9a2d33f1ac705142110af56dac6dbdeac54747a3
Go
AdguardTeam
AdGuardHome
33,577
2,303
Network-wide ads & trackers blocking DNS server
[ "adblock", "adguard", "dns", "dns-over-https", "dns-over-quic", "dns-over-tls", "dnscrypt", "golang", "open-source", "privacy" ]
GPL-3.0
internal/aghhttp/json_test.go
json_test.go
2,546
package aghhttp_test import ( "encoding/json" "testing" "time" "github.com/AdguardTeam/AdGuardHome/internal/aghhttp" "github.com/AdguardTeam/golibs/testutil" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) // testJSONTime is the JSON time for tests. var testJSONTime = aghhttp.JSON...
249
2,546
115
0.98
2026-04-17T07:42:58.061725
true
github_calyxir_calyx_f439dd7ba0822b1189743d86302bcb825398838d
Rust
calyxir
calyx
588
64
Intermediate Language (IL) for Hardware Accelerator Generators
[ "compiler", "fpga-programming", "high-level-synthesis", "intermediate-language", "open-source-hardware" ]
MIT
src/build.rs
build.rs
3,720
use std::{env, fs, io::Result, path}; /// Location to install the primitives library const PRIM_DIR: &str = "CALYX_PRIMITIVES_DIR"; struct PrimState { base: path::PathBuf, old_prims: Option<path::PathBuf>, new_prims: path::PathBuf, } /// Move the old primitives directory to a different location if presen...
366
3,720
125
0.98
2026-04-17T17:09:45.284520
true
github_fdehau_tui-rs_e1b1bf6d515bab6377f826ecb6afa5db2cdf81e3
Rust
fdehau
tui-rs
10,878
481
Build terminal user interfaces and dashboards using Rust
[ "dashboard", "rust", "terminal", "tui" ]
MIT
src/widgets/table.rs
table.rs
15,564
use crate::{ buffer::Buffer, layout::{Constraint, Direction, Layout, Rect}, style::Style, text::Text, widgets::{Block, StatefulWidget, Widget}, }; use unicode_width::UnicodeWidthStr; /// A [`Cell`] contains the [`Text`] to be displayed in a [`Row`] of a [`Table`]. /// /// It can be created from any...
1,622
15,564
497
0.98
2026-04-17T14:22:33.358291
true
github_farion1231_cc-switch_92ba1d3c57ec233bb8897006be0c2e01cb5f94a5
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/useProxyConfig.ts
useProxyConfig.ts
1,301
/** * 代理配置管理 Hook */ import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query"; import { invoke } from "@tauri-apps/api/core"; import { toast } from "sonner"; import { useTranslation } from "react-i18next"; import type { ProxyConfig } from "@/types/proxy"; /** * 代理配置管理 */ export function usePr...
130
1,261
49
0.98
2026-04-17T13:18:52.700780
true
github_starship_starship_0bc126622c72eb05914a4b553bf91a187f22b416
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_state.rs
hg_state.rs
1,005
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct HgStateConfig<'a> { pub merge: &'a str, pub rebase: &'a str, pub update: &'a str, ...
101
1,005
41
0.98
2026-04-17T13:17:45.723513
true
github_starship_starship_ec17e9aaf64374de234af2044b26d730afda867b
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/fossil_branch.rs
fossil_branch.rs
739
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct FossilBranchConfig<'a> { pub format: &'a str, pub symbol: &'a str, pub style: &'a str,...
72
735
31
0.98
2026-04-17T13:17:39.272004
true
github_njbrake_agent-of-empires_f1243f84c5b1d4235db2b87f2539468cb097ae59
Rust
njbrake
agent-of-empires
1,618
123
Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile. Also supports Mistral Vibe, Codex CLI, Gemini CLI, Pi.dev, Copilot CLI, Factory Droid Coding. Uses tmux and git worktrees.
[ "ai-coding", "claude", "claude-code", "cli", "codex", "cursor", "factory-droid-cli", "gemini", "gemini-cli", "github-copilot-cli", "llm", "mistral-vibe", "opencode", "orchestrator", "pi", "rust", "terminal", "tmux", "vibe", "vibe-coding" ]
MIT
src/cli/list.rs
list.rs
5,064
//! `agent-of-empires list` command implementation use anyhow::Result; use clap::Args; use serde::Serialize; use crate::session::{Instance, Storage}; const TABLE_COL_TITLE: usize = 20; const TABLE_COL_GROUP: usize = 15; const TABLE_COL_PATH: usize = 40; const TABLE_COL_ID_DISPLAY: usize = 12; #[derive(Args)] pub st...
392
4,974
174
0.98
2026-04-17T19:28:01.455159
true
github_imsnif_bandwhich_434c9d7c5e4dd953af0e75e97434167ee89ef435
Rust
imsnif
bandwhich
11,691
340
Terminal bandwidth utilization tool
[ "bandwidth", "cli", "dashboard", "networking" ]
MIT
src/os/mod.rs
mod.rs
307
#[cfg(any(target_os = "android", target_os = "linux"))] mod linux; #[cfg(any(target_os = "macos", target_os = "freebsd"))] mod lsof; #[cfg(any(target_os = "macos", target_os = "freebsd"))] mod lsof_utils; #[cfg(target_os = "windows")] mod windows; mod errors; pub(crate) mod shared; pub use shared::*;
37
307
17
0.98
2026-04-17T14:20:44.296479
true
github_SeaQL_sea-orm_09ca329b56d1860c9dacf1ec8c90db08ca1a63bd
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/relation.rs
relation.rs
18,081
use crate::{ EntityTrait, Identity, IdentityOf, Iterable, QuerySelect, Select, join_tbl_on_condition, }; use core::marker::PhantomData; use sea_query::{ Condition, ConditionType, DynIden, ForeignKeyCreateStatement, IntoIden, JoinType, TableForeignKey, TableRef, }; use std::{fmt::Debug, sync::Arc}; /// Defi...
1,788
18,081
581
0.98
2026-04-17T14:27:16.851819
true
github_firefox-devtools_profiler_c831ad796e32e51b1a62effa7e6e649fa150fb60
TypeScript
firefox-devtools
profiler
1,481
465
Firefox Profiler — Web app for Firefox performance analysis
[ "devtools", "firefox", "gecko-profiler", "javascript", "performance", "profiler", "react", "redux" ]
MPL-2.0
src/profile-logic/tracks.ts
tracks.ts
58,343
/* 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 http://mozilla.org/MPL/2.0/. */ import type { ScreenshotPayload, Profile, RawProfileSharedData, RawThread, ThreadIndex, Pid, GlobalTr...
6,729
58,341
1,796
0.98
2026-04-18T00:29:54.898255
true
github_go-resty_resty_73553c36f74c5845e0395a167408952dda1550a0
Go
go-resty
resty
11,642
782
Simple HTTP, REST, and SSE client library for Go
[ "backoff", "circuit-breaker", "curl-command", "digest-authentication", "go", "go-library", "go-resty", "golang", "golang-library", "hacktoberfest", "http-client", "http-trace", "load-balancer", "middleware", "redirects", "rest-client", "retry", "service-discovery", "srv-record", ...
MIT
transport_dial.go
transport_dial.go
384
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !(js && wasm) // +build !js !wasm package resty import ( "context" "net" ) func transportDialContext(dialer *net.Dialer) func(context.Context, s...
57
384
18
0.98
2026-04-17T12:13:41.165814
true
github_qdm12_gluetun_07a93fe13ff725e97814e23f4fd673490cd5ca8f
Go
qdm12
gluetun
13,842
564
VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN or Wireguard, DNS over TLS, with a few proxy servers built-in.
[ "alpine", "cyberghost", "dns-over-tls", "docker", "golang", "http-proxy", "mullvad", "nordvpn", "openvpn", "pia", "privado", "private-internet-access", "purevpn", "shadowsocks", "surfshark", "vpn-client", "vyprvpn", "windscribe", "wireguard" ]
MIT
internal/dns/logger.go
logger.go
175
package dns type Logger interface { Debug(s string) Info(s string) Infof(format string, args ...any) Warn(s string) Warnf(format string, args ...any) Error(s string) }
23
175
11
0.98
2026-04-17T11:14:56.624821
true
github_wenzhixin_bootstrap-table_c8634fd3aa8e0ae664c127b9cbafe94440b75679
JavaScript
wenzhixin
bootstrap-table
11,817
4,369
An extended table for integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js)
[ "bootstrap", "bootstrap-table", "bulma", "checkbox", "css", "css-framework", "datatables", "foundation", "hacktoberfest", "material", "material-design", "materialize", "pagination", "radio", "semantic", "semantic-ui", "table", "vue" ]
MIT
src/locale/bootstrap-table-sl-SI.js
bootstrap-table-sl-SI.js
3,350
/** * Bootstrap Table Slovenian translation * Author: Ales Hotko <[REDACTED_EMAIL]> */ $.fn.bootstrapTable.locales['sl-SI'] = $.fn.bootstrapTable.locales['sl'] = { formatAddLevel () { return 'Add Level' }, formatAdvancedCloseButton () { return 'Zapri' }, formatAdvancedSearch () { return 'Nap...
373
3,332
192
0.98
2026-04-23T11:50:43.837998
true
github_njbrake_agent-of-empires_8198449867990241603487764ee78035c0d1c9d8
Rust
njbrake
agent-of-empires
1,618
123
Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile. Also supports Mistral Vibe, Codex CLI, Gemini CLI, Pi.dev, Copilot CLI, Factory Droid Coding. Uses tmux and git worktrees.
[ "ai-coding", "claude", "claude-code", "cli", "codex", "cursor", "factory-droid-cli", "gemini", "gemini-cli", "github-copilot-cli", "llm", "mistral-vibe", "opencode", "orchestrator", "pi", "rust", "terminal", "tmux", "vibe", "vibe-coding" ]
MIT
src/tui/styles.rs
styles.rs
21,186
//! TUI theme and styling use ratatui::style::Color; use serde::{Deserialize, Serialize}; use std::path::PathBuf; use tracing::warn; pub const BUILTIN_THEMES: &[&str] = &[ "empire", "phosphor", "tokyo-night-storm", "catppuccin-latte", "dracula", ]; /// Return the directory where custom theme TOML...
1,843
21,186
648
0.98
2026-04-17T19:28:32.781243
true
github_tulios_kafkajs_562b0553324415544e1ea5edb1bbedce2d0befb2
JavaScript
tulios
kafkajs
3,994
584
A modern Apache Kafka client for node.js
[ "kafka", "kafka-client", "nodejs", "npm-package" ]
MIT
src/loggers/index.js
index.js
1,749
const { assign } = Object const LEVELS = { NOTHING: 0, ERROR: 1, WARN: 2, INFO: 4, DEBUG: 5, } const createLevel = (label, level, currentLevel, namespace, logFunction) => ( message, extra = {} ) => { if (level > currentLevel()) return logFunction({ namespace, level, label, log: assig...
194
1,749
69
0.98
2026-04-23T07:42:07.208980
true
github_facebook_react_d60da35b586f5484a5b514347469caa83c7b32e6
JavaScript
facebook
react
244,610
50,966
The library for web and native user interfaces.
[ "declarative", "frontend", "javascript", "library", "react", "ui" ]
MIT
dangerfile.js
dangerfile.js
8,470
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; /* eslint-disable no-for-of-loops/no-for-of-loops */ // Hi, if this is your first time editing/reading a Dangerf...
969
8,470
283
0.98
2026-04-23T04:44:39.415764
true
github_visomaster_VisoMaster_a9ff9f5c73828334cd9d3e72b45df5766baf0287
Python
visomaster
VisoMaster
1,815
313
Powerful & Easy-to-Use Video Face Swapping and Editing Software
[ "ai", "computer-vision", "deepfake", "face-editor", "faceswap", "live-portrait", "video-editor" ]
GPL-3.0
app/processors/face_landmark_detectors.py
face_landmark_detectors.py
24,098
from itertools import product as product from typing import TYPE_CHECKING import pickle import torch import cv2 import numpy as np from torchvision.transforms import v2 if TYPE_CHECKING: from app.processors.models_processor import ModelsProcessor from app.processors.models_data import models_dir from ...
1,703
24,098
493
0.98
2026-04-22T17:52:04.474043
true
github_starship_starship_fa3d3326d1cb16541776e0b83ac3ef08c60a5212
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/direnv.rs
direnv.rs
1,258
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct DirenvConfig<'a> { pub format: &'a str, pub symbol: &'a str, pub style: &'a str, p...
116
1,258
45
0.98
2026-04-17T13:17:35.353130
true
github_apex_up_6ddd62f9cfae824c2c77e21fadc954fbb146b6a2
Go
apex
up
8,809
389
Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.
[ "api", "api-gateway", "aws", "aws-infrastructure", "aws-lambda", "deploy-tool", "deployment", "golang", "graphql", "heroku", "http", "lambda", "microservice", "microservices", "nodejs", "serverless", "static", "up" ]
MIT
internal/util/util.go
util.go
11,900
// Package util haters gonna hate. package util import ( "bufio" "crypto/md5" "encoding/hex" "encoding/json" "fmt" "io" "io/ioutil" "math" "net" "net/http" "net/url" "os" "os/exec" "strings" "syscall" "time" "github.com/apex/up/internal/colors" "github.com/pascaldekloe/name" "github.com/pkg/errors"...
1,651
11,892
536
0.98
2026-04-18T00:52:19.452571
true
github_putyy_res-downloader_53ee5ddcbcda0e093892d0163666f97661f38bef
Go
putyy
res-downloader
16,628
2,070
视频号、小程序、抖音、快手、小红书、直播流、m3u8、酷狗、QQ音乐等常见网络资源下载!
[ "douyin", "kuaishou", "res-downloader", "wechat", "wechat-video", "xiaohongshu" ]
Apache-2.0
core/storage.go
storage.go
694
package core import ( "os" "path" "res-downloader/core/shared" ) type Storage struct { fileName string def []byte } func NewStorage(filename string, def []byte) *Storage { return &Storage{ fileName: path.Join(appOnce.UserDir, filename), def: def, } } func (l *Storage) Load() ([]byte, error) { ...
101
694
42
0.98
2026-04-17T10:21:21.532722
true
github_apexcharts_apexcharts.js_b9caaf41150e482e27b2c53fabf80c01a26406d8
JavaScript
apexcharts
apexcharts.js
15,090
1,382
📊 Interactive JavaScript Charts built on SVG
[ "charts", "data-visualization", "graphs", "interactive", "javascript", "svg", "visualization" ]
NOASSERTION
src/entries/bubble.js
bubble.js
174
// @ts-check /** * ApexCharts — bubble entry point. * Alias for 'apexcharts/line' — also registers line, area, scatter, rangeArea. */ export { default } from './line'
27
170
7
0.98
2026-04-23T14:17:00.531096
true
github_pamburus_hl_9df93b1dfdeab4ded5360c1f8168179157762b6f
Rust
pamburus
hl
3,077
63
A fast and powerful log viewer and processor that converts JSON logs or logfmt logs into a clear human-readable format.
[ "cli", "command-line-tool", "hl", "human", "json", "json-log", "json-logging", "json-logs", "log", "log-viewer", "logfmt", "logging", "logs", "rust", "structured-logging", "translates-json-logs", "viewer" ]
MIT
src/vfs.rs
vfs.rs
10,557
// stdlib imports use std::{ fs, io::{self, Read, Seek, Write}, path::{Path, PathBuf}, }; // third-party imports #[cfg(test)] use mockall::mock; // --- pub trait FileSystem { type Metadata: 'static; fn canonicalize(&self, path: &Path) -> io::Result<PathBuf>; fn metadata(&self, path: &Path) -...
1,030
10,557
411
0.98
2026-04-17T19:18:41.082439
true
github_shelljs_shelljs_d46e3c9b82d163ac2478ef0e897621a4924093ea
JavaScript
shelljs
shelljs
14,404
746
:shell: Portable Unix shell commands for Node.js
[ "bash", "javascript", "node", "nodejs", "shell", "shelljs", "unix" ]
BSD-3-Clause
src/common.js
common.js
17,467
// Ignore warning about 'new String()' and use of the Buffer constructor /* eslint no-new-wrappers: "off", no-buffer-constructor: "off" */ 'use strict'; var os = require('os'); var fs = require('fs'); var glob = require('fast-glob'); var shell = {}; exports.shell = shell; var shellMethods = Object.create(shell);...
2,246
17,467
582
0.98
2026-04-23T06:56:03.222600
true
github_socketstream_socketstream_529cccc4bbe48ecb3f337bb201015187ab5a009c
JavaScript
socketstream
socketstream
3,522
280
A framework for Realtime Web Apps
[ "nodejs", "realtime" ]
MIT
lib/http/cached.js
cached.js
4,105
'use strict'; /** * Ensure that content is up-to-date in edge caches */ var parseurl = require('parseurl'), debug = require('debug')('http'), send = require('send'), glob = require('glob'), path = require('path'); /* Files in static directory are cached and files as is under root. Files in assets directory a...
489
4,105
163
0.98
2026-04-23T07:51:01.837471
true
github_wader_fq_ffa18ea86daae509d61b2e495cc7619e68309ab7
Go
wader
fq
10,479
247
jq for binary formats - tool, language and decoders for working with binary and text formats
[ "binary", "cli", "decode", "go", "golang", "hexdump", "jq", "json", "pcap", "query", "repl", "tls", "xml" ]
NOASSERTION
pkg/bitio/multireader.go
multireader.go
2,504
package bitio import ( "errors" "io" ) // TODO: smarter, track index? func endPos(rs Seeker) (int64, error) { c, err := rs.SeekBits(0, io.SeekCurrent) if err != nil { return 0, err } e, err := rs.SeekBits(0, io.SeekEnd) if err != nil { return 0, err } _, err = rs.SeekBits(c, io.SeekStart) if err != nil...
370
2,504
130
0.98
2026-04-17T12:38:39.855248
true
github_coderamp-labs_gitingest_f66f674f5f0ae309899c94986f36040b61d6c5c6
Python
coderamp-labs
gitingest
14,354
1,050
Replace 'hub' with 'ingest' in any GitHub URL to get a prompt-friendly extract of a codebase
[ "ai", "code", "developer-tool", "ingestion" ]
MIT
src/server/main.py
main.py
7,413
"""Main module for the FastAPI application.""" from __future__ import annotations import os import threading from pathlib import Path import sentry_sdk from dotenv import load_dotenv from fastapi import FastAPI, Request from fastapi.responses import FileResponse, HTMLResponse, JSONResponse from fastapi.staticfiles i...
728
7,413
214
0.98
2026-04-17T15:32:48.362853
true
github_google_zx_72fb8e8a27fa40fec70f629503b4b273b04d20c1
TypeScript
google
zx
45,409
1,253
A tool for writing better scripts
[ "bash", "child-process", "cli", "exec", "javascript", "nodejs", "pipe", "shell", "spawn" ]
Apache-2.0
src/goods.ts
goods.ts
7,289
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
939
7,269
288
0.98
2026-04-23T06:18:08.522569
true
github_open-mmlab_mmaction2_94471e52209a9f4817a69da08f2da4fd44680d31
Python
open-mmlab
mmaction2
4,993
1,348
OpenMMLab's Next Generation Video Understanding Toolbox and Benchmark
[ "action-recognition", "ava", "benchmark", "deep-learning", "i3d", "non-local", "openmmlab", "posec3d", "pytorch", "slowfast", "spatial-temporal-action-detection", "temporal-action-localization", "tsm", "tsn", "uniformerv2", "video-classification", "video-understanding", "x3d" ]
Apache-2.0
setup.py
setup.py
7,341
# Copyright (c) OpenMMLab. All rights reserved. import os import os.path as osp import shutil import sys import warnings from setuptools import find_packages, setup def readme(): with open('README.md', encoding='utf-8') as f: content = f.read() return content version_file = 'mmaction/version.py' d...
610
7,341
197
0.98
2026-04-17T17:33:36.894236
true
github_vikiboss_60s_492a487d7ef1ab9c2687cdfebf17d5e766d2263f
TypeScript
vikiboss
60s
5,155
891
⏰ 60s API 免费接口。每天 60 秒看世界、奥运奖牌榜、小红书/B站/微博/抖音/知乎热搜、金价、油价、天气、翻译、壁纸、Epic 游戏、二维码、猫眼票房|一系列 高质量、开源、可靠、全球 CDN 加速 的开放 API 集合,支持 Docker / Deno / Bun / Cloudflare Workers / Node.js 部署
[ "60s", "api", "bilibili", "bing", "bun", "cloudflare-workers", "deno", "docker", "entertainment", "fun", "news", "today-in-history", "typescript", "weibo", "youdao" ]
MIT
src/modules/hacker-news.module.ts
hacker-news.module.ts
6,116
import dayjs from 'dayjs' import { Common } from '../common.ts' import type { RouterMiddleware } from '@oak/oak' const HN_BASE_URL: string = 'https://hacker-news.firebaseio.com/v0' const DEFAULT_LIMIT_SIZE: number = 10 const DEFAULT_MAX_LIMIT_SIZE: number = 35 class ServiceHackerNews { private cache = new Map<strin...
600
5,613
249
0.98
2026-04-17T18:01:23.402070
true
github_reactjs_react.dev_6b55f9277954b69a85eede12409a79f9455ab2c0
JavaScript
reactjs
react.dev
11,733
7,893
The React documentation website
[ "documentation", "javascript", "react", "website" ]
CC-BY-4.0
postcss.config.js
postcss.config.js
542
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* * Copyright (c) Facebook, Inc. and its affiliates. */ module.exports = { plugins: { tailwindcss: {}, autoprefixe...
73
542
28
0.98
2026-04-23T05:38:54.029833
true
github_mysteriumnetwork_node_496b307fc8e57dd0bf6a21316272a890514f3102
Go
mysteriumnetwork
node
1,186
337
Mysterium Network Node - official implementation of distributed VPN network (dVPN) protocol
[ "blockchain", "distributed", "distributed-systems", "golang", "networking", "vpn", "vpn-client", "vpn-server", "vpnfree" ]
GPL-3.0
core/quality/morqa_transport_test.go
morqa_transport_test.go
4,912
/* * Copyright (C) 2019 The "MysteriumNetwork/node" Authors. * * This program 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 later version. * ...
462
4,912
178
0.98
2026-04-17T16:59:16.083290
true
github_jaegertracing_jaeger_a444d6cd567ee1e3fc0aef8ee8b0ab744c3d18a9
Go
jaegertracing
jaeger
22,689
2,844
CNCF Jaeger, a Distributed Tracing Platform
[ "cncf", "distributed-tracing", "hacktoberfest", "jaeger", "observability", "opentelemetry", "tracing" ]
Apache-2.0
internal/jptrace/statuscode.go
statuscode.go
355
// Copyright (c) 2025 The Jaeger Authors. // SPDX-License-Identifier: Apache-2.0 package jptrace import "go.opentelemetry.io/collector/pdata/ptrace" func StringToStatusCode(sc string) ptrace.StatusCode { switch sc { case "Ok": return ptrace.StatusCodeOk case "Error": return ptrace.StatusCodeError default: ...
35
355
18
0.98
2026-04-17T09:17:06.233089
true
github_ChromeDevTools_chrome-devtools-mcp_7b152d853dd32221da54e0990d241d53f4d1a44b
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/trace-processing/parse.ts
parse.ts
3,590
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import {logger} from '../logger.js'; import {DevTools} from '../third_party/index.js'; const engine = DevTools.TraceEngine.TraceModel.Model.createWithAllHandlers(); export interface TraceResult { parsedTrace: DevTools.TraceEngi...
369
3,590
127
0.98
2026-04-23T08:42:52.146495
true
github_niri-wm_niri_d1168ee2ac257366e959d93e8c4e3304c7c4a742
Rust
niri-wm
niri
22,641
820
A scrollable-tiling Wayland compositor.
[ "rust", "smithay", "tiling-window-manager", "wayland", "wayland-compositor" ]
GPL-3.0
build.rs
build.rs
274
fn main() { println!("cargo:rustc-check-cfg=cfg(have_libinput_plugin_system)"); if pkg_config::Config::new() .atleast_version("1.30.0") .probe("libinput") .is_ok() { println!("cargo:rustc-cfg=have_libinput_plugin_system") } }
13
274
11
0.98
2026-04-17T13:35:13.285656
true
github_51bitquant_ai-hedge-fund-crypto_853adb1f36a8460c078b1d11451ed4f7d31d078e
Python
51bitquant
ai-hedge-fund-crypto
571
149
AI-Hedge-Fund for Crypto 🚀 AI-powered hedge fund for cryptocurrency trading, leveraging LLM agents for intelligent decision-making.
[ "ai-agent", "ai-trading", "ai-trading-agent", "algorithmic-trading", "backtesting", "crypto-trading", "hedge-fund", "langchain", "langchain-python", "llm", "llm-agent", "multi-timeframe-analysis", "openai", "portfolio-management", "quantitative-finance", "strategy-ensembling", "techn...
MIT
src/strategies/__init__.py
__init__.py
229
from .macd_strategy import MacdStrategy from .rsi_strategy import RSIStrategy # remember to import your strategy here. from .my_strategy import MyStrategy __all__ = [ "MacdStrategy", "RSIStrategy", "MyStrategy", ]
26
229
11
0.98
2026-04-23T00:53:38.590701
true
github_graphql-nexus_nexus_944b20e4d5b0a64943c89df66f84212a0f2b34ce
TypeScript
graphql-nexus
nexus
3,427
278
Code-First, Type-Safe, GraphQL Schema Construction
[ "graphql", "graphql-nexus", "graphql-schema", "nexus", "typescript" ]
MIT
src/graphqlInternal.ts
graphqlInternal.ts
6,081
const MAX_ARRAY_LENGTH = 10 const MAX_RECURSIVE_DEPTH = 2 /** Used to print values in error messages. */ export function inspect(value: unknown): string { return formatValue(value, []) } function formatValue(value: unknown, seenValues: ReadonlyArray<unknown>): string { switch (typeof value) { case 'string': ...
792
6,081
220
0.98
2026-04-18T01:37:17.989981
true
github_sindresorhus_execa_361538bf39f98e0fdd0e103a3daee21a8c487c18
JavaScript
sindresorhus
execa
7,493
250
Process execution for humans
[ "binary", "child-process", "exec", "execute", "javascript", "nodejs", "shell", "spawn", "spawned-processes", "streams" ]
MIT
lib/stdio/input-option.js
input-option.js
1,291
import {isReadableStream} from 'is-stream'; import {isUint8Array} from '../utils/uint-array.js'; import {isUrl, isFilePathString} from './type.js'; // Append the `stdin` option with the `input` and `inputFile` options export const handleInputOptions = ({input, inputFile}, fdNumber) => fdNumber === 0 ? [ ...handleIn...
164
1,291
51
0.98
2026-04-23T07:16:00.505290
true
github_sindresorhus_file-type_01c6887480bd66c40562f0b2048de20c482e9a42
JavaScript
sindresorhus
file-type
4,267
395
Detect the file type of a file, stream, or data
[ "buffer", "detect", "file", "file-types", "javascript", "magic", "magic-numbers", "nodejs", "uint8array" ]
MIT
source/detectors/png.js
png.js
3,064
import * as Token from 'token-types'; import * as strtok3 from 'strtok3/core'; import { ParserHardLimitError, safeIgnore, hasUnknownFileSize, hasExceededUnknownSizeScanBudget, } from '../parser.js'; const maximumPngChunkCount = 512; const maximumPngStreamScanBudgetInBytes = 16 * 1024 * 1024; const maximumPngChunkS...
370
3,064
124
0.98
2026-04-23T07:35:05.995759
true
github_nodejs_node_d3e8cdf532cd885263453c478ffd1d2efe0395ba
JavaScript
nodejs
node
116,870
35,414
Node.js JavaScript runtime ✨🐢🚀✨
[ "javascript", "js", "linux", "macos", "mit", "node", "nodejs", "runtime", "windows" ]
NOASSERTION
lib/internal/heap_utils.js
heap_utils.js
2,459
'use strict'; const { ArrayPrototypeMap, Symbol, Uint8Array, } = primordials; const { kUpdateTimer, onStreamRead, } = require('internal/stream_base_commons'); const { owner_symbol } = require('internal/async_hooks').symbols; const { Readable } = require('stream'); const { validateObject, validateBoolean, ...
244
2,459
97
0.98
2026-04-23T06:15:55.187195
true
github_react-dates_react-dates_e6e9e3e23c83a9bb4cc489780e9dd7acea967517
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/utils/toLocalizedDateString.js
toLocalizedDateString.js
354
import moment from 'moment'; import toMomentObject from './toMomentObject'; import { DISPLAY_FORMAT } from '../constants'; export default function toLocalizedDateString(date, currentFormat) { const dateObj = moment.isMoment(date) ? date : toMomentObject(date, currentFormat); if (!dateObj) return null; return ...
36
354
13
0.98
2026-04-23T05:38:10.942738
true
github_goofychris_art-template_5738ec179eb4b15eca091b649d192c7ae9a1fccd
JavaScript
goofychris
art-template
9,873
2,653
High performance JavaScript templating engine
[ "express", "javascript", "koa", "nodejs", "template-engine", "webpack" ]
MIT
index.js
index.js
207
const template = require('./lib/index'); const extension = require('./lib/extension'); template.extension = extension; require.extensions[template.defaults.extname] = extension; module.exports = template;
17
207
8
0.98
2026-04-23T07:02:01.235681
true
github_lahmatiy_react-render-tracker_21a1e973aba821b5d4cccba20a8b0ab477e78836
JavaScript
lahmatiy
react-render-tracker
2,400
35
React render tracker – a tool to discover performance issues related to unintentional re-renders and unmounts
[ "devtools", "performance", "react", "rerender" ]
MIT
jest.config.js
jest.config.js
135
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ module.exports = { preset: "ts-jest", testEnvironment: "node", };
12
135
6
0.98
2026-04-18T00:26:37.526639
true
github_nodejs_node_28bb83e558c42610dc1c4a508d7068a8bded507a
JavaScript
nodejs
node
116,870
35,414
Node.js JavaScript runtime ✨🐢🚀✨
[ "javascript", "js", "linux", "macos", "mit", "node", "nodejs", "runtime", "windows" ]
NOASSERTION
lib/internal/util.js
util.js
28,980
'use strict'; const { ArrayFrom, ArrayPrototypePush, ArrayPrototypeSlice, ArrayPrototypeSort, Error, ErrorCaptureStackTrace, FunctionPrototypeCall, FunctionPrototypeSymbolHasInstance, NumberParseInt, ObjectDefineProperties, ObjectDefineProperty, ObjectFreeze, ObjectGetOwnPropertyDescriptor, ...
3,124
28,980
1,041
0.98
2026-04-23T06:16:05.022112
true
github_Future-House_paper-qa_5676a170a97075c25513f70ffe0dca46d53986ec
Python
Future-House
paper-qa
8,409
853
High accuracy RAG for answering questions from scientific documents with citations
[ "ai", "rag", "science", "search" ]
Apache-2.0
src/paperqa/llms.py
llms.py
19,962
import asyncio import itertools import logging import threading import uuid from abc import ABC, abstractmethod from collections.abc import ( Callable, Iterable, Sequence, Sized, ) from typing import TYPE_CHECKING, Any, cast import numpy as np from lmi import ( Embeddable, EmbeddingModel, E...
1,603
19,962
586
0.98
2026-04-22T17:15:29.126350
true
github_KaiyangZhou_pytorch-vsumm-reinforce_797b0bfa6769ee25418d9d09b0ee97d2c171764d
Python
KaiyangZhou
pytorch-vsumm-reinforce
504
153
Unsupervised video summarization with deep reinforcement learning (AAAI'18)
[ "computer-vision", "deep-learning", "machine-learning", "policy-network", "reinforcement-learning", "unsupervised-learning", "video-summarization" ]
MIT
vsum_tools.py
vsum_tools.py
4,245
import numpy as np from knapsack import knapsack_dp import math def generate_summary(ypred, cps, n_frames, nfps, positions, proportion=0.15, method='knapsack'): """Generate keyshot-based video summary i.e. a binary vector. Args: --------------------------------------------- - ypred: predicted importanc...
420
4,245
113
0.98
2026-04-22T20:53:45.305854
true
github_pathwaycom_pathway_4c25cf5cf66f3a2e243715cb4539ae570d8f216c
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/python_api.rs
python_api.rs
273,000
// Copyright © 2026 Pathway // `PyRef`s need to be passed by value #![allow(clippy::needless_pass_by_value)] use crate::async_runtime::create_async_tokio_runtime; use crate::connectors::postgres::{ create_psql_client, ReplicationSettings as PsqlInnerReplicationSettings, SslMode, }; use crate::engine::graph::{ ...
19,387
272,996
7,778
0.98
2026-04-23T04:40:50.789947
true
github_farion1231_cc-switch_aa6d4a08ec050cb430452003278e8947da9b4af5
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/useProxyStatus.ts
useProxyStatus.ts
6,660
/** * 代理服务状态管理 Hook */ import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query"; import { invoke } from "@tauri-apps/api/core"; import { toast } from "sonner"; import { useTranslation } from "react-i18next"; import type { ProxyStatus, ProxyServerInfo, ProxyTakeoverStatus, } from "@/types/p...
514
6,002
215
0.98
2026-04-17T13:18:52.991594
true
github_pranz24_pytorch-soft-actor-critic_038ceb449cfa0ad15eca621d2ca4ca980780a133
Python
pranz24
pytorch-soft-actor-critic
941
189
PyTorch implementation of soft actor critic
[ "deep-reinforcement-learning", "pytorch", "pytorch-implmention", "reinforcement-learning", "soft-actor-critic" ]
MIT
utils.py
utils.py
965
import math import torch def create_log_gaussian(mean, log_std, t): quadratic = -((0.5 * (t - mean) / (log_std.exp())).pow(2)) l = mean.shape log_z = log_std z = l[-1] * math.log(2 * math.pi) log_p = quadratic.sum(dim=-1) - log_z.sum(dim=-1) - 0.5 * z return log_p def logsumexp(inputs, dim=Non...
106
965
29
0.98
2026-04-22T20:24:09.874674
true
github_ts-rest_ts-rest_c1c3c4cdcd83288be5d08c2d5c3b69e47a67b461
JavaScript
ts-rest
ts-rest
3,297
174
RPC-like client, contract, and server implementation for a pure REST API
[ "api", "fastify", "nestjs", "nextjs", "openapi", "react", "react-query", "rest", "rpc", "solid", "typescript" ]
MIT
jest.preset.js
jest.preset.js
644
const nxPreset = require('@nx/jest/preset').default; module.exports = { ...nxPreset, /* TODO: Update to latest Jest snapshotFormat * By default Nx has kept the older style of Jest Snapshot formats * to prevent breaking of any existing tests with snapshots. * It's recommend you update to the latest format....
82
644
16
0.98
2026-04-17T18:04:43.530633
true
github_vikiboss_60s_6ba3479d84ece7e1ab8c5b1f73ffa117ed46610b
TypeScript
vikiboss
60s
5,155
891
⏰ 60s API 免费接口。每天 60 秒看世界、奥运奖牌榜、小红书/B站/微博/抖音/知乎热搜、金价、油价、天气、翻译、壁纸、Epic 游戏、二维码、猫眼票房|一系列 高质量、开源、可靠、全球 CDN 加速 的开放 API 集合,支持 Docker / Deno / Bun / Cloudflare Workers / Node.js 部署
[ "60s", "api", "bilibili", "bing", "bun", "cloudflare-workers", "deno", "docker", "entertainment", "fun", "news", "today-in-history", "typescript", "weibo", "youdao" ]
MIT
src/config.ts
config.ts
465
export const config = { host: process.env.HOST || '0.0.0.0', port: process.env.PORT ? +process.env.PORT : 4399, group: '[REDACTED_SSN]', author: 'Viki <[REDACTED_EMAIL]>', github: 'https://github.com/vikiboss/60s', debug: !!process.env.DEBUG, overseas_first: !!process.env.OVERSEAS_FIRST, encodingParamNa...
38
439
13
0.98
2026-04-17T18:01:13.605280
true
github_jmcdo29_testing-nestjs_6e116023c03037b5dfebb7f8ad04c483cd4124be
JavaScript
jmcdo29
testing-nestjs
3,018
380
A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!
[ "cqrs", "examples", "graphql", "hacktoberfest", "interceptor", "mongo", "nestjs", "pipes", "rest", "testing", "typeorm" ]
MIT
.eslintrc.js
.eslintrc.js
944
module.exports = { parser: '@typescript-eslint/parser', extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'plugin:prettier/recommended', ], plugins: ['@typescript-eslint'], parserOptions: { source: 'module', ecmaVersion: 2018, }, root: true, en...
73
944
39
0.98
2026-04-18T01:37:53.586315
true
github_EmbarkStudios_texture-synthesis_0a37bc2f1e429ba1be71f109c3b25afb8d522661
Rust
EmbarkStudios
texture-synthesis
1,810
84
🎨 Example-based texture synthesis written in Rust 🦀
[ "cli", "hacktoberfest", "inpaint", "rust", "texture-synthesis" ]
Apache-2.0
lib/src/session.rs
session.rs
18,966
use crate::*; /// Texture synthesis session. /// /// Calling `run()` will generate a new image and return it, consuming the /// session in the process. You can provide a `GeneratorProgress` implementation /// to periodically get updates with the currently generated image and the /// number of pixels that have been res...
1,886
18,966
559
0.98
2026-04-17T19:25:53.724961
true
github_rustdesk_rustdesk_61d6bfd712bd7be723231a519ee53357236b9c77
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/port_forward.rs
port_forward.rs
7,571
use std::sync::{Arc, RwLock}; use crate::client::*; use hbb_common::{ allow_err, bail, config::READ_TIMEOUT, futures::{SinkExt, StreamExt}, log, message_proto::*, protobuf::Message as _, rendezvous_proto::ConnType, tcp, timeout, tokio::{self, net::TcpStream, sync::mpsc}, tokio_u...
551
7,571
221
0.98
2026-04-17T13:14:56.077577
true
github_nasa-jpl_rosa_4a8b4b953ddaaf5db69b55e7beaf52aec69ba262
Python
nasa-jpl
rosa
1,480
153
ROSA 🤖 is an AI Agent designed to interact with ROS1- and ROS2-based robotics systems using natural language queries. ROSA helps robot developers inspect, diagnose, understand, and operate robots.
[ "agents", "ai", "developer-tools", "jpl", "llm", "nasa", "robotics", "ros", "ros2" ]
Apache-2.0
src/rosa/prompts.py
prompts.py
7,557
# Copyright (c) 2024. Jet Propulsion Laboratory. 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
1,030
7,557
137
0.98
2026-04-17T16:19:45.467741
true
github_MemoriLabs_Memori_dedb6a563f3245d50493ab3a90fe05c720a1c18c
Python
MemoriLabs
Memori
13,502
1,711
Memori is agent-native memory infrastructure. A LLM-agnostic layer that turns agent execution and conversation into structured, persistent state for production systems.
[ "agent", "agent-memory", "ai", "ai-memory", "aiagent", "awesome", "chatgpt", "llm", "long-short-term-memory", "memori-ai", "memory", "memory-management", "memory-mcp", "openclaw-memory", "python", "rag", "state-management", "stateful", "typescript" ]
NOASSERTION
conftest.py
conftest.py
1,453
import pytest from memori._config import Config from memori.storage import Manager as StorageManager @pytest.fixture def mock_mysql_session(mocker): session = mocker.MagicMock() session.get_bind.return_value.dialect.name = "mysql" type(session).__module__ = "sqlalchemy.orm.session" mock_result = moc...
94
1,453
52
0.98
2026-04-22T15:05:07.679156
true
github_pvolok_mprocs_52d43d0a14e40bc1c8f6230393572d4fb21f702e
Rust
pvolok
mprocs
2,518
101
Run multiple commands in parallel
[ "cli", "linux", "macos", "rust", "terminal", "tui", "windows" ]
MIT
src/lualib/os.rs
os.rs
4,255
use std::{process::Stdio, time::Duration}; use futures::FutureExt; use mlua::IntoLua; use serde::ser::Error; use tokio_util::time::FutureExt as _; pub struct ChildProcess { result_receiver: Option< futures::future::Shared< tokio::sync::oneshot::Receiver<std::process::Output>, >, >, // exit_sender:...
344
4,255
144
0.98
2026-04-17T19:22:23.235443
true
github_drprojects_superpoint_transformer_b685492385dd23287be255ac8178925e3ab49d4d
Python
drprojects
superpoint_transformer
987
132
Official PyTorch implementation of Superpoint Transformer [ICCV'23], SuperCluster [3DV'24 Oral], and EZ-SP [ICRA'26]
[ "3d", "3dv2024", "deep-learning", "efficient", "fast", "graph-clustering", "hierarchical", "iccv2023", "lightweight", "panoptic-segmentation", "partition", "partitioning", "point-cloud", "pytorch", "semantic-segmentation", "superpoint", "transformer" ]
MIT
src/transforms/instance.py
instance.py
10,031
import torch from src.data import NAG, InstanceData from src.transforms import Transform from src.utils import cluster_radius_nn_graph, knn_1_graph, to_trimmed from torch_geometric.nn.pool.consecutive import consecutive_cluster __all__ = ['NAGPropagatePointInstances', 'OnTheFlyInstanceGraph'] class NAGPropagatePoin...
1,087
10,029
235
0.98
2026-04-22T21:13:13.984548
true
github_RemoteDebug_remotedebug-ios-webkit-adapter_27ef0ace77f53f507455b93b448093c58eceabb4
TypeScript
RemoteDebug
remotedebug-ios-webkit-adapter
2,738
223
Debug Safari and WebViews on iOS from tools like VS Code and Chrome DevTools
[ "chrome-devtools", "debugger", "devtools", "ios", "protocol-adapter", "remotedebug", "safari" ]
UNKNOWN
src/adapters/adapterCollection.ts
adapterCollection.ts
3,125
// // Copyright (C) Microsoft. All rights reserved. // import * as WebSocket from 'ws'; import { ITarget, IAdapterOptions } from './adapterInterfaces'; import { Adapter } from './adapter'; import { Target } from '../protocols/target'; import { debug } from '../logger'; export class AdapterCollection extends Adapter {...
256
3,125
102
0.98
2026-04-18T00:26:20.893470
true
github_FairwindsOps_polaris_38e606d9ee321c912922d3e0d02b16f095e30b44
Go
FairwindsOps
polaris
3,359
224
Validation of best practices in your Kubernetes clusters
[ "audit", "best-practices", "cluster", "dashboard", "fairwinds-official", "kubernetes" ]
Apache-2.0
cmd/polaris/webhook.go
webhook.go
3,075
// Copyright 2020 FairwindsOps Inc // // 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...
321
3,075
89
0.98
2026-04-17T22:36:44.674108
true
github_kubernetes-sigs_external-dns_bf16550f6a0f4a8b4b352d0f3ebbcadd07b665ad
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
pkg/metrics/labels.go
labels.go
809
/* Copyright 2025 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, ...
113
809
32
0.98
2026-04-17T20:16:46.366343
true