Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .dev.vars.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
# itself, and shows it to you on its own front page the first time you open it.
#
# Everything Muxel can be given — a console bot in Telegram, a key for a model
# from another provider, live web search, reading a document as data — is added
# afterwards, from the Worker's own Settings, Variables and Secrets, by someone
# who by then knows what it is for.
# from another provider — is added afterwards, from the Worker's own Settings,
# Variables and Secrets, by someone who by then knows what it is for.
#
# Copy this file to .dev.vars for local development. Never commit real values:
# .dev.vars is ignored by git for that reason.
Expand Down
69 changes: 69 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# The site, served by GitHub Pages.
#
# It used to be an express process on a VPS. Everything it did that needed a
# process — rendering the README into the guide — happens here instead, at
# build time, and what is served is files. Nothing of an owner's passes through
# it either way: the console is a page that talks to the owner's own Worker
# directly, so this is a static host and that is all it needs to be.
name: Pages

on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

# One deploy at a time, and never cancel one halfway: a cancelled deploy leaves
# the site as it was, but a queued one is worth waiting for.
concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

# The console is outside the workspace, so its one dependency — the
# markdown renderer the guide is built with — is installed on its own.
- name: Install the console's own dependencies
run: npm --prefix packages/console install --omit=dev --no-package-lock

# Turns Pages on the first time this runs, and reports where the site
# will live. A project site sits under /<repo>/ and a custom domain sits
# at the root; base_path is that difference, from GitHub rather than
# guessed here, so adding a domain later changes nothing in this file.
- name: Configure Pages
id: pages
uses: actions/configure-pages@v5
with:
enablement: true

- name: Build the site
run: node scripts/build-site.mjs
env:
SITE_BASE: ${{ steps.pages.outputs.base_path }}

- uses: actions/upload-pages-artifact@v3
with:
path: site

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules/
dist/
site/
*.tsbuildinfo

.wrangler/
Expand Down
6 changes: 3 additions & 3 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Muxel のサーバーも、Muxel のデータベースも、Muxel のアカウ
## できること

* すべてボタンだけで操作できるコンソールがあります。ブラウザの
[app.muxel.site](https://app.muxel.site) で開き、ご希望なら Telegram の bot
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) で開き、ご希望なら Telegram の bot
としても使えます。どちらでも、セットアップのあとは dashboard も設定ファイルも
必要ありません。
* お店ごとにお客様用の bot があり、アップロードした価格表、ポリシー、商品情報を
Expand Down Expand Up @@ -136,7 +136,7 @@ webhook をつなぐのもこれです。
見ていない人が考えるパスワードよりよいからです。

そのキーをコピーして、ほかのパスワードと同じ場所に保管してください。それから
[app.muxel.site](https://app.muxel.site) を開き、Worker のアドレスを貼り付けて、
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) を開き、Worker のアドレスを貼り付けて、
キーを貼り付けます。そのコンソールがあなた専用の操作画面です。そこでお店を追加
すると、お店の名前を尋ねられます。

Expand Down Expand Up @@ -343,7 +343,7 @@ Cloudflare のログインで届くのは Workers AI のモデルだけです。
## コンソール

セットアップのあとは、すべてコンソールの中で、ボタンを押して行います。ブラウザの
[app.muxel.site](https://app.muxel.site) で、そして足してあればコンソール bot でも。
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) で、そして足してあればコンソール bot でも。

| 画面 | 内容 |
| --- | --- |
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ repository and drawn by its own CSS; the widget is on an ordinary website that i
## What it does

* A console you drive with buttons: in a browser at
[app.muxel.site](https://app.muxel.site), and in a Telegram bot as well if
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/), and in a Telegram bot as well if
you want one. No dashboard and no configuration files after setup either way.
* A customer bot per business that answers from your uploaded price lists,
policies and product information.
Expand Down Expand Up @@ -155,7 +155,7 @@ invented by a machine that has just been created is a better password than one
invented by a person who has not seen the thing yet.

Copy that key and keep it where you keep your other passwords. Then open
[app.muxel.site](https://app.muxel.site), paste your Worker's address in, and
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/), paste your Worker's address in, and
paste the key. That console is your private control panel. Add a business there
and it will ask what the business is called.

