pleroma-like client for Bluesky pl.hexmani.ac
bluesky pleroma social-media

Compare changes

Choose any two refs to compare.

+23
.tangled/build.yaml
···
+
when:
+
- event: [ "push", "pull_request" ]
+
branch: [ "main" ]
+
- event: [ "manual" ]
+
+
engine: "nixery"
+
+
dependencies:
+
nixpkgs:
+
- bun
+
- nodejs
+
+
steps:
+
- name: "Install dependencies"
+
command: "bun install"
+
+
- name: "Build app"
+
command: "bun run build"
+
+
clone:
+
skip: false
+
depth: 50
+
submodules: true
+17 -4
package.json
···
{
-
"name": "vite-template-solid",
-
"version": "0.0.0",
-
"description": "",
+
"name": "bluroma",
+
"version": "0.1.0",
+
"description": "pleroma-like client for Bluesky",
+
"keywords": [
+
"atproto",
+
"bluesky",
+
"client"
+
],
+
"homepage": "https://tangled.org/@hexmani.ac/bluroma",
+
"bugs": {
+
"url": "https://tangled.org/@hexmani.ac/bluroma/issues"
+
},
+
"license": "AGPL-3.0-only",
+
"repository": {
+
"type": "git",
+
"url": "git+https://tangled.org/@hexmani.ac/bluroma.git"
+
},
"type": "module",
"scripts": {
"start": "vite",
···
"build": "vite build",
"serve": "vite preview"
},
-
"license": "MIT",
"devDependencies": {
"@types/bun": "^1.3.0",
"sass": "^1.81.0",
.tangled/build.yaml .tangled/workflows/build.yaml
+1 -1
static/oauth/client-metadata.json static/oauth-client-metadata.json
···
{
-
"client_id": "https://pl.hexmani.ac/oauth/client-metadata.json",
+
"client_id": "https://pl.hexmani.ac/oauth-client-metadata.json",
"client_name": "Bluroma",
"client_uri": "https://pl.hexmani.ac",
"redirect_uris": ["https://pl.hexmani.ac/"],
+1 -1
vite.config.ts
···
import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
import devtools from "solid-devtools/vite";
-
import metadata from "./static/oauth/client-metadata.json";
+
import metadata from "./static/oauth-client-metadata.json";
const SERVER_HOST = "127.0.0.1";
const SERVER_PORT = 3000;
+1 -1
README.md
···
-
<img src="static/logo.png" alt="The Bluroma logo, containing three rectangles with one rounded corner each shaped to look like an uppercase B and the Bluroma name written in the Convection font beside it." width="200">
+
<img src="static/media/logo.png" alt="The Bluroma logo, containing three rectangles with one rounded corner each shaped to look like an uppercase B and the Bluroma name written in the Convection font beside it." width="200">
## About
+3 -3
index.html
···
<!doctype html>
<html lang="en">
<head>
-
<link rel="icon" href="/favicon.png" type="image/png" />
+
<link rel="icon" href="favicon.png" type="image/png" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#1285FE" />
···
<p>Please enable
JavaScript to continue.</p>
</p>
-
<img src="/favicon.png" alt="Bluroma Logo" />
+
<img src="favicon.png" alt="Bluroma Logo" />
</div>
</noscript>
</body>
-
<script src="/src/index.tsx" type="module"></script>
+
<script src="src/index.tsx" type="module"></script>
</html>
+1 -1
src/components/navbar.tsx
···
<nav id="nav">
<div class="center-nav">
<A href={loginState() ? "/dash" : "/"}>
-
<img src="favicon.png" />
+
<img src="./favicon.png" />
</A>
</div>
</nav>
static/bluesky.svg static/media/bluesky.svg
static/logo.png static/media/logo.png
static/tangled.svg static/media/tangled.svg
+41
.tangled/workflows/deploy-main.yaml
···
+
when:
+
- event: ["push"]
+
branch: ["main"]
+
- event: ["manual"]
+
+
engine: "nixery"
+
+
dependencies:
+
nixpkgs:
+
- bun
+
- coreutils
+
- curl
+
- nodejs
+
+
environment:
+
SITE_PATH: "dist"
+
SITE_NAME: "bluroma"
+
WISP_HANDLE: "hexmani.ac"
+
+
steps:
+
- name: "Install dependencies"
+
command: "bun install --frozen-lockfile"
+
+
- name: "Build app"
+
command: "bun run build"
+
+
- name: "Deploy to Wisp"
+
command: |
+
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
+
chmod +x wisp-cli
+
+
./wisp-cli deploy \
+
"$WISP_HANDLE" \
+
--path "$SITE_PATH" \
+
--site "$SITE_NAME" \
+
--password "$WISP_APP_PASSWORD"
+
+
clone:
+
skip: false
+
depth: 50
+
submodules: true