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

Compare changes

Choose any two refs to compare.

+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>
+3 -3
src/routes/splash.tsx
···
import { Component } from "solid-js";
import "../styles/main.scss";
-
import typefaceLogo from "/logo.png?url";
-
import blueskyLogo from "/bluesky.svg?url";
-
import tangledLogo from "/tangled.svg?url";
+
import typefaceLogo from "/media/logo.png?url";
+
import blueskyLogo from "/media/bluesky.svg?url";
+
import tangledLogo from "/media/tangled.svg?url";
import Container from "../components/container";
import { Login, loginState } from "../components/login";
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