diff --git a/.github/build-package-pages.sh b/.github/build-package-pages.sh index 5774526..982273e 100755 --- a/.github/build-package-pages.sh +++ b/.github/build-package-pages.sh @@ -20,6 +20,8 @@ for row in $(jq -r '.[] | @base64' < "$1"); do type: page title: \"$(_jq '.name')\" maintainer: \"$(_jq '.maintainer')\" +full_name: \"$(_jq '.full_name')\" +og_image_url: \"$(_jq '.thumb_image_url')\" Description: \"$(_jq '.desc' | tr '\"' "'")\" layout: \"package-detail\" ---" diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4ce4c1d..40d2137 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -27,7 +27,7 @@ jobs: - name: add packages data run: | rm ./src/data/packages.json - curl https://api.tea.xyz/v1/packages -H "Accept: application/json" >> ./src/data/packages.json + curl https://gui.tea.xyz/packages.json -H "Accept: application/json" >> ./src/data/packages.json - name: Create Package Detail Pages from packages.json uses: getneil/jq-action@v1 diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index a73d345..dad7485 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -38,7 +38,7 @@ jobs: - name: add packages data run: | rm ./src/data/packages.json - curl https://api.tea.xyz/v1/packages -H "Accept: application/json" >> ./src/data/packages.json + curl https://gui.tea.xyz/packages.json -H "Accept: application/json" >> ./src/data/packages.json - name: Create Package Detail Pages from packages.json uses: getneil/jq-action@v1 diff --git a/README.md b/README.md index e706e9c..6c2b5fa 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,11 @@ Deploys to [tea.xyz]. - # Legal You may not publish this website in an attempt to masquerade as tea.inc. The tea logo and wordmark are registered trademarks of tea.inc. - # Contributing * The site is built with [Hugo] and [Bootstrap]. @@ -42,12 +40,12 @@ just package-pages ## Dependencies -| Project | Version | -|--------------|---------| -| gohugo.io | >=0.99 | -| nodejs.org | =18.13.0 | -| npmjs.com | * | -| just.systems | ~1 | +| Project | Version | +|--------------|------------| +| gohugo.io | >=0.99 | +| nodejs.org | =18.13.0 | +| npmjs.com | >=9<9.6.5 | +| just.systems | ~1 | # Build @@ -60,7 +58,6 @@ hugo --source src --destination ../public --minify just build ``` - [tea.xyz]: https://tea.xyz [Bootstrap]: https://getbootstrap.com/docs/5.2/getting-started/introduction/ [Hugo]: https://gohugo.io/documentation/ diff --git a/package.json b/package.json index 6a9cdfd..496ae02 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "basic react config for https://tea.xyz", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "build": "npx babel src --out-dir lib --no-babelrc" }, "repository": { "type": "git", diff --git a/src/config.toml b/src/config.toml index 7099a58..e51029a 100644 --- a/src/config.toml +++ b/src/config.toml @@ -12,6 +12,13 @@ title = 'Equitable Open-Source for Web3' url = 'https://docs.tea.xyz' weight = 3 + [[menu.main]] + identifier = 'product hunt' + name = 'Product Hunt' + title = 'product hunt' + url = 'https://www.producthunt.com/posts/tea?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-tea' + weight = 2 + [security] [security.exec] allow = ['^go$', '^postcss$', '^npx$', '^babel$'] diff --git a/src/content/gui.md b/src/content/gui.md new file mode 100644 index 0000000..92fddef --- /dev/null +++ b/src/content/gui.md @@ -0,0 +1,7 @@ +--- +title: "tea/gui (beta)" +Description: "The Open-Store for Open-Source" +layout: "gui" +menu: main +weight: 1 +--- diff --git a/src/content/packages.md b/src/content/packages.md index f7efa18..90ebeb8 100644 --- a/src/content/packages.md +++ b/src/content/packages.md @@ -1,7 +1,7 @@ --- title: "Pantry" -Description: "Browse our packages" +Description: "install open-source software with tea" layout: "packages" menu: main -weight: 1 +weight: 2 --- diff --git a/src/layouts/index.html b/src/layouts/index.html index 7b48a86..3db89e8 100644 --- a/src/layouts/index.html +++ b/src/layouts/index.html @@ -111,6 +111,10 @@ .install-label{ text-align: center; } + .teacli-col{ + border-bottom: 1px solid #949494; + border-right: none; + } } @media only screen and (min-width: 768px) { @@ -131,10 +135,66 @@ margin-left:auto; margin-right:auto; } + .teacli-col{ + border-bottom: none; + border-right: 1px solid #949494; + } } +
+
+
+
+ +
+
+
+
+

We've just released the beta for our visual package manager, tea/gui

