diff --git a/README.md b/README.md
index cae39aa..1406291 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,12 @@
# THIS IS CURRENTLY IN DEVELOPMENT AND NOT READY FOR PRIME TIME YET, WE'LL ANNOUNCE WHEN IT'S INCLUDED IN BUILDS. FEEL FREE TO PLAY WITH IT THOUGH AND GIVE FEEDBACK.
-# Kasm Apps
+# Kasm Workspaces
-This is a repository of the apps supported by Kasm. The apps list is automatically generated and can be used when creating new workspaces or using the 1 click installer
+This is a repository of the workspaces supported by Kasm. The workspaces list is automatically generated and can be used when creating new workspaces or using the 1 click installer
-## Create your own app store
+## Create your own workspace registry
-We have tried to make it as simple as possible for people to create their own app stores that work with Kasm, the easiest way to do that is to follow these steps:
+We have tried to make it as simple as possible for people to create their own registries that work with Kasm, the easiest way to do that is to follow these steps:
1. Click on "Use this template", select Create a new repository
1. Select a Repository name, you will need to use this name later in the process as well, tick the "Include all branches" checkbox, then click on the "Create repository from template" button
@@ -18,11 +18,11 @@ We have tried to make it as simple as possible for people to create their own ap
* listUrl - The link to the root of your site. For example https://username.github.io/repositoryname/ it should always include a trailing slash.
* contactUrl - A link users can use to contact you on.
If you are using a domain or a subdomain, your basePath will just be the current version number `basePath: '/1.0',`, otherwise change the value to include what you chose for the repository name in step 2 `basePath: '/repositoryname/1.0',`.
-1. Upload your apps to the /apps folder
+1. Upload your workspaces to the /workspaces folder
1. Go to Settings then Pages and select Branch - gh-pages and click Save
1. Check progress in Actions
1. Once complete go back to Settings / Pages and you should have a live site. Click on the Visit Site button.
-1. You should now have a working site which includes any apps you added
+1. You should now have a working site which includes any workspaces you added
[![](https://cdn.loom.com/sessions/thumbnails/256fac3d2bbb422b8e779ac1c8244d33-00001.gif)](https://www.loom.com/share/256fac3d2bbb422b8e779ac1c8244d33 "")
@@ -35,6 +35,6 @@ If a new schema version comes out, this is what you will need to do.
## Discovery
-The tag below will hopefully make it easier for people to find your App Registry by clicking on [this github search link](https://github.com/search?q=in%3Areadme+sort%3Aupdated+-user%3Akasmtech+%22KASM-REGISTRY-DISCOVERY-IDENTIFIER%22&type=repositories). If you want to make it harder to find your repository for some reason, just remove this section.
+The tag below will hopefully make it easier for people to find your Workspace Registry by clicking on [this github search link](https://github.com/search?q=in%3Areadme+sort%3Aupdated+-user%3Akasmtech+%22KASM-REGISTRY-DISCOVERY-IDENTIFIER%22&type=repositories). If you want to make it harder to find your repository for some reason, just remove this section.
KASM-REGISTRY-DISCOVERY-IDENTIFIER
\ No newline at end of file
diff --git a/apps/README.md b/apps/README.md
deleted file mode 100644
index 844aa10..0000000
--- a/apps/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# Apps directory
-
-This directory is for storing all the files needed for your apps store, they should be stored with the following structure:
-
-* apps/Application Name
-* apps/Application Name/app.json
-* apps/Application Name/application-name.png
\ No newline at end of file
diff --git a/processing/processjson.js b/processing/processjson.js
index 82d93e8..14584fe 100644
--- a/processing/processjson.js
+++ b/processing/processjson.js
@@ -12,7 +12,7 @@ if (!fs.existsSync(dir + "/icons")) {
fs.mkdirSync(dir + "/icons");
}
-glob("**/app.json", async function (err, files) {
+glob("**/workspace.json", async function (err, files) {
if (err) {
console.log(
"cannot read the folder, something goes wrong with glob",
@@ -20,8 +20,8 @@ glob("**/app.json", async function (err, files) {
);
}
- let apptotal = files.length;
- let apps = [];
+ let workspacetotal = files.length;
+ let workspaces = [];
let promises = [];
const options = {
@@ -32,7 +32,7 @@ glob("**/app.json", async function (err, files) {
for (const file of files) {
//files.forEach(async function(file) {
- let folder = file.replace("/app.json", "");
+ let folder = file.replace("/workspace.json", "");
let hash = await hashElement(folder, options);
let filedata = fs.readFileSync(file);
@@ -40,7 +40,7 @@ glob("**/app.json", async function (err, files) {
let parsed = JSON.parse(filedata);
parsed.sha = hash.hash;
console.log(parsed.name + ' added')
- apps.push(parsed);
+ workspaces.push(parsed);
if (fs.existsSync(folder + "/" + parsed.image_src)) {
let imagedata = fs.readFileSync(folder + "/" + parsed.image_src);
@@ -53,13 +53,13 @@ glob("**/app.json", async function (err, files) {
let json = {
name: nextConfig.env.name || 'Unknown store',
- appcount: apptotal,
+ workspacecount: workspacetotal,
icon: nextConfig.env.icon || null,
description: nextConfig.env.description || null,
list_url: nextConfig.env.listUrl || null,
contact_url: nextConfig.env.contactUrl || null,
modified: Date.now(),
- apps: apps,
+ workspaces: workspaces,
};
let data = JSON.stringify(json);
diff --git a/site/.env.local b/site/.env.local
deleted file mode 100644
index 914b54b..0000000
--- a/site/.env.local
+++ /dev/null
@@ -1 +0,0 @@
-NEXT_PUBLIC_APPURL=apps.kasmweb.com/list.json
\ No newline at end of file
diff --git a/site/components/App.js b/site/components/App.js
deleted file mode 100644
index da95442..0000000
--- a/site/components/App.js
+++ /dev/null
@@ -1,30 +0,0 @@
-import { useRouter } from 'next/router'
-
-function App({ Component, pageProps, app }) {
- const router = useRouter()
-
- const viewexample = (app) => {
- router.push({
- pathname: '/addapp/[app]',
- query: { app: btoa(app.name)}
- })
- }
-
- return (
-
This will help you generate the JSON file you need to upload to the App directory.
+
This page is designed to allow admins to generate the JSON they need to upload to the "workspaces" directory. It also allows end users to see what settings are needed if they want to manually copy them into a new workspace.
{editButton()}
{installButton()}
diff --git a/workspaces/README.md b/workspaces/README.md
new file mode 100644
index 0000000..ebf6ecc
--- /dev/null
+++ b/workspaces/README.md
@@ -0,0 +1,7 @@
+# Workspaces directory
+
+This directory is for storing all the files needed for your workspaces store, they should be stored with the following structure:
+
+* workspaces/Workspace Name
+* workspaces/Workspace Name/workspace.json
+* workspaces/Workspace Name/workspace-name.png
\ No newline at end of file