Compare commits
6 Commits
bf20b6467e
...
docs/integ
| Author | SHA1 | Date | |
|---|---|---|---|
|
14c5dd22d6
|
|||
|
f3676949d2
|
|||
|
79952b73c5
|
|||
| 17c419403e | |||
|
6d06312a5c
|
|||
|
acb399b0b7
|
2
Gemfile
2
Gemfile
@@ -61,7 +61,7 @@ gem "sentry-rails"
|
||||
# Services
|
||||
gem 'discourse_api'
|
||||
gem "lnurl"
|
||||
gem 'manifique'
|
||||
gem 'manifique', '~> 1.1.0'
|
||||
gem 'nostr', '~> 0.6.0'
|
||||
|
||||
group :development, :test do
|
||||
|
||||
@@ -245,7 +245,7 @@ GEM
|
||||
net-imap
|
||||
net-pop
|
||||
net-smtp
|
||||
manifique (1.0.1)
|
||||
manifique (1.1.0)
|
||||
faraday (~> 2.9.0)
|
||||
faraday-follow_redirects (= 0.3.0)
|
||||
nokogiri (~> 1.16.0)
|
||||
@@ -515,7 +515,7 @@ DEPENDENCIES
|
||||
listen (~> 3.2)
|
||||
lnurl
|
||||
lockbox
|
||||
manifique
|
||||
manifique (~> 1.1.0)
|
||||
net-ldap
|
||||
nostr (~> 0.6.0)
|
||||
pagy (~> 6.0, >= 6.0.2)
|
||||
|
||||
@@ -14,7 +14,7 @@ class Services::RsAuthsController < Services::BaseController
|
||||
@auth.destroy!
|
||||
|
||||
respond_to do |format|
|
||||
format.html do redirect_to services_storage_url, flash: {
|
||||
format.html do redirect_to apps_services_storage_url, flash: {
|
||||
success: 'App authorization revoked'
|
||||
}
|
||||
end
|
||||
|
||||
@@ -79,12 +79,20 @@
|
||||
description: "Create text notes and (optionally) turn them into a website",
|
||||
icon_path: "/img/app_icons/hyperdraft.png",
|
||||
links: [
|
||||
["Web App", "https://hyperdraft.rosano.ca"],
|
||||
["Website", "https://hyperdraft.rosano.ca"],
|
||||
]
|
||||
) %>
|
||||
<%= render AppInfoComponent.new(
|
||||
name: "Notes Together",
|
||||
description: "A powerful note-taking app, with support for attaching images and other files",
|
||||
icon_path: "/img/app_icons/notes-together.png",
|
||||
links: [
|
||||
["Web App", "https://notestogether.hominidsoftware.com"],
|
||||
]
|
||||
) %>
|
||||
<%= render AppInfoComponent.new(
|
||||
name: "Papiers",
|
||||
description: "A simple but powerful note-taking app",
|
||||
description: "A simple note-taking app",
|
||||
icon_path: "/img/app_icons/papiers.png",
|
||||
links: [
|
||||
["Web App", "https://papiers.gitlab.io"],
|
||||
@@ -127,7 +135,7 @@
|
||||
description: "Create flashcards and learn them with spaced-repetition",
|
||||
icon_path: "/img/app_icons/kommit.png",
|
||||
links: [
|
||||
["Web App", "https://kommit.rosano.ca"],
|
||||
["Website", "https://kommit.rosano.ca"],
|
||||
]
|
||||
) %>
|
||||
</div>
|
||||
|
||||
29
doc/integrations/strfry.md
Normal file
29
doc/integrations/strfry.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# strfry (nostr relay)
|
||||
|
||||
## LDAP policy
|
||||
|
||||
...
|
||||
|
||||
## Useful scripts
|
||||
|
||||
### Syncing events for all local nostr users from a remote relay
|
||||
|
||||
You can sync all events of all local users with a pubkey stored in LDAP from a
|
||||
specified remote relay to the local relay with the `strfry-sync.ts` script:
|
||||
|
||||
deno run -A /opt/strfry-sync.ts wss://relay.example.com
|
||||
|
||||
Doing the same with Docker Compose (great for seeding data to your local relay
|
||||
in development):
|
||||
|
||||
docker compose run strfry deno run -A /opt/strfry-sync.ts wss://relay.example.com
|
||||
|
||||
## Docker image
|
||||
|
||||
In order to use the LDAP policy with Docker, you will need
|
||||
[Deno](https://deno.com/) installed in your strfry container. We provide a
|
||||
custom Docker image for strfry with Deno included (which we use in
|
||||
development):
|
||||
|
||||
* Registry: https://gitea.kosmos.org/kosmos/-/packages/container/strfry-deno/1.1.1
|
||||
* Source: https://github.com/raucao/strfry/blob/docker_deno/ubuntu.Dockerfile
|
||||
BIN
public/img/app_icons/notes-together.png
Normal file
BIN
public/img/app_icons/notes-together.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user