-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.js
More file actions
35 lines (31 loc) · 1.1 KB
/
config.example.js
File metadata and controls
35 lines (31 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
* Example configuration file for directory submissions
* Copy this file to config.js and fill in your actual data
*/
export default {
// Your project/tool information
submission: {
name: 'Your Tool Name',
url: 'https://yourtool.com',
email: 'your-email@example.com',
description: 'A brief description of your tool or service (150-200 characters)',
category: 'AI Tools', // Adjust based on directory categories
tags: ['ai', 'automation', 'productivity'],
},
// Bot configuration
bot: {
headless: false, // Set to true for production, false to see the browser
timeout: 30000, // 30 seconds timeout for page loads
delayBetweenSubmissions: 5000, // 5 seconds delay between each submission
screenshotOnError: true, // Take screenshots when errors occur
},
// CSV file path
csvPath: './directories.csv',
// Filter options
filter: {
// Only process unsubmitted directories (status is empty)
onlyUnsubmitted: true,
// Limit number of directories to process (useful for testing)
limit: null, // Set to a number like 5 for testing, null for all
},
};