Files
fredy/README.md

226 lines
7.6 KiB
Markdown
Raw Normal View History

2025-09-12 18:47:10 +02:00
<p align="center">
<a href="https://fredy.orange-coding.net/">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/orangecoding/fredy/blob/master/doc/logo_white.png" width="400">
<source media="(prefers-color-scheme: light)" srcset="https://github.com/orangecoding/fredy/blob/master/doc/logo.png" width="400">
<img alt="Jetbrains Open Source" src="https://github.com/orangecoding/fredy/blob/master/doc/logo.png">
</picture>
</a>
</p>
2025-09-12 18:47:10 +02:00
![Tests](https://github.com/orangecoding/fredy/actions/workflows/test.yml/badge.svg)
2025-09-12 18:47:10 +02:00
[![Docker](https://github.com/orangecoding/fredy/actions/workflows/docker.yml/badge.svg)](https://github.com/orangecoding/fredy/actions/workflows/docker.yml)
![Source](https://github.com/orangecoding/fredy/actions/workflows/check_source.yml/badge.svg)
![Docker Pulls](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fghcr-badge.elias.eu.org%2Fapi%2Forangecoding%2Ffredy%2Ffredy&query=%24.downloadCount&label=Docker%20Pulls)
2025-09-04 09:08:25 +02:00
# Fredy 🏡 Your Self-Hosted Real Estate Finder for Germany
2025-09-03 15:09:35 +02:00
2025-09-04 09:08:25 +02:00
Finding an apartment or house in Germany can be stressful and
time-consuming.\
**Fredy** makes it easier: it automatically scrapes **ImmoScout24,
Immowelt, Immonet, eBay Kleinanzeigen, and WG-Gesucht** and notifies you
instantly via **Slack, Telegram, Email, ntfy, and more** when new
listings appear.
2025-09-03 15:09:35 +02:00
2025-09-04 09:08:25 +02:00
With a modern architecture, Fredy provides a **clean Web UI**, removes
duplicates across platforms, and stores results so you never see the
same listing twice.
2025-09-03 15:09:35 +02:00
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2021-01-22 13:17:34 +01:00
2025-09-04 09:08:25 +02:00
## ✨ Key Features
2021-07-01 14:26:56 +02:00
2025-09-04 09:08:25 +02:00
- 🏠 Scrapes **ImmoScout24, Immowelt, Immonet, eBay Kleinanzeigen,
WG-Gesucht**
- ⚡ Instant notifications: Slack, Telegram, Email (SendGrid,
Mailjet), ntfy
- 🔎 Uses the **ImmoScout Mobile API** (reverse engineered)
- 🌍 Runs anywhere: Docker, Node.js, self-hosted
- 🖥️ Intuitive **Web UI** to manage searches
- 🎯 Easy to use thanks to a user-friendly Web UI
- 🔄 Deduplication across platforms
- ⏱️ Customizable search intervals
2021-01-22 13:17:34 +01:00
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2025-09-04 09:08:25 +02:00
## 🤝 Sponsorship [![](https://img.shields.io/static/v1?label=Sponsor&message=❤&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/orangecoding)
2023-02-11 21:32:28 +01:00
2025-09-04 09:08:25 +02:00
I maintain Fredy and other open-source projects in my free time.\
If you find it useful, consider supporting the project 💙
2023-02-11 21:32:28 +01:00
2025-09-05 12:34:03 +02:00
Fredy is proudly backed by the **JetBrains Open Source Support Program**.
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://www.jetbrains.com/company/brand/img/logo_jb_dos_3.svg">
<source media="(prefers-color-scheme: light)" srcset="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg">
<img alt="Jetbrains Open Source" src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg">
</picture>
2025-09-03 15:09:35 +02:00
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2025-09-12 13:00:43 +02:00
## 👨‍🏫 Demo
You can try out Fredy here: [Fredy Demo](https://fredy-demo.orange-coding.net/)
------------------------------------------------------------------------
2025-09-04 09:08:25 +02:00
## 🚀 Quick Start
### With Docker
2025-09-07 16:46:43 +02:00
> [!NOTE]
> In order to start Fredy, you must provide a config.json. As a start, use the one in this repo: https://github.com/orangecoding/fredy/blob/master/conf/config.json
2025-09-04 09:08:25 +02:00
``` bash
2025-09-10 11:31:49 +02:00
docker run -d --name fredy \
-v fredy_conf:/conf \
-v fredy_db:/db \
-p 9998:9998 \
ghcr.io/orangecoding/fredy:master
2025-09-04 09:08:25 +02:00
```
2025-09-03 15:09:35 +02:00
2025-09-04 09:08:25 +02:00
Logs:
2025-09-04 09:08:25 +02:00
``` bash
docker logs fredy -f
```
2024-11-22 09:38:50 +01:00
2025-09-04 09:08:25 +02:00
### Manual (Node.js)
2021-01-22 13:17:34 +01:00
- Requirement: **Node.js 22 or higher**
2025-09-04 09:08:25 +02:00
- Install dependencies and start:
2025-09-04 09:08:25 +02:00
``` bash
yarn
2025-09-03 15:09:35 +02:00
yarn run start:backend # in one terminal
yarn run start:frontend # in another terminal
```
2025-09-04 09:08:25 +02:00
👉 Open <http://localhost:9998>
2025-09-03 15:09:35 +02:00
2025-09-04 09:08:25 +02:00
**Default Login:**
- Username: `admin`
- Password: `admin`
2025-09-03 15:09:35 +02:00
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2020-07-17 15:39:11 +02:00
2025-09-04 09:08:25 +02:00
## 📸 Screenshots
2025-09-03 14:52:58 +02:00
| Job Configuration | Job Analytics | Job Overview |
|-------------------|--------------|--------------|
| ![Screenshot showing job configuration in Fredy](doc/screenshot1.png) | ![Screenshot showing job analytics in Fredy](doc/screenshot_2.png) | ![Screenshot showing job overview in Fredy](doc/screenshot_3.png) |
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2025-09-04 09:08:25 +02:00
## 🧩 Core Concepts
2020-08-15 13:22:38 +02:00
2025-09-04 09:08:25 +02:00
Fredy is built around three simple concepts:
2025-09-04 09:08:25 +02:00
### Provider 🌐
2020-08-15 13:22:38 +02:00
2025-09-04 09:08:25 +02:00
A **provider** is a real-estate platform (e.g. ImmoScout24, Immowelt,
Immonet, eBay Kleinanzeigen, WG-Gesucht).\
When you create a job, you paste the search URL from the platform into
Fredy.\
⚠️ Always make sure the search results are sorted by **date**, so Fredy
picks up the newest listings first.
2025-09-04 09:08:25 +02:00
### Adapter 📡
2025-09-04 09:08:25 +02:00
An **adapter** is the channel through which Fredy notifies you (Slack,
Telegram, Email, ntfy, ...).\
Each adapter has its own configuration (e.g. API keys, webhook URLs).\
You can use multiple adapters at once --- Fredy will send new listings
through all of them.
2025-09-04 09:08:25 +02:00
### Job 📅
2025-09-04 09:08:25 +02:00
A **job** combines providers and adapters.\
Example: "Search apartments on ImmoScout24 + Immowelt and send results
to Slack + Telegram."\
Jobs run automatically at the interval you configure (see
`/conf/config.json`).
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2025-09-04 09:08:25 +02:00
## Immoscout
2025-09-04 09:08:25 +02:00
Immoscout has implemented advanced bot detection. In order to work around this, we are using a reversed engineered version of their mobile api. See [Immoscout Reverse Engineering Documentation](https://github.com/orangecoding/fredy/blob/master/reverse-engineered-immoscout.md)
2025-09-04 09:08:25 +02:00
## Analytics
2025-09-04 09:08:25 +02:00
Fredy is completely free (and will always remain free). However, it would be a huge help if youd allow me to collect some analytical data.
Before you freak out, let me explain...
If you agree, Fredy will send a ping once every 6 hours to my internal tracking project (Will be open sourced soon).
2025-09-04 09:08:25 +02:00
The data includes: names of active adapters/providers, OS, architecture, Node version, and language. The information is entirely anonymous and helps me understand which adapters/providers are most frequently used.</p>
2025-09-04 09:08:25 +02:00
**Thanks**🤘
2025-09-04 09:08:25 +02:00
## 🛠️ Development
2025-09-04 09:08:25 +02:00
### Development Mode
2025-09-04 09:08:25 +02:00
``` bash
yarn run start:backend:dev
yarn run start:frontend:dev
```
2022-12-19 21:44:10 +01:00
You should now be able to access _Fredy_ from your browser. Check your Terminal to see what port the frontend is running on.
2025-09-04 09:08:25 +02:00
### Run Tests
2025-09-04 09:08:25 +02:00
``` bash
yarn run test
```
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2025-09-04 09:08:25 +02:00
## 📐 Architecture
``` mermaid
flowchart TD
subgraph Jobs["Jobs"]
A1["Job 1"]
A2["Job 2"]
A3["Job 3"]
end
subgraph Providers["Providers"]
C1["Provider 1"]
C2["Provider 2"]
C3["Provider 3"]
end
subgraph NotificationAdapters["Notification Adapters"]
2025-09-04 09:08:25 +02:00
F1["Adapter 1"]
F2["Adapter 2"]
end
A1 --> B["FredyRuntime"]
A2 --> B
A3 --> B
B --> C1 & C2 & C3
2025-09-04 09:08:25 +02:00
C1 --> D["Similarity Check"]
C2 --> D
C3 --> D
2025-09-04 09:08:25 +02:00
D --> E{"Duplicate?"}
E -- No --> F1
F1 --> F2
```
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2025-05-17 09:09:42 +02:00
2025-09-04 09:08:25 +02:00
## 👐 Contributing
2025-05-17 09:09:42 +02:00
2025-09-04 09:08:25 +02:00
Thanks to everyone who has contributed!
2025-09-05 12:35:20 +02:00
<a href="https://github.com/orangecoding/fredy/graphs/contributors"><img src="https://contrib.rocks/image?repo=orangecoding/fredy" /></a>
2024-11-20 22:23:05 +01:00
2025-09-04 09:08:25 +02:00
See the [Contributing
Guide](https://github.com/orangecoding/fredy/blob/master/CONTRIBUTING.md).
2024-11-20 22:23:05 +01:00
2025-09-04 09:08:25 +02:00
------------------------------------------------------------------------
2024-11-20 22:23:05 +01:00
2025-09-04 09:08:25 +02:00
## ⭐ Star History
2025-05-17 09:09:42 +02:00
2025-09-04 09:08:25 +02:00
[![Star History
Chart](https://api.star-history.com/svg?repos=orangecoding/fredy&type=Date)](https://www.star-history.com/#orangecoding/fredy&Date)