+ + + +
+
+
+
+ + + + +
@@ -147,9 +207,9 @@
{{- partial "mobile-ctas.html" -}}
- +
@@ -157,10 +217,20 @@
+
+
+

two ways to install tea

+
+
+ {{ partial "tea-two-ways.html" . }} + +
+ +
+
- {{- partial "click-to-copy.html" . -}} -

tea is a stand‐alone binary, see our docs for more installation methods.

+
@@ -689,17 +759,21 @@
@@ -744,14 +818,14 @@

Ready to start building?
All you need is tea.

tea’s +pkg syntax embodies our core belief that good tools should just get out of the way so that you can keep making the internet a better place. Access the entire open source ecosystem with one command, compose and combine everything, and enjoy an all-around more delightful dev experience.

-
{{- partial "desktop-ctas.html" -}}
+ {{ partial "tea-two-ways.html" . }}
-
+
grid-element @@ -814,7 +888,7 @@
-
+

OSS wouldn't work without talented contributors like you.

@@ -831,8 +905,18 @@
+
+
+
+
+ grid-element +
+
+
+
+
-
+

A mission to fix open-source development

@@ -846,6 +930,65 @@
+
+
+
+
+ grid-element +
+
+
+
+ +
+
+
+
+ +
+
+

And we can't fix OSS with just any tea… we need some CHAI

+

The open source package registry can be thought of as a directed graph, with each package version representing node and dependency relationships as edges. An on-chain graph could align incentives between open source maintainers and users across different projects. It can evaluate the impact of these projects based on their dependencies, and even proportionately reward them. It is difficult to design & implement such a network -- one that knows about every open source package & their dependencies -- but we believe the aligned incentives will yield much better outcomes for our open source maintainers. +

Chai_v1 is the system that collects all the nodes & edges across all package managers, and verifies the maintainers for each one. It will be pre-populated with packages from tea (300 & counting), brew (6k), crates (104k), PyPI (300k), and npm (1.6M) as nodes, and all their dependencies as edges to ascertain the impact of each one to open source. It will eventually enable users to formalize their project maintainer status with an additional commit message to the main branch of their repo.

+
+
+
+
+ + + +
+
+
+
+ grid-element +
+
+
+
+
diff --git a/src/layouts/page/careers.html b/src/layouts/page/careers.html index d78c53c..8a9d292 100644 --- a/src/layouts/page/careers.html +++ b/src/layouts/page/careers.html @@ -27,75 +27,94 @@
- + cardBody.appendChild(showMoreLink); + // Add url link to card body + const urlLink = document.createElement("a"); + urlLink.classList.add("teal"); + urlLink.href = item.url; + urlLink.textContent = "View on BreezyHR"; + cardBody.appendChild(urlLink); + + // Add card body to card + card.appendChild(cardBody); + + // Add card to container + const container = document.getElementById("card-container"); + const row = document.createElement("div"); + row.classList.add("row"); + const col = document.createElement("div"); + col.classList.add("col"); + col.appendChild(card); + row.appendChild(col); + container.appendChild(row); + }); + } + }) + .catch(error => console.log(error)); + + + + +
+
+
+
+

One-Click Installs

+

Say goodbye to the days of scavenging through cluttered docs. tea/gui (beta) enables you to query our expansive pantry and install your desired version of any package with one click. Openai-python, jupyter, youtube-dl, and hundreds more… all available to you within seconds.

+
+
+

Easy Updates

+

Our aim is to enhance your workflow, not disrupt it. tea/gui (beta) will alert you via desktop notifcations when new updates are available for your installed packages. Your can bulk update everything, or update one-by-one in the event you'd like to exercise some more discretion.

+
+
+

Version Management

+

tea/gui (beta) makes managing your package versions a simply delightful experience. You can prune packages to remove all but the latest version, choose your desired version when installing, and install or add specific versions for previously installed packages.

+
+
+
+
+ + + +
+
+
+
+

Get started with visual package management today!

+

Download the tea/gui (beta) for Mac

+ +
+
+
+
+ +{{end}} diff --git a/src/layouts/page/package-detail.html b/src/layouts/page/package-detail.html index 5ae497d..eb0356f 100644 --- a/src/layouts/page/package-detail.html +++ b/src/layouts/page/package-detail.html @@ -15,22 +15,27 @@ {{ range where $.Site.Data.packages "name" .Title }}

{{- .desc -}}

-
- {{ if not (eq .package_yml_url "#")}} +
+ + + - {{end}}
-
- {{ if not (eq .homepage "") }} +
+ +

don't have tea/gui yet? download here

