|
1 |
| -# Astro Starter Kit: Minimal |
| 1 | +# Hackathon.chat 🚀 |
2 | 2 |
|
3 |
| -```sh |
4 |
| -npm create astro@latest -- --template minimal |
| 3 | +**Hackathon.chat** is an open-source platform dedicated to collecting and showcasing global tech events, providing developers, entrepreneurs, and tech enthusiasts with a centralized hub for event information. |
| 4 | + |
| 5 | +## 🎯 Mission |
| 6 | + |
| 7 | +- **Global Tech Event Aggregator**: Collect hackathons, tech conferences, innovation summits, and other tech events from around the world |
| 8 | +- **Developer-Friendly**: Simplified contribution process that allows community members to easily add events |
| 9 | +- **Diverse Coverage**: Covers multiple tech domains including AI, Blockchain, Big Data, Cloud Computing, Fintech, Gaming, IoT, and more |
| 10 | +- **Regional Organization**: Events organized by regions (Americas, Asia, Europe, etc.) for easy local discovery |
| 11 | + |
| 12 | +## 🌟 Features |
| 13 | + |
| 14 | +- 📅 Time-sorted event listings |
| 15 | +- 🏷️ Multi-dimensional tag classification (tech type, region) |
| 16 | +- ⭐ Featured event recommendations |
| 17 | +- 🔍 Smart filtering functionality |
| 18 | +- 📱 Responsive design with mobile support |
| 19 | + |
| 20 | +## 🤝 How to Contribute Events |
| 21 | + |
| 22 | +### Step 1: Fork the Repository |
| 23 | +Click the "Fork" button in the top-right corner to copy the project to your GitHub account. |
| 24 | + |
| 25 | +### Step 2: Create Event File |
| 26 | +Create a new `.md` file in the `src/content/events/` directory. Use a descriptive filename based on the event name, e.g., `eth-vietnam-2025.md` |
| 27 | + |
| 28 | +### Step 3: Fill Event Information |
| 29 | +Use the following template to fill in event details: |
| 30 | + |
| 31 | +```yaml |
| 32 | +--- |
| 33 | +title: "Event Title" |
| 34 | +startDate: 2025-08-09 |
| 35 | +location: |
| 36 | + city: "City Name" |
| 37 | + country: "Country Name" |
| 38 | +url: "https://event-website-link" |
| 39 | +image: "/images/event-image.png" |
| 40 | +featured: true |
| 41 | +eventType: ["AI", "Web3.0"] # Options: AI, Big Data, Cloud, Fintech, Gaming, IoT, Web3.0 |
| 42 | +region: "Asia" # Options: Americas, Asia, Europe, Other |
| 43 | +--- |
5 | 44 | ```
|
6 | 45 |
|
7 |
| -[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal) |
8 |
| -[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal) |
9 |
| -[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json) |
| 46 | +### Step 4: Add Event Image (Optional) |
| 47 | +If you have an event image, place it in the `public/images/` directory. Recommended size: 400×225 pixels. |
10 | 48 |
|
11 |
| -> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun! |
| 49 | +### Step 5: Submit Pull Request |
| 50 | +1. Commit your changes to your forked repository |
| 51 | +2. Create a Pull Request to the main repository |
| 52 | +3. Wait for review and merge |
12 | 53 |
|
13 |
| -## 🚀 Project Structure |
| 54 | +## 📋 Field Reference |
14 | 55 |
|
15 |
| -Inside of your Astro project, you'll see the following folders and files: |
| 56 | +| Field | Type | Required | Description | |
| 57 | +|-------|------|----------|-------------| |
| 58 | +| `title` | String | ✅ | Event title | |
| 59 | +| `startDate` | Date | ✅ | Start date (YYYY-MM-DD) | |
| 60 | +| `location.city` | String | ✅ | Host city | |
| 61 | +| `location.country` | String | ✅ | Host country | |
| 62 | +| `url` | String | ✅ | Official event website | |
| 63 | +| `image` | String | ✅ | Event image path | |
| 64 | +| `featured` | Boolean | ✅ | Whether it's a featured event | |
| 65 | +| `eventType` | Array | ✅ | Event type tags | |
| 66 | +| `region` | String | ✅ | Geographic region | |
16 | 67 |
|
17 |
| -```text |
18 |
| -/ |
19 |
| -├── public/ |
20 |
| -├── src/ |
21 |
| -│ └── pages/ |
22 |
| -│ └── index.astro |
23 |
| -└── package.json |
| 68 | +### eventType Options |
| 69 | +- `AI` - Artificial Intelligence |
| 70 | +- `Big Data` - Big Data & Analytics |
| 71 | +- `Cloud` - Cloud Computing |
| 72 | +- `Fintech` - Financial Technology |
| 73 | +- `Gaming` - Gaming & Entertainment |
| 74 | +- `IoT` - Internet of Things |
| 75 | +- `Web3.0` - Web3.0 & Blockchain |
| 76 | + |
| 77 | +### region Options |
| 78 | +- `Americas` - North & South America |
| 79 | +- `Asia` - Asia & Pacific |
| 80 | +- `Europe` - Europe & Africa |
| 81 | +- `Other` - Other regions |
| 82 | + |
| 83 | +## 🛠️ Local Development |
| 84 | + |
| 85 | +```bash |
| 86 | +# Install dependencies |
| 87 | +npm install |
| 88 | + |
| 89 | +# Start development server |
| 90 | +npm run dev |
| 91 | + |
| 92 | +# Build for production |
| 93 | +npm run build |
| 94 | + |
| 95 | +# Preview production build |
| 96 | +npm run preview |
24 | 97 | ```
|
25 | 98 |
|
26 |
| -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. |
| 99 | +## 📝 Contribution Guidelines |
| 100 | + |
| 101 | +1. Ensure event information is accurate and up-to-date |
| 102 | +2. Use clear and descriptive event titles |
| 103 | +3. Provide valid official website links |
| 104 | +4. Select appropriate event types and region tags |
| 105 | +5. If including images, ensure good quality and proper dimensions |
| 106 | + |
| 107 | +## 🤖 Tech Stack |
27 | 108 |
|
28 |
| -There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. |
| 109 | +- **Framework**: [Astro](https://astro.build/) |
| 110 | +- **Styling**: CSS |
| 111 | +- **Deployment**: GitHub Pages |
| 112 | +- **Content Management**: Markdown + Frontmatter |
29 | 113 |
|
30 |
| -Any static assets, like images, can be placed in the `public/` directory. |
| 114 | +## 📄 License |
31 | 115 |
|
32 |
| -## 🧞 Commands |
| 116 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
33 | 117 |
|
34 |
| -All commands are run from the root of the project, from a terminal: |
| 118 | +## 🙏 Acknowledgments |
35 | 119 |
|
36 |
| -| Command | Action | |
37 |
| -| :------------------------ | :----------------------------------------------- | |
38 |
| -| `npm install` | Installs dependencies | |
39 |
| -| `npm run dev` | Starts local dev server at `localhost:4321` | |
40 |
| -| `npm run build` | Build your production site to `./dist/` | |
41 |
| -| `npm run preview` | Preview your build locally, before deploying | |
42 |
| -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | |
43 |
| -| `npm run astro -- --help` | Get help using the Astro CLI | |
| 120 | +Thanks to all developers and community members who contribute event information to Hackathon.chat! |
44 | 121 |
|
45 |
| -## 👀 Want to learn more? |
| 122 | +--- |
46 | 123 |
|
47 |
| -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). |
| 124 | +**Let's build the world's most comprehensive tech event platform together!** 🌍✨ |
0 commit comments