(prob outdated, archive) akkomaef with awful hacks to make it also work on calckey
This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
fruye 31f3fd8846 Remove trailing slash when getting relationships
It's not exactly correct and calckey removes query string in redirects :(
2023-04-26 22:05:37 +02:00
.gitea/issue_template Add YAML bug and feat templates 2022-12-08 20:24:21 +02:00
build Fix build 2022-11-20 22:26:16 +00:00
config Serve akkomafe from the '/akkomafe/' subdirectory 2023-03-23 16:20:57 +01:00
docs Change asset path to /static-assets/akkomafe/ 2023-03-23 16:20:57 +01:00
src Remove trailing slash when getting relationships 2023-04-26 22:05:37 +02:00
static Change asset path to /static-assets/akkomafe/ 2023-03-23 16:20:57 +01:00
test Change asset path to /static-assets/akkomafe/ 2023-03-23 16:20:57 +01:00
tools update emoji.json, add script that merges new emoji from another source 2020-11-30 14:43:39 +02:00
.babelrc cleanup 2022-03-23 15:44:37 +02:00
.editorconfig Basic skeleton 2016-10-26 16:46:32 +02:00
.eslintignore Basic skeleton 2016-10-26 16:46:32 +02:00
.eslintrc.js Big 'ol set of patches and dep maintenance (#212) 2022-11-15 15:47:32 +00:00
.gitignore mobile-newline (#226) 2022-11-21 16:49:18 +00:00
.mailmap Add myself to .mailmap 2021-02-15 13:17:52 +03:00
.node-version Add .node-version 2017-02-16 12:51:08 +01:00
.stylelintrc.json Only reload user if it _is_ a user (#232) 2022-11-22 14:40:25 +00:00
.woodpecker.yml Only reload user if it _is_ a user (#232) 2022-11-22 14:40:25 +00:00
BREAKING_CHANGES.md fixup! Removed formattingOptionsEnabled in favor of relying on BE-provided list of accepted formatting options 2019-06-16 20:23:07 +03:00
CHANGELOG.md Move remote interaction chnagelog entry to "Unreleased" 2022-09-19 18:39:36 -04:00
CODE_OF_CONDUCT.md Big 'ol set of patches and dep maintenance (#212) 2022-11-15 15:47:32 +00:00
CONTRIBUTORS.md editing (#158) 2022-09-06 19:25:03 +00:00
LICENSE Add license 2016-11-22 12:15:05 -05:00
README.akkomafe.md Rename README.md to README.akkomafe.md 2023-03-23 16:20:57 +01:00
README.md fixup! Add a basic readme 2023-03-23 16:34:20 +01:00
index.html Serve calckey's favicon 2023-03-23 16:20:57 +01:00
package.json add language input 2023-01-15 17:59:32 +00:00
postcss.config.js revives autoprefixer which went AWOL during Webpack v1 -> v4 migration 2019-08-14 01:18:07 +03:00
renovate.json Add renovate.json 2022-03-06 17:50:32 +00:00
yarn.lock add language input 2023-01-15 17:59:32 +00:00

README.md

(WIP) akkoma-fe for calckey

installing to a subdirectory

  1. First, run these commands:

    npm install
    npm run build
    cp -r dist YOUR_CALCKEY_DIRECTORY/custom/assets/akkomafe
    
  2. Apply the following patch to calckey, so that the frontend can be accessed from a nicer path and to make signing in work due to oauth token callbacks (yeah i hardcoded paths).

    diff --git a/packages/backend/src/server/web/index.ts b/packages/backend/src/server/web/index.ts
    index 642a17d57..714edc543 100644
    --- a/packages/backend/src/server/web/index.ts
    +++ b/packages/backend/src/server/web/index.ts
    @@ -141,6 +141,18 @@ router.get("/apple-touch-icon.png", async (ctx) => {
     	});
     });
    
    +router.get("/akkomafe", async (ctx) => {
    +	await send(ctx as any, '/akkomafe/index.html', {
    +		root: staticAssets,
    +	});
    +});
    +
    +router.get("/akkomafe/(.*)", async (ctx) => {
    +	await send(ctx as any, '/akkomafe/index.html', {
    +		root: staticAssets,
    +	});
    +});
    +
     router.get("/twemoji/(.*)", async (ctx) => {
     	const path = ctx.path.replace("/twemoji/", "");
    
    
  3. Rebuild calckey and your akkoma-fe should be accesible at /akkomafe!

developing (live reload, proxied apis, etc.)

See For Contributors section in the akkoma readme.