diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4fa24cb..82e27dc 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,6 +1,6 @@ -# Contributing to go-onvif +# Contributing to onvif-go -Thank you for your interest in contributing to go-onvif! 🎉 +Thank you for your interest in contributing to onvif-go! 🎉 ## Code of Conduct @@ -97,7 +97,7 @@ Help us maintain compatibility information: ```bash git clone https://github.com/0x524a/onvif-go.git -cd go-onvif +cd onvif-go go build ./... ``` @@ -219,7 +219,7 @@ test: add integration tests for Hikvision cameras ## Project Structure ``` -go-onvif/ +onvif-go/ ├── client.go # Main ONVIF client ├── types.go # ONVIF type definitions ├── device.go # Device service @@ -272,4 +272,4 @@ By contributing, you agree that your contributions will be licensed under the MI --- -Thank you for contributing to go-onvif! Your efforts help make ONVIF integration better for everyone. 🚀 +Thank you for contributing to onvif-go! Your efforts help make ONVIF integration better for everyone. 🚀 diff --git a/BUILDING.md b/BUILDING.md index fe81ddd..1ab9655 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -1,4 +1,4 @@ -# Building and Releasing go-onvif +# Building and Releasing onvif-go This document describes how to build binaries for multiple platforms and create releases. diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f3c04c..1306ef2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Comprehensive test coverage for localhost URL handling (10 test cases) - New example: `examples/simplified-endpoint/` demonstrating all endpoint formats - Documentation: `docs/PROJECT_STRUCTURE.md` explaining project organization -- Initial release of go-onvif library +- Initial release of onvif-go library ### Changed - **Project Structure**: Implemented ideal Go project layout diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 45e9b51..2f946b5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ -# Contributing to go-onvif +# Contributing to onvif-go -First off, thank you for considering contributing to go-onvif! It's people like you that make go-onvif such a great tool. +First off, thank you for considering contributing to onvif-go! It's people like you that make onvif-go such a great tool. ## Code of Conduct @@ -41,8 +41,8 @@ Enhancement suggestions are tracked as GitHub issues. When creating an enhanceme ```bash # Clone your fork -git clone https://github.com/YOUR_USERNAME/go-onvif.git -cd go-onvif +git clone https://github.com/YOUR_USERNAME/onvif-go.git +cd onvif-go # Add upstream remote git remote add upstream https://github.com/0x524a/onvif-go.git diff --git a/QUICKSTART.md b/QUICKSTART.md index 724ea69..dd27766 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -1,6 +1,6 @@ # Quick Start Guide -Get up and running with go-onvif in 5 minutes! +Get up and running with onvif-go in 5 minutes! ## Installation diff --git a/cmd/onvif-diagnostics/README.md b/cmd/onvif-diagnostics/README.md index 98d7dc3..7e9e701 100644 --- a/cmd/onvif-diagnostics/README.md +++ b/cmd/onvif-diagnostics/README.md @@ -33,7 +33,7 @@ A comprehensive diagnostic tool for collecting detailed information from ONVIF c ### Option 1: Build from source ```bash -cd /path/to/go-onvif +cd /path/to/onvif-go go build -o onvif-diagnostics ./cmd/onvif-diagnostics/ ``` diff --git a/cmd/onvif-server/main.go b/cmd/onvif-server/main.go index 49f0ba2..442da7a 100644 --- a/cmd/onvif-server/main.go +++ b/cmd/onvif-server/main.go @@ -23,7 +23,7 @@ func main() { port := flag.Int("port", 8080, "Server port") username := flag.String("username", "admin", "Authentication username") password := flag.String("password", "admin", "Authentication password") - manufacturer := flag.String("manufacturer", "go-onvif", "Device manufacturer") + manufacturer := flag.String("manufacturer", "onvif-go", "Device manufacturer") model := flag.String("model", "Virtual Multi-Lens Camera", "Device model") firmware := flag.String("firmware", "1.0.0", "Firmware version") serial := flag.String("serial", "SN-12345678", "Serial number") diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index c82fe89..85a8ff1 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -1,8 +1,8 @@ -# go-onvif Architecture & Design +# onvif-go Architecture & Design ## Overview -go-onvif is a modern, performant Go library for communicating with ONVIF-compliant IP cameras and devices. It provides a clean, type-safe API with comprehensive support for device management, media streaming, PTZ control, and imaging settings. +onvif-go is a modern, performant Go library for communicating with ONVIF-compliant IP cameras and devices. It provides a clean, type-safe API with comprehensive support for device management, media streaming, PTZ control, and imaging settings. ## Architecture @@ -351,7 +351,7 @@ Minimal external dependencies: ## Conclusion -go-onvif provides a modern, performant, and easy-to-use Go library for ONVIF camera integration. Its architecture prioritizes: +onvif-go provides a modern, performant, and easy-to-use Go library for ONVIF camera integration. Its architecture prioritizes: - Developer experience (simple, intuitive API) - Type safety (compile-time error detection) - Performance (connection pooling, efficient operations) diff --git a/docs/IMPLEMENTATION_SUMMARY.md b/docs/IMPLEMENTATION_SUMMARY.md index a7a687b..7ef3f66 100644 --- a/docs/IMPLEMENTATION_SUMMARY.md +++ b/docs/IMPLEMENTATION_SUMMARY.md @@ -118,7 +118,7 @@ make build make docker # Run container -docker run -it go-onvif:latest +docker run -it onvif-go:latest ``` ## 🎯 Key Improvements from Original diff --git a/docs/PROJECT_SUMMARY.md b/docs/PROJECT_SUMMARY.md index 06a36c5..9f26324 100644 --- a/docs/PROJECT_SUMMARY.md +++ b/docs/PROJECT_SUMMARY.md @@ -1,8 +1,8 @@ -# Project Summary: go-onvif +# Project Summary: onvif-go ## Overview -**go-onvif** is a complete refactoring and modernization of the ONVIF library, providing a comprehensive, performant, and developer-friendly Go library for communicating with ONVIF-compliant IP cameras and video devices. +**onvif-go** is a complete refactoring and modernization of the ONVIF library, providing a comprehensive, performant, and developer-friendly Go library for communicating with ONVIF-compliant IP cameras and video devices. ## What's Been Created @@ -220,7 +220,7 @@ client.ContinuousMove(ctx, profiles[0].Token, velocity, nil) ## Repository Structure ``` -go-onvif/ +onvif-go/ ├── README.md # Main documentation ├── QUICKSTART.md # Getting started guide ├── ARCHITECTURE.md # Technical design doc diff --git a/examples/complete-demo/main.go b/examples/complete-demo/main.go index 6741c5f..5fbbac0 100644 --- a/examples/complete-demo/main.go +++ b/examples/complete-demo/main.go @@ -10,7 +10,7 @@ import ( "github.com/0x524a/onvif-go/discovery" ) -// This is a comprehensive demonstration of all go-onvif features +// This is a comprehensive demonstration of all onvif-go features func main() { // Step 1: Discover cameras on the network fmt.Println("=== Step 1: Discovering ONVIF Cameras ===") diff --git a/examples/manual-soap-test/main.go b/examples/manual-soap-test/main.go index c157f09..66c0713 100644 --- a/examples/manual-soap-test/main.go +++ b/examples/manual-soap-test/main.go @@ -73,7 +73,7 @@ func main() { if resp.StatusCode == 401 { fmt.Println("💡 Authentication required - this is expected!") - fmt.Println("💡 Now testing with go-onvif client library...") + fmt.Println("💡 Now testing with onvif-go client library...") fmt.Println() testWithClient(username, password) } else { @@ -91,7 +91,7 @@ func testWithClient(username, password string) { onvif := struct{}{} _ = onvif - fmt.Println("Note: Would test with go-onvif client here, but keeping this simple.") + fmt.Println("Note: Would test with onvif-go client here, but keeping this simple.") fmt.Println("The camera appears to be responding to ONVIF requests.") fmt.Println() fmt.Println("💡 Next step: Check if the credentials are correct") diff --git a/server/README.md b/server/README.md index 2130553..d1c9ade 100644 --- a/server/README.md +++ b/server/README.md @@ -42,7 +42,7 @@ A complete ONVIF-compliant server implementation that simulates multi-lens IP ca ```bash # Clone the repository (if not already done) git clone https://github.com/0x524a/onvif-go -cd go-onvif +cd onvif-go # Build the server CLI go build -o onvif-server ./cmd/onvif-server @@ -95,7 +95,7 @@ The server will start on `http://0.0.0.0:8080` with: -password string Authentication password (default "admin") -manufacturer string - Device manufacturer (default "go-onvif") + Device manufacturer (default "onvif-go") -model string Device model (default "Virtual Multi-Lens Camera") -firmware string @@ -430,7 +430,7 @@ This project is licensed under the MIT License - see the [LICENSE](../../LICENSE ## Acknowledgments -- Built on top of the [go-onvif](https://github.com/0x524a/onvif-go) client library +- Built on top of the [onvif-go](https://github.com/0x524a/onvif-go) client library - ONVIF specifications from [ONVIF.org](https://www.onvif.org) - Inspired by the need for flexible camera simulation in development workflows diff --git a/server/types.go b/server/types.go index 908968b..badb83a 100644 --- a/server/types.go +++ b/server/types.go @@ -235,7 +235,7 @@ func DefaultConfig() *Config { BasePath: "/onvif", Timeout: 30 * time.Second, DeviceInfo: DeviceInfo{ - Manufacturer: "go-onvif", + Manufacturer: "onvif-go", Model: "Virtual Multi-Lens Camera", FirmwareVersion: "1.0.0", SerialNumber: "SN-12345678",