Skip to content

Commit

Permalink
Remove all code related to Puter's UI
Browse files Browse the repository at this point in the history
The app is no longer a Puter app and is only a PWA, as the app were not really working on Puter, and there's better apps available on it.
  • Loading branch information
Zac0511 committed Feb 17, 2025
1 parent 3ab2123 commit 7faf675
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A PWA that allows you to easily talk to Puter's AI

![GitHub Release](https://img.shields.io/github/v/release/Zac0511/Puter-AI-PWA?label=latest%20version) ![GitHub repo size](https://img.shields.io/github/repo-size/Zac0511/Puter-AI-PWA) ![GitHub License](https://img.shields.io/github/license/Zac0511/Puter-AI-PWA)

[![cozy_64h](https://github.com/user-attachments/assets/b6f66a23-d565-4945-ac14-3742b5754b02)](https://puter.com/app/ai-chat) <a href="https://zac0511.github.io/Puter-AI-PWA/index.html?utm_source=github-repo">
<a href="https://zac0511.github.io/Puter-AI-PWA/index.html?utm_source=github-repo">
<img src="https://chromeos.dev/badges/en/secondary.svg" alt="Add to Chromebook"/>
</a>

Expand Down
9 changes: 0 additions & 9 deletions account-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ window.onload = function() {
var userInfoDiv = document.getElementById("user-info");
var loginButton = document.getElementById("login-button");
var logoffButton = document.getElementById("logoff-button");
var buttonContainer = document.querySelector(".button-container");
var userInfo = document.querySelector(".user-info");

// Check value for "puter.env" to remove login/logout buttons and display a message
if (puter.env === "app") {
buttonContainer.innerHTML = "PWA is running in a Puter app, cannot manage account settings";
userInfo.remove();
return;
}

// Updated button content and information text
function updateUserInfo() {
Expand Down
7 changes: 0 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,6 @@
],
"id": "puter_ai",
"scope": "https://zac0511.github.io/Puter-AI-PWA/",
"related_applications": [
{
"platform": "webapp",
"url": "https://puter.com/app/ai-chat",
"id": "app-42bc620b-d341-4183-a755-8e5c5e0f9207"
}
],
"prefer_related_applications": false,
"shortcuts": [
{
Expand Down
2 changes: 1 addition & 1 deletion sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://puter-ai.puter.site/index.html</loc>
<lastmod>2024-01-22</lastmod>
<lastmod>2024-02-17</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
Expand Down

0 comments on commit 7faf675

Please sign in to comment.