Skip to content

lapaca/Openhouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Openhouse wants to become the largest researcher community in the world. It also aims to be the first community in human history with over ten thousand members that is fully managed by AI.

Our idea originated from a highly - upvoted suggestion under a post made by hundreds of neuroscientists. They wanted to conduct in - depth research on the latest neuroscience studies combined with algorithmic emotions to drive the development of human technology. We are determined to carry on this initiative and plan to reach out to tens of thousands of scholars within three months.

Key Features:

THE SAGE πŸ§™β€β™‚οΈ

THE SAGE is an AI agent designed to manage the overall operation of the community. Currently, we have developed two key functions:

Contribution Evaluation: SAGE automatically assesses each user's contribution to the community based on the content they post, their areas of expertise, and their industry. Similar to GitHub, it records each person's daily contributions.

Reward Distribution : SAGE automatically distributes rewards based on individual contributions. For example, users who create highly - liked or widely - bookmarked high - quality content will receive rewards. Individuals will be able to import their past contributions, such as GitHub projects and published papers to earn a substantial amount of virtual currency with just one click.

Openhouse Mate πŸ‘¨πŸ‘©

OH Mate is different from traditional social matching. It is a newly designed Slow - Matching Mode. This mode is used to match potential scientific researchers or unique combinations may have amazing synergies. For instance, it could match a neuroscientist with an algorithm engineer, or a philosopher with an oceanographer. The matching process may take several days. OH Mate will continuously search for truly remarkable connections for you. The more information you provide, the better the potential matching results are likely to be.

Who Benefits: ⛰️

OH believes that both research and learning are forms of contribution. It aims to provide a platform for users around the world who are willing to participate in human development or learning without discrimination. This includes 235 million researchers above the university level globally (data from UNESCO), and 1.81 billion high school/middle school students. Through AI Sage, people at any stage can easily get involved in projects suitable for them and be matched with OH mates.

Use Cases: πŸ”¨

  1. Engineer Smith and biologist Annie met on the platform, and together they developed a machine capable of cave rescue by studying the movement of squids.
  2. High school programming enthusiast Constance discovered Andy's new algorithm article on the platform and, through hard work, joined Andy's research team.
  3. Professor Andrew found a user named Liu on the platform. After reviewing Liu's personal Sage profile (showcasing his research), he saw that Liu had been diligently working on eco-friendly technologies for two years with a very innovative approach, so he invited Liu to collaborate on an experiment.

Team Members

Johnny Lapaca Peking University Product Designer

JianJian Tsinghua University Frontend/ai Engineer

Charlie Columbia University Backend/ai Engineer

Eva Cornell University UI

🌐 Demo: https://openhouse.horik.cn

πŸ“¦ Tech Stack

Layer Technology
Frontend React + Vite + TailwindCSS
Backend Go + Gin + GORM + MySQL
Database MySQL 8.x
Auth Email, GitHub, Google OAuth2
AI Match LLM API (OpenAI / TogetherAI)
Storage Alibaba Cloud OSS (Image CDN)

πŸš€ Features

1. βœ… User Authentication

  • Passwordless login via email verification code
  • OAuth2 login via GitHub & Google
  • JWT-based authentication & authorization
  • Support for multiple account bindings (e.g., Email + GitHub)

2. πŸ‘€ User Profile

  • Editable user profile (nickname, gender, avatar, intro)
  • Avatar uploaded to OSS
  • Track bound login methods (email/github/google)

3. πŸ“š Posts & Social Feed

  • Create, edit, and delete posts with text and images
  • Like, favorite, comment on posts
  • Public feed with follow-based filtering
  • Anonymous β€œTree Hole” mode (optional)
  • AI-based scoring to manage the community (future implementation)

4. πŸ” Researcher Matching

  • Users submit tags, intro, and research area to join match pool
  • Daily LLM-powered intelligent matching
  • Matches scored with AI comments and reasons
  • Results revealed once per day
  • Matching statuses: Not Applied, Matching, Matched, Revealed

5. πŸ’¬ Real-time Chat (Polling)

  • One-on-one chat unlocked after successful match
  • Polling-based new message retrieval
  • Structured schema with sender/receiver UUID tracking

6. πŸ”” Notification System

  • System notifications: match success, likes, comments, admin messages
  • User messages: one-on-one chat after match

πŸ›  Project Structure

.
β”œβ”€β”€ backend/                # Go + Gin backend
β”‚   β”œβ”€β”€ api/                # API layer
β”‚   β”œβ”€β”€ model/              # request/response/database models
β”‚   β”œβ”€β”€ service/            # business logic
β”‚   β”œβ”€β”€ middleware/         # JWT auth, logging
β”‚   β”œβ”€β”€ utils/              # helper functions
β”‚   β”œβ”€β”€ global/             # global variables
β”‚   β”œβ”€β”€ initialize/         # DB, OSS, config init
β”‚   └── main.go             # project entrypoint
β”œβ”€β”€ frontend/               # React + Vite frontend

πŸ”§ Setup & Run

🧩 Prerequisites

  • Go 1.20+
  • MySQL 8.0+
  • Node.js 18+ (for frontend)
  • Docker (optional for local deployment)

πŸ“¦ Install Dependencies

Backend:

cd backend/
go mod tidy

Frontend:

cd frontend/
pnpm install

βš™οΈ Start Backend

cd backend/
go run main.go

βœ… Swagger Docs: https://openhouse.horik.cn/swagger/index.html#/

🌐 Start Frontend

cd frontend/
pnpm dev

πŸ“ License

This project is licensed under the Apache-2.0 License.
See the LICENSE file for details.

πŸ“¬ Contact & Contribution

We welcome contributions from researchers, developers, and designers.
To contribute:

  • Fork this repository
  • Open a pull request
  • Or reach out via GitHub Issues

Let us build the world’s largest researcher community β€” together.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors