MCPcopy Index your code
hub / github.com/cameri/nostream / getTorHostnamePath

Function getTorHostnamePath

src/cli/utils/bootstrap.ts:35–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35export const getTorHostnamePath = (): string => getProjectPath('.nostr', 'tor', 'data', 'nostream', 'hostname')
36
37export const getOnionKeyPath = (): string =>
38 join(process.env.NOSTR_CONFIG_DIR ?? join(homedir(), '.nostr'), 'v3_onion_private_key')

Callers 1

getInfoPayloadFunction · 0.90

Calls 1

getProjectPathFunction · 0.90

Tested by

no test coverage detected