Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions root/CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cff-version: 1.2.0
message: "If you use SIGNIA in academic work, please cite it as below."
title: "SIGNIA"
type: software
authors:
- name: "SIGNIA Contributors"
repository-code: "https://github.com/SIGNIAINDEX/SIGNIA"
license: "Apache-2.0"
version: "0.1.0"
date-released: "2026-01-19"
38 changes: 38 additions & 0 deletions root/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
SHELL := /usr/bin/env bash
.ONESHELL:
.SHELLFLAGS := -euo pipefail -c

.PHONY: bootstrap build lint test fmt clean docker-up docker-down solana-local anchor-build

bootstrap:
./scripts/bootstrap.sh

build:
./scripts/build_all.sh

lint:
./scripts/lint_all.sh

test:
./scripts/test_all.sh

fmt:
cargo fmt --all
pnpm -r format || true

clean:
rm -rf ./.data
cargo clean || true
pnpm -r clean || true

docker-up:
docker compose up -d --build

docker-down:
docker compose down -v

solana-local:
./scripts/local_solana.sh

anchor-build:
./scripts/anchor_build.sh
8 changes: 8 additions & 0 deletions root/NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
SIGNIA
Copyright 2026 SIGNIA contributors

This product includes software developed by the SIGNIA community.

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
1 change: 1 addition & 0 deletions root/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
2 changes: 2 additions & 0 deletions root/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[advisories]
ignore = []
21 changes: 21 additions & 0 deletions root/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": { "enabled": true },
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": { "recommended": true }
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "asNeeded",
"trailingCommas": "es5"
}
}
}
1 change: 1 addition & 0 deletions root/clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Keep clippy configuration minimal to avoid surprising local setups.
18 changes: 18 additions & 0 deletions root/deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[advisories]
db-urls = ["https://github.com/RustSec/advisory-db"]
unmaintained = "warn"
yanked = "warn"
unsound = "deny"

[licenses]
unlicensed = "deny"
copyleft = "deny"
allow = ["Apache-2.0", "MIT", "BSD-2-Clause", "BSD-3-Clause", "ISC", "Zlib"]

[bans]
multiple-versions = "warn"
wildcards = "deny"

[sources]
unknown-registry = "warn"
unknown-git = "warn"
40 changes: 40 additions & 0 deletions root/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
services:
api:
build:
context: .
dockerfile: infra/docker/api.Dockerfile
environment:
- SIGNIA_API_BIND=0.0.0.0:8080
- SIGNIA_STORE_SQLITE_PATH=/data/signia.sqlite
- SIGNIA_STORE_OBJECTS_DIR=/data/objects
- SIGNIA_API_AUTH_MODE=none
ports:
- "8080:8080"
volumes:
- signia_data:/data

interface:
build:
context: .
dockerfile: infra/docker/interface.Dockerfile
environment:
- PORT=8090
- SIGNIA_INTERFACE_API_BASE_URL=http://api:8080
ports:
- "8090:8090"
depends_on:
- api

console:
build:
context: .
dockerfile: infra/docker/console.Dockerfile
environment:
- NEXT_PUBLIC_SIGNIA_API_BASE_URL=http://localhost:8080
ports:
- "3000:3000"
depends_on:
- api

volumes:
signia_data:
19 changes: 19 additions & 0 deletions root/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "signia-monorepo",
"private": true,
"packageManager": "pnpm@9.15.1",
"engines": { "node": ">=20" },
"scripts": {
"lint": "turbo lint",
"typecheck": "turbo typecheck",
"build": "turbo build",
"test": "turbo test",
"format": "biome format . --write",
"ci": "pnpm lint && pnpm typecheck && pnpm build && pnpm test"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"turbo": "^2.2.3",
"typescript": "^5.6.3"
}
}
23 changes: 23 additions & 0 deletions root/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions root/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packages:
- "console/web"
- "console/interface"
- "sdk/ts"
4 changes: 4 additions & 0 deletions root/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "stable"
components = ["rustfmt", "clippy"]
profile = "minimal"
16 changes: 16 additions & 0 deletions root/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2022", "DOM"],
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"verbatimModuleSyntax": true,
"isolatedModules": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true
}
}
13 changes: 13 additions & 0 deletions root/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["pnpm-lock.yaml", "tsconfig.base.json", "biome.json"],
"pipeline": {
"lint": { "outputs": [] },
"typecheck": { "outputs": [] },
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "build/**"]
},
"test": { "dependsOn": ["^build"], "outputs": [] }
}
}
Loading