Write a README for the sign-in relay

Aberta Para iniciantes
#39 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
88/100
Tipo de issue
Documentação
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
documentation

Direção de pesquisa

Leia o cabeçalho em apps/relay/src/main.ts e verifique cada variável de ambiente e valor padrão com base em apps/relay/src/config.ts. Crie apps/relay/README.md com uma visão geral do relay, instruções para executá-lo, configuração e o caminho de configuração no aplicativo; depois, adicione um link para ele em docs/architecture.md. Execute pnpm --filter @hermit/relay test; a tarefa estará concluída quando o README existir, a configuração corresponder e a página de arquitetura tiver um link para ele.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

agent-friendly docs good first issue

Why

apps/relay is the sign-in relay anyone can host for services that need a client secret (docs/architecture.md). How to run it is only in the header comment of apps/relay/src/main.ts, so people who open the folder on GitHub don't find it.

What to do

  1. Create apps/relay/README.md from the header of apps/relay/src/main.ts (lines 1 to 19): what the relay does and what it never does (it stores nothing), how to run it, every environment variable with its default, and the last step in the app (Settings, Sign-in options, My own relay).
  2. Check each variable and default against apps/relay/src/config.ts, which reads them.
  3. Link the README from the apps/relay row in docs/architecture.md.
  4. Keep the header comment in main.ts, or shorten it to point at the README. The two must not disagree.

Done when

  • apps/relay/README.md exists, and every variable and default in it matches apps/relay/src/config.ts.
  • docs/architecture.md links it.

How to check

pnpm --filter @hermit/relay test

Keep in mind

  • Secrets go in the environment only. Examples use made-up values, like relay.example.org, and never a real secret.
  • Plain words, short sentences, no em or en dashes.
Linguagem predominante
TypeScript
Estrelas
11
Forks
0
Merge médio
10min
PRs com merge (30d)
6

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de DojoCodingLabs/hermit

Todas as issues de DojoCodingLabs/hermit

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.