Expand Down Expand Up @@ -419,7 +419,7 @@ own token, so the control panel cannot quietly become a customer's chat.
## The console

Everything after setup happens in the console, in buttons: at
[app.muxel.site](https://app.muxel.site) in a browser, and in the console bot
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) in a browser, and in the console bot
if you added one.

| Screen | What it holds |
Expand Down
6 changes: 3 additions & 3 deletions README.my.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Muxel server မရှိ၊ Muxel database မရှိ၊ Muxel account လည
## ဘာလုပ်ပေးသလဲ

* ခလုတ်များဖြင့်သာ လုံးဝ အသုံးပြုနိုင်သော console တစ်ခု ပါဝင်ပါသည်။ browser ထဲတွင်
[app.muxel.site](https://app.muxel.site) မှ ဖွင့်နိုင်ပြီး လိုချင်ပါက Telegram bot
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) မှ ဖွင့်နိုင်ပြီး လိုချင်ပါက Telegram bot
အဖြစ်လည်း ထပ်ထည့်နိုင်ပါသည်။ နှစ်မျိုးစလုံးတွင် setup ပြီးနောက် dashboard သို့မဟုတ်
configuration file များကို ကိုင်တွယ်စရာ မလိုတော့ပါ။
* လုပ်ငန်းတစ်ခုစီအတွက် customer bot တစ်ခုစီ ရှိပြီး သင် upload တင်ထားသော
Expand Down Expand Up @@ -148,7 +148,7 @@ password သည် အရာဝတ္ထုကို မမြင်ရသေး
သောကြောင့် ဖြစ်သည်။

ထို key ကို ကူးယူပြီး သင့်အခြား password များ ထားသည့်နေရာတွင် သိမ်းထားပါ။ ထို့နောက်
[app.muxel.site](https://app.muxel.site) ကို ဖွင့်၍ သင့် Worker လိပ်စာကို ကူးထည့်ကာ
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) ကို ဖွင့်၍ သင့် Worker လိပ်စာကို ကူးထည့်ကာ
key ကို ကူးထည့်ပါ။ ထို console သည် သင့်ကိုယ်ပိုင် ထိန်းချုပ်ရာ နေရာ ဖြစ်ပါသည်။ ထိုနေရာတွင်
လုပ်ငန်းတစ်ခု ထည့်လိုက်လျှင် လုပ်ငန်း၏ အမည်ကို တောင်းပါလိမ့်မည်။

Expand Down Expand Up @@ -370,7 +370,7 @@ web console တွင် လုပ်ငန်းတစ်ခုကို အမ
## console

