Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vancura/developer-actor
https://github.com/vancura/developer-actor
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vancura/developer-actor
- Owner: vancura
- Created: 2024-10-14T12:56:08.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-25T09:30:20.000Z (2 months ago)
- Last Synced: 2024-10-25T09:30:48.084Z (2 months ago)
- Language: MDX
- Homepage: https://developer-actor.vercel.app
- Size: 604 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Web Actor Programming Model Whitepaper
This repository contains the documentation website for the Actor Programming Model, a new concept for building serverless microapps called _Actors_. The site is built using Astro and provides comprehensive documentation about developing, sharing, and integrating Actors.
## Features
- Built with Astro for optimal static site generation
- Responsive design with Tailwind CSS
- Interactive Table of Contents with progress tracking
- Code syntax highlighting with copy functionality
- Dark mode support
- MDX content support with custom components
- Modal-based navigation system for internal links
- Smooth scroll behavior for navigation
- Banner component for improved inner page context
- Automatic sitemap generation for improved SEO## Tech Stack
- [Astro](https://astro.build) - Static Site Generator
- [Tailwind CSS](https://tailwindcss.com) - Styling
- [MDX](https://mdxjs.com) - Content
- [TypeScript](https://www.typescriptlang.org) - Type Safety
- [Sharp](https://sharp.pixelplumbing.com/) - Image optimization
- [ESLint](https://eslint.org/) - Code linting
- [Prettier](https://prettier.io/) - Code formatting
- [Vercel](https://vercel.com) - Deployment## Prerequisites
- Node.js v16+ (recommended: v18.0 or higher)
- Yarn v1.22 or later## Installation
1. Clone the repository:
```bash
git clone https://github.com/vancura/developer-actor.git
cd developer-actor
```2. Install dependencies:
```bash
yarn install
```3. Start the development server:
```bash
yarn dev
```## Available Scripts
- `yarn dev` - Start development server with host access
- `yarn build` - Build for production
- `yarn preview` - Preview production build
- `yarn clean` - Clean dist and node_modules directories
- `yarn format` - Format code with Prettier
- `yarn lint` - Run ESLint checks
- `yarn lint:fix` - Fix ESLint issues and format code## Project Structure
```
src/
├── components/ # Reusable UI components
├── config/ # Configuration files
├── content/ # MDX content files
├── layouts/ # Page layouts
├── pages/ # Astro pages
├── styles/ # Global styles
├── types/ # TypeScript types
└── utils/ # Utility functions
```## Styling
The project uses Tailwind CSS for styling with custom configurations for:
- Typography
- Colors
- Responsive design
- Dark modeCustom styles for MDX content can be found in [src/styles/mdx-content.css](src/styles/mdx-content.css).
## SEO
The site implements comprehensive SEO practices including:
- Meta tags
- Canonical URLs
- OpenGraph data
- Structured data
- Automatic sitemap generation for search engine crawlingSEO configuration can be found in the BaseHead component: [src/components/BaseHead.astro](src/components/BaseHead.astro).
## Performance
The site implements various performance optimizations:
- Image optimization with Sharp
- Asset caching through Vercel
- CSS and JavaScript minification
- Responsive images with multiple formats## Contributing
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Authors
- [Václav Vančura](https://github.com/vancura) - Designer, Developer
- [Adam Kliment](https://github.com/netmilk) - Owner## Acknowledgments
- [Apify Team](https://apify.com) for creating the Actor Programming Model
- [Astro](https://astro.build) for the amazing static site generator
- [Tailwind CSS](https://tailwindcss.com) for the utility-first CSS framework