diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ebd0e2b --- /dev/null +++ b/.env.example @@ -0,0 +1,4 @@ +FEEDGEN_PORT=3000 +FEEDGEN_SQLITE_LOCATION=":memory:" +FEEDGEN_SUBSCRIPTION_ENDPOINT="wss://bsky.social" +FEEDGEN_SERVICE_DID="did:example:test" diff --git a/src/index.ts b/src/index.ts index 5974b40..a8486d7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,6 +7,7 @@ const run = async () => { port: maybeInt(process.env.FEEDGEN_PORT), sqliteLocation: maybeStr(process.env.FEEDGEN_SQLITE_LOCATION), subscriptionEndpoint: maybeStr(process.env.FEEDGEN_SUBSCRIPTION_ENDPOINT), + serviceDid: maybeStr(process.env.FEEDGEN_SERVICE_DID), }) await server.start() console.log(