Skip to content

eutiveumsonho/eutiveumsonho

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecov PRs Welcome

Eu tive um sonho

Eu tive um sonho

Source code from eutiveumsonho.com, the largest community made by dreamers, for dreamers, powered by AI


About

Eu tive um sonho is a social network designed for dreamers to preserve and exchange their dreams within the worldwide dreaming community.

How does it work?

  • To start using Eu tive um sonho, creating an account via email or Google account is required.
  • Members have the option to publish their dreams publicly, anonymously, or store them as private entries.
  • It's possible to bookmark favorite published dreams.
  • Members can leave comments on both their own dreams and those of others.
  • Dreams can receive comments from our dream interpreter AI, Sonia, if the member consents.
  • Any comments made on a member's dreams will appear in their inbox.
  • Members can access a page that offers insights into their dreams, including dream frequency and the most frequently used words in their dreams.

Development instructions

First of all, clone this repository.

Make sure you've got Docker and Docker Compose installed on your machine, as we use it to run an OpenTelemetry Collector setup to collect traces, metrics and logs.

The following services are spawned by the docker-compose.yml file:

Service Description Port
Jaeger Distributed tracing 16686
Zipkin Distributed tracing 9411
Prometheus Metrics 9090

Make sure you've got either an Ollama API available or a local instance running. You'll need both a URL of the API and an API key to run the project, as well as llama3.2:latest model available.

Also make sure you've got a MongoDB instance available or a local instance running. You'll need a connection string to run the project.

Create a .env.local file based on the .env.example file.

Install dependencies:

pnpm i

Run the development server:

pnpm dev

Access the project in your local machine at http://localhost:3000.

About

Source code from the largest community made by dreamers, for dreamers.

Topics

Resources

Stars

Watchers

Forks

Contributors 6

Languages