digibouquetai-site-kit 0.1.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 +47 -0
- data/lib/digibouquetai/site_kit.rb +40 -0
- metadata +47 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a03c816db5d2c9e92e85cc13a05b83796cfbcbfd672c3aaa42ad72c61b465709
|
|
4
|
+
data.tar.gz: 5a17d851bf4d5201504e7ca86d2e55ecae0fd9210fefec90874f3879f03a2e7b
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 5fab319d98c559a9e8b76fdc0df717c9dbefd0af50be3d367d9a86e713808c09926b1df06bd9b685a79ecf5d4b9281be7533029bef842736f9e2ecc5fe53cdff
|
|
7
|
+
data.tar.gz: a02ce023c1cdb6e96309d733386faa9a1f7be65ae6cfd4cd355d58f7202a5ba2097c96127c2beeffe21b0cb13b82d4a0a3ce35b6f3110c1fb6c490362db36b3f
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DigiBouquet AI contributors
|
|
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,47 @@
|
|
|
1
|
+
# DigiBouquet AI Site Kit
|
|
2
|
+
|
|
3
|
+
A small, dependency-free JavaScript helper for projects that link to
|
|
4
|
+
[DigiBouquet AI](https://digibouquetai.com). It exports factual site metadata
|
|
5
|
+
and canonical URLs for the bouquet builder, AI gift-card creator, examples,
|
|
6
|
+
guides, and pricing pages.
|
|
7
|
+
|
|
8
|
+
This is a site integration helper, not an official API SDK. It makes no network
|
|
9
|
+
requests.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install digibouquetai-site-kit
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
import {
|
|
21
|
+
aiBouquetUrl,
|
|
22
|
+
pageUrl,
|
|
23
|
+
siteMetadata,
|
|
24
|
+
} from 'digibouquetai-site-kit';
|
|
25
|
+
|
|
26
|
+
console.log(siteMetadata.homepage);
|
|
27
|
+
console.log(pageUrl('aiGiftCard'));
|
|
28
|
+
console.log(aiBouquetUrl());
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Useful DigiBouquet AI pages:
|
|
32
|
+
|
|
33
|
+
- [Create a digital bouquet](https://digibouquetai.com/create-bouquet)
|
|
34
|
+
- [Create an AI gift card](https://digibouquetai.com/ai-card)
|
|
35
|
+
- [Bouquet examples](https://digibouquetai.com/bouquet-examples)
|
|
36
|
+
- [Guides](https://digibouquetai.com/guides)
|
|
37
|
+
- [Pricing](https://digibouquetai.com/pricing)
|
|
38
|
+
|
|
39
|
+
## Source and license
|
|
40
|
+
|
|
41
|
+
Source: [bbwdadfg/digibouquetai-site-kit](https://github.com/bbwdadfg/digibouquetai-site-kit)
|
|
42
|
+
|
|
43
|
+
The repository also contains the equivalent Go module and JSR TypeScript
|
|
44
|
+
source, so consumers can use the same canonical link vocabulary across those
|
|
45
|
+
ecosystems without adding network calls.
|
|
46
|
+
|
|
47
|
+
MIT licensed.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module DigiBouquetAI
|
|
2
|
+
module SiteKit
|
|
3
|
+
BASE_URL = "https://digibouquetai.com"
|
|
4
|
+
|
|
5
|
+
module_function
|
|
6
|
+
|
|
7
|
+
def home_url
|
|
8
|
+
BASE_URL
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
def page_url(slug = "")
|
|
12
|
+
clean = slug.to_s.gsub(%r{\A/+|/+\z}, "")
|
|
13
|
+
clean.empty? ? BASE_URL : "#{BASE_URL}/#{clean}"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def create_bouquet_url
|
|
17
|
+
page_url("create-bouquet")
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def ai_gift_card_url
|
|
21
|
+
page_url("ai-card")
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def examples_url
|
|
25
|
+
page_url("bouquet-examples")
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def guides_url
|
|
29
|
+
page_url("guides")
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def pricing_url
|
|
33
|
+
page_url("pricing")
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def about_url
|
|
37
|
+
page_url("about")
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: digibouquetai-site-kit
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- DigiBouquet AI
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Canonical URL helpers for DigiBouquet AI digital bouquets and AI gift
|
|
13
|
+
cards.
|
|
14
|
+
email:
|
|
15
|
+
- support@digibouquetai.com
|
|
16
|
+
executables: []
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- LICENSE
|
|
21
|
+
- README.md
|
|
22
|
+
- lib/digibouquetai/site_kit.rb
|
|
23
|
+
homepage: https://digibouquetai.com
|
|
24
|
+
licenses:
|
|
25
|
+
- MIT
|
|
26
|
+
metadata:
|
|
27
|
+
homepage_uri: https://digibouquetai.com
|
|
28
|
+
source_code_uri: https://github.com/bbwdadfg/digibouquetai-site-kit
|
|
29
|
+
changelog_uri: https://github.com/bbwdadfg/digibouquetai-site-kit/blob/main/CHANGELOG.md
|
|
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.11
|
|
45
|
+
specification_version: 4
|
|
46
|
+
summary: Small URL helpers for DigiBouquet AI.
|
|
47
|
+
test_files: []
|