setup ပြီးနောက် လုပ်ဆောင်ရသမျှ အားလုံးကို console ထဲတွင် ခလုတ်များဖြင့်သာ လုပ်ရပါသည်။
browser ထဲက [app.muxel.site](https://app.muxel.site) တွင်လည်းကောင်း၊ console bot
browser ထဲက [thankywal.github.io/muxel](https://thankywal.github.io/muxel/) တွင်လည်းကောင်း၊ console bot
ထည့်ထားပါက ထိုနေရာတွင်လည်းကောင်း ဖြစ်ပါသည်။

| ဖန်သားပြင် | ဘာတွေ ပါဝင်သလဲ |
Expand Down
6 changes: 3 additions & 3 deletions README.th.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repository นี้และวาดด้วย CSS ของตัวมั
## ทำอะไรได้บ้าง

* console ที่คุณสั่งงานด้วยปุ่มทั้งหมด เปิดในเบราว์เซอร์ที่
[app.muxel.site](https://app.muxel.site) และถ้าต้องการก็เพิ่มเป็น bot บน Telegram
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) และถ้าต้องการก็เพิ่มเป็น bot บน Telegram
ได้อีกทาง ทั้งสองทางเหมือนกันคือ หลังติดตั้งเสร็จไม่ต้องเข้า dashboard และไม่ต้องแก้
ไฟล์ตั้งค่าใด ๆ
* bot สำหรับลูกค้าหนึ่งตัวต่อหนึ่งธุรกิจ ซึ่งตอบคำถามจากรายการราคา นโยบาย และข้อมูล
Expand Down Expand Up @@ -130,7 +130,7 @@ Cloudflare ลงในบัญชีนั้น กรุณาอนุม
เป็นคนคิด ย่อมดีกว่ารหัสที่คนซึ่งยังไม่เคยเห็นระบบเลยเป็นคนคิด

คัดลอกรหัสนั้นไปเก็บไว้ที่เดียวกับรหัสผ่านอื่น ๆ ของคุณ จากนั้นเปิด
[app.muxel.site](https://app.muxel.site) วางที่อยู่ Worker ของคุณลงไป แล้ววางรหัสนั้น
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) วางที่อยู่ Worker ของคุณลงไป แล้ววางรหัสนั้น
console นั้นคือแผงควบคุมส่วนตัวของคุณ เพิ่มธุรกิจในนั้นแล้วระบบจะถามชื่อธุรกิจ

หน้านั้นให้บริการจากโดเมนของเรา แต่ไม่ได้เก็บอะไรของคุณไว้เลย มันต้องถามที่อยู่ของคุณ
Expand Down Expand Up @@ -327,7 +327,7 @@ Gemma 4 เป็นค่าเริ่มต้น จากการวั
## console

ทุกอย่างหลังการติดตั้งเกิดขึ้นใน console ด้วยการกดปุ่มทั้งหมด ทั้งบนเบราว์เซอร์ที่
[app.muxel.site](https://app.muxel.site) และใน console bot ถ้าคุณเพิ่มไว้
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/) และใน console bot ถ้าคุณเพิ่มไว้

| หน้าจอ | มีอะไรอยู่ในนั้น |
| --- | --- |
Expand Down
6 changes: 3 additions & 3 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CSS 绘制;那个对话气泡则在一个并不属于我们的普通网站上。
## 它能做什么

* 一个完全用按钮操作的 console:在浏览器里打开
[app.muxel.site](https://app.muxel.site),想要的话再加一个 Telegram bot 也
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/),想要的话再加一个 Telegram bot 也
可以。两种方式都一样,设置完成之后不需要后台面板,也不需要改配置文件。
* 每家店铺配一个面向客户的 bot,它会根据你上传的价目表、店铺规定和商品信息
来回答问题。
Expand Down Expand Up @@ -124,7 +124,7 @@ https://deploy.workers.cloudflare.com/?url=https://github.com/thankywal/muxel
想出来的密码更好。

把那串密钥复制下来,存在你放其他密码的地方。然后打开
[app.muxel.site](https://app.muxel.site),把 Worker 的地址粘进去,再把密钥粘进去。
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/),把 Worker 的地址粘进去,再把密钥粘进去。
这个 console 就是你的私人控制面板。在里面添加一家店铺,它会问你店铺叫什么名字。

那个页面由我们的域名提供,但它不保存你的任何东西。它必须问你要地址,因为它
Expand Down Expand Up @@ -313,7 +313,7 @@ token,免得那个控制面板悄悄变成客户的聊天窗口。
## console 里有什么

设置完成之后,所有操作都在 console 里通过按钮完成:在浏览器里打开
[app.muxel.site](https://app.muxel.site),加过 console bot 的话在那里也一样。
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/),加过 console bot 的话在那里也一样。

| 页面 | 里面有什么 |
| --- | --- |
Expand Down
4 changes: 2 additions & 2 deletions docs/DEPLOY-RECOVERY.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Otherwise:
2. Add a secret named `CONSOLE_KEY` — or edit it, if you already set one — and
put in a new phrase of at least 16 characters. A key you set there wins over
the one your deployment issued itself.
3. Open [app.muxel.site](https://app.muxel.site), paste your deployment's
3. Open [thankywal.github.io/muxel](https://thankywal.github.io/muxel/), paste your deployment's
address, and enter the new key.

**Changing the key takes the old one back.** Signing in hands your browser a
Expand Down Expand Up @@ -199,7 +199,7 @@ what you get is the same Worker the button installs. A test holds the two to
each other.

When it finishes it prints your address and what to do with it: open
[app.muxel.site](https://app.muxel.site), paste that address in and enter your
[thankywal.github.io/muxel](https://thankywal.github.io/muxel/), paste that address in and enter your
console key — which is printed on your deployment's own address — or, if you set
up a bot instead, open it in Telegram and send `/start`.

Expand Down
10 changes: 5 additions & 5 deletions docs/TELEGRAM-SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ When it finishes, open the page Cloudflare shows you. If it says your code copy

That page also shows your console key, a long random string your deployment made for itself. Copy it and keep it safe: the page stops showing it once you have signed in.

Copy the address of that page too. Then open https://app.muxel.site, paste the address in, and paste the key. That is your console.
Copy the address of that page too. Then open https://thankywal.github.io/muxel/, paste the address in, and paste the key. That is your console.

It will ask you to add a business. Give it the name of your shop.

Expand Down Expand Up @@ -99,7 +99,7 @@ Form မှာ:

အဲဒီ စာမျက်နှာမှာ သင့် console key ကိုပါ ပြပါလိမ့်မယ်။ deployment ကိုယ်တိုင် ဆောက်ထားတဲ့ ကျပန်း စာလုံးရှည်တစ်ခုပါ။ ကူးယူပြီး သေချာသိမ်းထားပါ။ တစ်ခါ ဝင်ပြီးရင် အဲဒီစာမျက်နှာက ပြတော့မှာ မဟုတ်ပါဘူး။

စာမျက်နှာရဲ့ လိပ်စာကိုလည်း ကူးယူပါ။ ပြီးရင် https://app.muxel.site ကို ဖွင့်ပြီး လိပ်စာနဲ့ key ကို ကူးထည့်ပါ။ အဲဒါ သင့် console ပါ။
စာမျက်နှာရဲ့ လိပ်စာကိုလည်း ကူးယူပါ။ ပြီးရင် https://thankywal.github.io/muxel/ ကို ဖွင့်ပြီး လိပ်စာနဲ့ key ကို ကူးထည့်ပါ။ အဲဒါ သင့် console ပါ။

Business တစ်ခု ထည့်ဖို့ တောင်းပါလိမ့်မယ်။ သင့်ဆိုင်နာမည်ကို ပေးလိုက်ပါ။

Expand Down Expand Up @@ -146,7 +146,7 @@ Cloudflare จะให้คุณเข้าสู่ระบบ เชื

หน้านั้นจะแสดงรหัสคอนโซลของคุณด้วย เป็นสตริงสุ่มยาว ๆ ที่ deployment สร้างขึ้นเอง คัดลอกไว้และเก็บให้ดี เพราะหน้านั้นจะหยุดแสดงเมื่อคุณเข้าสู่ระบบครั้งแรกแล้ว

คัดลอกที่อยู่ของหน้านั้นไว้ด้วย แล้วเปิด https://app.muxel.site วางที่อยู่ลงไป และวางรหัสนั้น นั่นคือคอนโซลของคุณ
คัดลอกที่อยู่ของหน้านั้นไว้ด้วย แล้วเปิด https://thankywal.github.io/muxel/ วางที่อยู่ลงไป และวางรหัสนั้น นั่นคือคอนโซลของคุณ

ระบบจะให้คุณเพิ่มธุรกิจ ใส่ชื่อร้านของคุณลงไป

Expand Down Expand Up @@ -193,7 +193,7 @@ Cloudflare 会让你登录、连接 GitHub,并安装它的 GitHub 应用。请

那个页面上还会显示你的控制台密钥,是你的部署自己生成的一串长随机字符。复制下来好好保存:你第一次登录之后,那个页面就不再显示它了。

把那个页面的地址也复制下来。然后打开 https://app.muxel.site,把地址粘贴进去,再把密钥粘贴进去。那就是你的控制台。
把那个页面的地址也复制下来。然后打开 https://thankywal.github.io/muxel/,把地址粘贴进去,再把密钥粘贴进去。那就是你的控制台。

它会让你添加一个商家,填你的店名就行。

Expand Down Expand Up @@ -240,7 +240,7 @@ Cloudflare がログイン、GitHub の連携、そして GitHub アプリのイ

そのページには、deployment が自分で作った長いランダムなコンソールキーも表示されます。コピーして大切に保管してください。一度サインインすると、そのページはもう表示しなくなります。

そのページのアドレスもコピーします。次に https://app.muxel.site を開き、アドレスとキーを貼り付けてください。それがあなたのコンソールです。
そのページのアドレスもコピーします。次に https://thankywal.github.io/muxel/ を開き、アドレスとキーを貼り付けてください。それがあなたのコンソールです。

ビジネスの追加を求められます。お店の名前を入れてください。

Expand Down
Loading
Loading