Commit graph

10 commits

Author SHA1 Message Date
716c5f344c Add Open Graph meta tags and source repository link
- Add Open Graph and Twitter Card meta tags for better URL sharing
- Simple frontend: "No" with minimalist description
- Playground frontend: "No as a Service" with branded description
- Add discreet "Source Code" footer link on playground page

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 14:08:13 +02:00
e77704ba03 Fix systemd service deprecation warning
Replace deprecated MemoryLimit= with MemoryMax= to eliminate
systemd warning about future removal of MemoryLimit= directive.
2025-09-29 13:54:11 +02:00
9a56793399 Fix changelog dates to use correct year (2025) v1.0.1
All changelog entries should be from today (Mon, 29 Sep 2025) at 13:00
2025-09-29 13:50:42 +02:00
2879e5d975 Bump version to 1.0.1
- Update Cargo.toml version to 1.0.1
- Update debian/changelog with v1.0.1-1 release notes
- Include MIT license addition and packaging fixes
2025-09-29 13:49:06 +02:00
780df1e348 Add MIT license and fix Debian packaging
- Add MIT License for maximum permissivity
- Update Cargo.toml with complete package metadata including license
- Update README.md with license information and explanation
- Fix Debian package systemd service installation conflict
  (remove manual installation, let debhelper handle it automatically)

The MIT License allows anyone to use, modify, and distribute this
software with minimal restrictions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 13:46:19 +02:00
57628d940d Add Debian packaging support with configurable binding v1.0.0
- Add complete debian/ packaging structure for .deb creation
- Support BIND_ADDR environment variable (defaults to 0.0.0.0)
- Create /etc/default/naas config file (defaults to localhost binding)
- Systemd service reads from /etc/default/naas
- Package installs but does not auto-enable service
- Upgrades restart service only if already enabled
- Proper user creation and cleanup on install/remove

Key files:
- debian/control: Package metadata with rustup build dependency support
- debian/naas.default: Configuration template for /etc/default/naas
- debian/naas.service: Updated systemd service with EnvironmentFile
- debian/postinst: Creates naas user, restarts on upgrade if enabled
- debian/prerm: Stops service on removal
- debian/postrm: Cleans up user on purge
- src/main.rs: Added BIND_ADDR support for configurable binding

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 13:35:38 +02:00
ebd0fcc448 Redesign main page with minimalist "No" and move interactive UI to /playground
- Create elegant minimalist main page with centered "No"
- Add automatic dark mode support for main page
- Move original interactive API testing interface to /playground
- Add footer links to main page for navigation
- Update routing to serve both pages appropriately
- Update documentation to reflect new page structure

The main page now provides a clean, focused experience while the
playground remains available for API testing and exploration.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 16:47:29 +02:00
858e14a520 Initial commit: Add NaaS (No as a Service) implementation
Add complete NaaS HTTP service implementation with:
- Pure Rust implementation using only standard library
- Multiple response formats (text, JSON, XML, YAML, boolean)
- Embedded web frontend with mobile-responsive design
- Container support with Podman/Docker
- Systemd service configuration
- Health check endpoint
- CORS support

The service always responds with "no" in various formats,
optimized for minimal binary size (~1MB) and fast response times.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 16:42:47 +02:00
dbe9e90942 Update README to use Caddy instead of nginx
Replace nginx reverse proxy configuration with Caddy configuration.
Caddy provides automatic SSL certificates and simpler configuration.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 16:36:44 +02:00
d87afd1548 Add CLAUDE.md for Claude Code guidance
Document project architecture, commands, and deployment configuration
to help future Claude Code instances work effectively with this codebase.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-27 16:35:55 +02:00