Skip to content

Commit 04ed79b

Browse files
authored
Merge pull request #125 from getmaxun/develop
chore: release public v0.0.1
2 parents c869816 + 34055ab commit 04ed79b

File tree

11 files changed

+48
-15
lines changed

11 files changed

+48
-15
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align="center">
22
<div>
33
<a href="https://maxun-website.vercel.app/">
4-
<img src="/public/img/maxunlogo.png" width="50" />
4+
<img src="/src/assets/maxunlogo.png" width="50" />
55
<br>
66
Maxun
77
</a>
@@ -18,7 +18,8 @@ Maxun lets you train a robot in 2 minutes and scrape the web on auto-pilot. Web
1818
<a href="https://maxun-website.vercel.app/"><b>Website</b></a> |
1919
<a href="https://discord.com/invite/NFhWDCdb"><b>Discord</b></a> |
2020
<a href="https://x.com/maxun_io"><b>Twitter</b></a> |
21-
<a href="https://docs.google.com/forms/d/e/1FAIpQLSdbD2uhqC4sbg4eLZ9qrFbyrfkXZ2XsI6dQ0USRCQNZNn5pzg/viewform"><b>Join Maxun Cloud</b></a>
21+
<a href="https://docs.google.com/forms/d/e/1FAIpQLSdbD2uhqC4sbg4eLZ9qrFbyrfkXZ2XsI6dQ0USRCQNZNn5pzg/viewform"><b>Join Maxun Cloud</b></a> |
22+
<a href="https://www.youtube.com/@MaxunOSS"><b>Watch Tutorials</b></a>
2223
</p>
2324

2425
![maxun_demo](https://github.com/user-attachments/assets/a61ba670-e56a-4ae1-9681-0b4bd6ba9cdc)
@@ -109,6 +110,17 @@ BYOP (Bring Your Own Proxy) lets you connect external proxies to bypass anti-bot
109110
# Cloud
110111
We offer a managed cloud version to run Maxun without having to manage the infrastructure and extract data at scale. Maxun cloud also deals with anti-bot detection, huge proxy network with automatic proxy rotation, and CAPTCHA solving. If this interests you, [join the cloud waitlist](https://docs.google.com/forms/d/e/1FAIpQLSdbD2uhqC4sbg4eLZ9qrFbyrfkXZ2XsI6dQ0USRCQNZNn5pzg/viewform) as we launch soon.
111112

113+
# Screenshots
114+
![Maxun PH Launch (1)-1-1](https://github.com/user-attachments/assets/d7c75fa2-2bbc-47bb-a5f6-0ee6c162f391)
115+
![Maxun PH Launch (1)-2-1](https://github.com/user-attachments/assets/d85a3ec7-8ce8-4daa-89aa-52d9617e227a)
116+
![Maxun PH Launch (1)-3-1](https://github.com/user-attachments/assets/4bd5a0b4-485d-44f4-a487-edd9afc18b11)
117+
![Maxun PH Launch (1)-4-1](https://github.com/user-attachments/assets/78140675-a6b6-49b2-981f-6a3d9a32b0b9)
118+
![Maxun PH Launch (1)-5-1](https://github.com/user-attachments/assets/d9fe8519-c81c-4e45-92f2-b2939bf24192)
119+
![Maxun PH Launch (1)-6-1](https://github.com/user-attachments/assets/c26e9ae3-c3da-4280-826a-c7cdf913fb93)
120+
![Maxun PH Launch (1)-7-1](https://github.com/user-attachments/assets/fd7196f4-a6dc-4c4c-9c76-fdd93fac8247)
121+
![Maxun PH Launch (1)-8-1](https://github.com/user-attachments/assets/16ee4a71-772a-49ae-a0e5-cb0529519bda)
122+
![Maxun PH Launch (1)-9-1](https://github.com/user-attachments/assets/160f46fa-0357-4c1b-ba50-b4fe64453bb7)
123+
112124
# Note
113125
This project is in early stages of development. Your feedback is very important for us - we're actively working to improve the product. <a href="https://forms.gle/E8vRMVB7bUbsSktPA">Drop anonymous feedback here.</a>
114126

docker-compose.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ services:
5252
# DEBUG: pw:api
5353
# PWDEBUG: 1 # Enables debugging
5454
CHROMIUM_FLAGS: '--disable-gpu --no-sandbox --headless=new'
55-
volumes:
56-
# - /tmp/.X11-unix:/tmp/.X11-unix
57-
- /var/run/dbus:/var/run/dbus # Add this for D-Bus support
5855
security_opt:
5956
- seccomp=unconfined # This might help with browser sandbox issues
6057
# Increase shared memory size for Chromium
@@ -63,6 +60,10 @@ services:
6360
- postgres
6461
- redis
6562
- minio
63+
volumes:
64+
- ./server:/app/server # Mount server source code for hot reloading
65+
- ./maxun-core:/app/maxun-core # Mount maxun-core for any shared code updates
66+
- /var/run/dbus:/var/run/dbus
6667

6768
frontend:
6869
build:
@@ -71,6 +72,9 @@ services:
7172
ports:
7273
- "5173:5173"
7374
env_file: .env
75+
volumes:
76+
- ./:/app # Mount entire frontend app directory for hot reloading
77+
- /app/node_modules # Anonymous volume to prevent overwriting node_modules
7478
depends_on:
7579
- backend
7680

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
name="description"
99
content="Web site created using Vite"
1010
/>
11-
<link rel="icon" type="image/png" href="img/maxunlogo.png">
11+
<link rel="icon" type="image/png" href="src/assets/maxunlogo.png">
1212
<title>Maxun | Open Source No Code Web Data Extraction Platform</title>
1313
</head>
1414
<body>

server/src/api/record.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ export async function handleRunRecording(id: string, userId: string) {
650650
throw new Error('browserId or runId or userId is undefined');
651651
}
652652

653-
const socket = io(`${process.env.BACKEND_URL}/${browserId}`, {
653+
const socket = io(`${process.env.BACKEND_URL ? process.env.BACKEND_URL : 'http://localhost:8080'}/${browserId}`, {
654654
transports: ['websocket'],
655655
rejectUnauthorized: false
656656
});

server/src/storage/mino.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Client } from 'minio';
22
import Run from '../models/Run';
33

44
const minioClient = new Client({
5-
endPoint: process.env.MINIO_ENDPOINT || 'localhost',
5+
endPoint: process.env.MINIO_ENDPOINT ? process.env.MINIO_ENDPOINT : 'localhost',
66
port: parseInt(process.env.MINIO_PORT || '9000'),
77
useSSL: false,
88
accessKey: process.env.MINIO_ACCESS_KEY || 'minio-access-key',
@@ -108,7 +108,8 @@ class BinaryOutputService {
108108
await this.uploadBinaryOutputToMinioBucket(run, minioKey, binaryData);
109109

110110
// Construct the public URL for the uploaded object
111-
const publicUrl = `http://${process.env.MINIO_ENDPOINT}:${process.env.MINIO_PORT}/${this.bucketName}/${minioKey}`;
111+
// todo: use minio endpoint
112+
const publicUrl = `http://localhost:${process.env.MINIO_PORT}/${this.bucketName}/${minioKey}`;
112113

113114
// Save the public URL in the result object
114115
uploadedBinaryOutput[key] = publicUrl;

server/src/workflow-management/scheduler/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export async function handleRunRecording(id: string, userId: string) {
223223
throw new Error('browserId or runId or userId is undefined');
224224
}
225225

226-
const socket = io(`${process.env.BACKEND_URL}/${browserId}`, {
226+
const socket = io(`${process.env.BACKEND_URL ? process.env.BACKEND_URL : 'http://localhost:8080'}/${browserId}`, {
227227
transports: ['websocket'],
228228
rejectUnauthorized: false
229229
});

src/apiConfig.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

src/components/molecules/ActionDescriptionBox.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import styled from 'styled-components';
33
import { Typography, FormControlLabel, Checkbox, Box } from '@mui/material';
44
import { useActionContext } from '../../context/browserActions';
5+
import MaxunLogo from "../../assets/maxunlogo.png";
56

67
const CustomBoxContainer = styled.div`
78
position: relative;
@@ -110,7 +111,7 @@ const ActionDescriptionBox = () => {
110111

111112
return (
112113
<CustomBoxContainer>
113-
<Logo src="/img/maxunlogo.png" alt="Maxun Logo" />
114+
<Logo src={MaxunLogo} alt="Maxun Logo" />
114115
<Triangle />
115116
<Content>
116117
{renderActionDescription()}

src/components/molecules/NavBar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { AuthContext } from '../../context/auth';
1010
import { SaveRecording } from '../molecules/SaveRecording';
1111
import DiscordIcon from '../atoms/DiscordIcon';
1212
import { apiUrl } from '../../apiConfig';
13+
import MaxunLogo from "../../assets/maxunlogo.png";
1314

1415
interface NavBarProps {
1516
recordingName: string;
@@ -55,7 +56,7 @@ export const NavBar: React.FC<NavBarProps> = ({ recordingName, isRecording }) =>
5556
display: 'flex',
5657
justifyContent: 'flex-start',
5758
}}>
58-
<img src="img/maxunlogo.png" width={45} height={40} style={{ borderRadius: '5px', margin: '5px 0px 5px 15px' }} />
59+
<img src={MaxunLogo} width={45} height={40} style={{ borderRadius: '5px', margin: '5px 0px 5px 15px' }} />
5960
<div style={{ padding: '11px' }}><ProjectName>Maxun</ProjectName></div>
6061
</div>
6162
{

0 commit comments

Comments
 (0)