Commit 225ecb12 authored by Grant's avatar Grant
Browse files

initial commit

parents
Loading
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+24 −0
Original line number Diff line number Diff line
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.gitlab-ci.yml

0 → 100644
+34 −0
Original line number Diff line number Diff line
build:
  image: oven/bun
  stage: build
  before_script:
    - bun install
  script:
    - bun run build
  artifacts:
    untracked: false
    when: on_success
    access: all
    expire_in: "1 hour"
    paths:
      - dist

deploy:
  image: alpine
  stage: deploy
  dependencies:
    - build
  needs:
    - build
  before_script:
    - apk add curl zip
  script:
    - |
      # 📁 Creating zip
      zip -r archive.zip dist
    - |
      # ✨ Send artifact to deployer
      curl -X POST --fail-with-body \
      -H "Authorization: Bearer $DEPLOY_KEY" \
      -F "file=@archive.zip" \
      -s -o /dev/null -w "Deploy Status: %{http_code}" https://deploy.sc07.company/deploy

.nvmrc

0 → 100644
+1 −0
Original line number Diff line number Diff line
v23.5.0

README.md

0 → 100644
+10 −0
Original line number Diff line number Diff line
# fediverse.ooo
The goal is to take any URL resolvable by ActivityPub (eg `https://grants.cafe/@grant`) and redirect it to the native instance the user is viewing it from

Eg `https://fediverse.ooo/https://grants.cafe/@grant` -> grants.cafe by default, but allowing visitors to change their home instance

If the home instance supports remote object fetching (and is supported by this software), it should trigger a remote fetch & a redirect

This software (and it's supplied API) should work like a URI handler and should have the ability to easily be replaced

Apps are encouraged to handle these links by loading the target object directly
 No newline at end of file

bun.lock

0 → 100644
+662 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading