Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Go Reference](https://pkg.go.dev/badge/github.com/icco/etu.svg)](https://pkg.go.dev/github.com/icco/etu)


Etu is a simple journaling tool that talks to the [etu-backend](https://github.com/icco/etu-backend) API over gRPC (default: `grpc.etu.natwelch.com`).
Etu is a simple journaling tool that talks to the [etu-backend](https://github.com/icco/etu-backend) API over gRPC (default: `grpc.etu.timeclimbers.com`).

It should be noted the main goal of Etu is to write interstitial journals. See https://betterhumans.pub/replace-your-to-do-list-with-interstitial-journaling-to-increase-productivity-4e43109d15ef for more on this topic.

Expand All @@ -29,15 +29,15 @@ brew install etu

Before running you need an API key for the etu-backend. You can:

1. Put your API key in `~/.config/etu/config.json` with keys `api_key` and optionally `grpc_target` (default: `grpc.etu.natwelch.com:443`), or
1. Put your API key in `~/.config/etu/config.json` with keys `api_key` and optionally `grpc_target` (default: `grpc.etu.timeclimbers.com:443`), or
2. Set the `ETU_API_KEY` environment variable (and optionally `ETU_GRPC_TARGET`).

Example config file:

```json
{
"api_key": "your-64-char-hex-api-key",
"grpc_target": "grpc.etu.natwelch.com:443"
"grpc_target": "grpc.etu.timeclimbers.com:443"
}
```

Expand Down
2 changes: 1 addition & 1 deletion client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
)

const defaultGRPCTarget = "grpc.etu.natwelch.com:443"
const defaultGRPCTarget = "grpc.etu.timeclimbers.com:443"

// configFile represents the persisted config file format.
type ConfigFile struct {
Expand Down