kaunta 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +24 -0
- data/exe/kaunta +21 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 459385ee4e7f9bf648971ba75b0513a0a052b5debe81f88a2490421570e729fa
|
|
4
|
+
data.tar.gz: 274517927dc08abb0b6684d3d089c41f95a8ea4bae713a38974c58b799007907
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 0a39d321fa28e2bf876653583e239b598e75beef8f13e564083b2caae087e1311550a049ac3b0afb78afa46970a47debc8685d51c1e026555bd27d30aed53db4
|
|
7
|
+
data.tar.gz: e2ed6ddf8002614b25d3ec4f4137072894f586dbdea22afbf299b36f5144f8b1d234a4815f4297872f34acd562524377858940fd090e26bd4d1458f41d4300ee
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Abdelkader Boudih
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# kaunta
|
|
2
|
+
|
|
3
|
+
Self-hosted, privacy-first web analytics. This gem ships the Kaunta
|
|
4
|
+
server and CLI as a native binary, so installing it needs no Rust
|
|
5
|
+
toolchain:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
gem install kaunta
|
|
9
|
+
export DATABASE_URL='postgresql://kaunta:kaunta@localhost:5432/kaunta?sslmode=disable'
|
|
10
|
+
kaunta serve
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Then open `http://localhost:3000/setup`.
|
|
14
|
+
|
|
15
|
+
The gem is a thin launcher: `exe/kaunta` executes the bundled binary in
|
|
16
|
+
`libexec/`. Platform gems are published for Linux and macOS on x86_64 and
|
|
17
|
+
arm64; the plain-Ruby gem is a stub that tells you which platform release
|
|
18
|
+
to install.
|
|
19
|
+
|
|
20
|
+
Everything else — configuration, the tracker, MCP, self-hosting — is
|
|
21
|
+
documented in the [main repository](https://github.com/seuros/kaunta).
|
|
22
|
+
|
|
23
|
+
To send events from a Ruby application, use the `kaunta-rails` gem
|
|
24
|
+
instead; it talks to a Kaunta instance over HTTP and bundles no binary.
|
data/exe/kaunta
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
binary = File.expand_path("../libexec/kaunta", __dir__)
|
|
5
|
+
|
|
6
|
+
unless File.file?(binary)
|
|
7
|
+
# Platform gems are published without the OS version (arm64-darwin, not
|
|
8
|
+
# arm64-darwin-23), so name the one that actually exists.
|
|
9
|
+
local = Gem::Platform.local
|
|
10
|
+
platform = [local.cpu, local.os].compact.join("-")
|
|
11
|
+
|
|
12
|
+
warn <<~MESSAGE
|
|
13
|
+
This is the kaunta stub gem: no native binary is bundled for #{platform}.
|
|
14
|
+
|
|
15
|
+
Install a platform release: gem install kaunta --platform #{platform}
|
|
16
|
+
Or build from source: cargo install --git https://github.com/seuros/kaunta kaunta
|
|
17
|
+
MESSAGE
|
|
18
|
+
exit 1
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
exec binary, *ARGV
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: kaunta
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Abdelkader Boudih
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Stub gem for Kaunta. Platform-specific releases bundle the native binary.
|
|
13
|
+
email:
|
|
14
|
+
- oss@seuros.com
|
|
15
|
+
executables:
|
|
16
|
+
- kaunta
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- LICENSE
|
|
21
|
+
- README.md
|
|
22
|
+
- exe/kaunta
|
|
23
|
+
homepage: https://github.com/seuros/kaunta
|
|
24
|
+
licenses:
|
|
25
|
+
- MIT
|
|
26
|
+
metadata:
|
|
27
|
+
source_code_uri: https://github.com/seuros/kaunta
|
|
28
|
+
changelog_uri: https://github.com/seuros/kaunta/blob/master/CHANGELOG.md
|
|
29
|
+
rubygems_mfa_required: 'true'
|
|
30
|
+
rdoc_options: []
|
|
31
|
+
require_paths:
|
|
32
|
+
- lib
|
|
33
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
|
+
requirements:
|
|
35
|
+
- - ">="
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '3.0'
|
|
38
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '0'
|
|
43
|
+
requirements: []
|
|
44
|
+
rubygems_version: 4.0.6
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: Self-hosted, privacy-first web analytics
|
|
47
|
+
test_files: []
|