+ + {{ end }}
{{ range where $.Site.Data.packages "name" .Title }} @@ -60,90 +65,289 @@
+ - {{ end }} diff --git a/src/layouts/page/packages.html b/src/layouts/page/packages.html index 48136d7..dca85f4 100644 --- a/src/layouts/page/packages.html +++ b/src/layouts/page/packages.html @@ -8,12 +8,6 @@ {{- partial "package-grid.html" . -}} - - - - {{- partial "swiper.html" . -}} - -
@@ -48,6 +42,128 @@ background-position: scroll; border-radius: 10px; } + .detail-btn{ + width: 100px !important; + height: 30px; + padding:0px; + } + + .package-title{ + font-size: 1.5rem; + } + + div.card.card-thumbnail{ + background-color: #1a1a1a; + transition: all .3s; + } + + .card-img-top { + position: relative; + } + + .detail-btn{ + position: relative; + float:right!important; + right: 0; + } + + @media only screen and (min-width: 576px) { + + .package-image{ + box-shadow: 0px 0px 12px #0c0c0c !important; + } + + figure{ + transition: 0.2s ease-in-out; + } + + figure:hover{ + transform: scale(1.02); + } + + } + + .card-thumb-label i{ + + } + + .card-thumb-label { + position: absolute; + background: rgba(255,255,255,0.9); + left: 0; + bottom: 0vw; + padding: 1.116vw; + text-align: left; + width: 90%; + height: 50%; + } + + .card-thumb-label h3 { + color: black; + margin: 0px 0px 0.5vw 0vw; + padding: 0px; + } + + .card-thumb-label h4 { + color: black; + margin: 0px; + padding: 0px; + } + + .card-thumbnail{ + background: none; + border-radius: 0px !important; + border: 1px solid #949494; + } + + .thumbnail-body{ + display: flex; + border-radius: 0px !important; + padding: 0vw; + justify-content: space-between; + } + + .card-img-top{ + border-radius: 0px; + } + + .card-text{ + float:left; + position: relative; + font-size: .8rem; + top:2px; + } + + .card-text-container{ + float:left; + position: relative; + width:48%; + display: flex; + } + + .thumbnail-body-mobile{ + display: none; + } + + @media only screen and (max-width: 576px) { + + .card-thumb-label i{ + font-size: 28px; + } + + .card-thumb-label h3 { + color: black; + font-size: 28px; + line-height: 36px; + } + + .card-thumb-label h4 { + color: black; + font-size: 20px; + line-height: 26px; + } + + } diff --git a/src/layouts/page/press.html b/src/layouts/page/press.html index 0f6ce95..d59fbe1 100644 --- a/src/layouts/page/press.html +++ b/src/layouts/page/press.html @@ -6,11 +6,8 @@

Press

-

Tea Inc. is a Puerto Rico-based corporation that is building the open-source toolkit that makes development possible and builds the internet. Developers can work on any platform, CI/CD on any platform, deploy on any platform; Tea abstracts this detail away so developers can get on with the work that matters. Those interested in joining the team fixing how open-source is funded should reach out through Telegram or Discord at https://linktr.ee/teaxyz.

+

tea is a revolutionary, cross‐platform package manager with a mission to leverage the power of blockchain to remunerate open‐source developers for their valuable contributions to the internet. We've got a lot of exciting things coming over the horizon, so be sure to join our community and stay tuned for updates. For media and publications, you can find a collection of our brand assets and notable press pieces below. For inquiries, please contact us via press@tea.xyz.

- - -
@@ -19,6 +16,14 @@
+ +
@@ -28,7 +33,7 @@

Assets

- +

-
Type
@@ -74,7 +78,6 @@
-
@@ -160,18 +163,14 @@
-

Founder Bios

+

Founder Bio

-
+
Max Howell

Co-Founder and CEO Max Howell created the open-source software package management system Homebrew, also known as “brew,” which grew into the most contributed‐to open source software program in the world. Homebrew has been used by tens of millions of developers worldwide and has served as the backbone for the largest technology corporations to build their products without directly contributing to its development.

-
-
Timothy Lewis
-

Co-Founder Timothy Lewis began his career in 2002 at e-velocity technical consulting as a Data Center Engineer for two years, after that he held any roles as a Consulting Engineer, worked at Oracle, Kaiser Permanente until he switched over to Blockchain Development in 2017 and has been involved in that area ever since. He now is the founder of a non-profit called DEVxDAO which supports DAO which provides grants to build cohesion and longevity in decentralized systems at large.

-
diff --git a/src/layouts/partials/click-to-copy.html b/src/layouts/partials/click-to-copy.html index 707e822..169dc89 100644 --- a/src/layouts/partials/click-to-copy.html +++ b/src/layouts/partials/click-to-copy.html @@ -1,13 +1,15 @@ -

Install tea by running our one-liner:

-
- sh <(curl tea.xyz) - +
+ sh <(curl tea.xyz) +
-