NOSTR AUTHENTICATION
-Please login with your Nostr identity to access the admin interface.
- -RELAY CONNECTION
- -Relay Information (NIP-11)
-| Property | -Value | -
|---|
diff --git a/.gitignore b/.gitignore index d9fe61c..dba2132 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,6 @@ dev-config/ db/ copy_executable_local.sh nostr_login_lite/ -style_guide/ \ No newline at end of file +style_guide/ +nostr-tools + diff --git a/Makefile b/Makefile index 41480f2..27883c7 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ LIBS = -lsqlite3 -lwebsockets -lz -ldl -lpthread -lm -L/usr/local/lib -lsecp256k BUILD_DIR = build # Source files -MAIN_SRC = src/main.c src/config.c src/request_validator.c src/nip009.c src/nip011.c src/nip013.c src/nip040.c src/nip042.c src/websockets.c src/subscriptions.c src/api.c src/embedded_web_content.c +MAIN_SRC = src/main.c src/config.c src/dm_admin.c src/request_validator.c src/nip009.c src/nip011.c src/nip013.c src/nip040.c src/nip042.c src/websockets.c src/subscriptions.c src/api.c src/embedded_web_content.c NOSTR_CORE_LIB = nostr_core_lib/libnostr_core_x64.a # Architecture detection diff --git a/README.md b/README.md index b73af0a..9d00cbf 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# C Nostr Relay - Event-Based Configuration System +# C-Nostr Relay A high-performance Nostr relay implemented in C with SQLite backend, featuring a revolutionary **zero-configuration** approach using event-based configuration management. -## 📜 Supported NIPs +## Supported NIPs -
Please login with your Nostr identity to access the admin interface.
- -| Property | -Value | -
|---|
Real-time database statistics and metrics. Login required for admin access.
- - -| Metric | -Value | -Description | -
|---|---|---|
| Database Size | -- | -Current database file size | -
| Total Events | -- | -Total number of events stored | -
| Oldest Event | -- | -Timestamp of oldest event | -
| Newest Event | -- | -Timestamp of newest event | -
| Event Kind | -Count | -Percentage | -
|---|---|---|
| No data loaded | -||
| Period | -Events | -Description | -
|---|---|---|
| Last 24 Hours | -- | -Events in the last day | -
| Last 7 Days | -- | -Events in the last week | -
| Last 30 Days | -- | -Events in the last month | -
| Rank | -Pubkey | -Event Count | -Percentage | -
|---|---|---|---|
| No data loaded | -|||