https://github.com/wendy7756/globaltravelguide
π Explore the world, one Markdown route at a time. Open-source travel content platform for global creators.
https://github.com/wendy7756/globaltravelguide
astro content markdown open-source static-site tourism-website travel travel-website
Last synced: 5 months ago
JSON representation
π Explore the world, one Markdown route at a time. Open-source travel content platform for global creators.
- Host: GitHub
- URL: https://github.com/wendy7756/globaltravelguide
- Owner: wendy7756
- License: other
- Created: 2025-06-18T08:37:59.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-06-18T12:25:33.000Z (5 months ago)
- Last Synced: 2025-06-18T13:32:42.545Z (5 months ago)
- Topics: astro, content, markdown, open-source, static-site, tourism-website, travel, travel-website
- Language: Astro
- Homepage: https://localtravelguide.fun
- Size: 72.7 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# π Global Travel Guide (localtravelguide.fun)
Welcome to **Global Travel Guide** β a global, community-powered website for sharing local travel experiences.
Whether you're a traveler, digital nomad, or local explorer, you can **publish your own travel pages** and inspire others with your unique tips and stories.
π Live site: [https://localtravelguide.fun](https://localtravelguide.fun)

---
## β¨ Key Features
- π§ Curated travel guides by city, theme, or route
- π Supports multilingual pages (starting with English & Chinese)
- πΈ Built-in layout for attractions, food, culture, and itineraries
- π§© Powered by [Astro](https://astro.build) β fast, modern site framework
- π Open to global contributors β build your own travel page!
---
## π§βπ» How to Contribute
We welcome everyone to share their own **local or international travel experiences**!
You can contribute by:
- Creating a new guide page (in Markdown or Astro format)
- Sharing photos, travel tips, food spots, or full-day itineraries
- Improving existing pages or translating them
> β **Please only submit original content** or content you have the legal rights to share.
### β
Content Requirements
- Content must be **original** and not copied from other websites, books, or commercial sources.
- Images must be your own or clearly credited with permission/license.
- You retain your copyright, but grant the project a license to display it.
---
## β οΈ Legal Disclaimer
By submitting content to this project, you confirm that:
- You **own the rights** to the materials you upload (text, images, etc.);
- You **understand and accept** that your contributions may be published and distributed under an open license;
- You agree that the project developers and maintainers are **not liable** for any content-related legal issues (e.g., copyright, defamation, or privacy violations) arising from your submission.
The maintainers reserve the right to remove any content at their discretion.
---
## π Tech Stack
- Framework: [Astro](https://astro.build)
- Deployment: [Netlify](https://netlify.com)
- Styling: CSS Modules / Global Styles
- Content: Markdown + Astro pages
- Future-proof: Open to CMS or i18n extensions
---
## π Project Structure
\`\`\`
## π Project Structure
.
βββ public/ # Static assets (images, favicons)
βββ src/
β βββ pages/ # Route-based content (guides, index)
β βββ components/ # UI components (Hero, layout blocks)
β βββ layouts/ # Page templates
β βββ data/ # Structured data (content: routes, destinations)
β βββ styles/ # Global styles
βββ package.json # NPM dependencies
βββ astro.config.mjs # Astro config
\`\`\`
---
## π Quick Start
Clone the repo and run locally:
```bash
git clone https://github.com/wendy7756/travelguide.git
cd travelguide
npm install
# Configure environment variables (optional)
cp .env.example .env
# Edit .env file to add your Google AdSense client ID
npm run dev
```
Build for production:
```bash
npm run build
```
Preview build locally:
```bash
npm run preview
```
## π° Google AdSense Configuration (Optional)
This project supports Google AdSense integration for monetization. If you want to enable ads:
1. **Get your AdSense Client ID**:
- Sign up at [Google AdSense](https://www.google.com/adsense/)
- Get your publisher ID (format: `ca-pub-XXXXXXXXXXXXXXXX`)
2. **Configure Environment Variables**:
```bash
cp .env.example .env
```
3. **Edit `.env` file**:
```
PUBLIC_ADSENSE_CLIENT=ca-pub-YOUR-ADSENSE-ID
```
4. **Deploy and Verify**:
- Deploy your site
- Verify site ownership in AdSense dashboard
- Enable Auto Ads in your AdSense account
> **β οΈ Important for Open Source**: The `.env` file is gitignored to prevent sharing your AdSense ID. Each developer should configure their own AdSense account.
π License
This project is licensed under the MIT License.
User-submitted content remains the responsibility of the contributor.
The project maintainers disclaim all liability for any uploaded materials.
βΈ»
π¬ Questions or Feedback?
Feel free to open an Issue or start a discussion.
Weβd love to see your city, culture, and favorite local places featured on the site!
βΈ»
β Star this repo to support global open travel knowledge!