{"id":21586433,"url":"https://github.com/climactic/texto","last_synced_at":"2026-01-28T11:10:01.203Z","repository":{"id":258876104,"uuid":"875833747","full_name":"Climactic/Texto","owner":"Climactic","description":"Texto is a simple API server for serving MDX content, built with Bun and Elysia.","archived":false,"fork":false,"pushed_at":"2024-10-21T16:03:33.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-24T17:55:21.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Climactic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-20T23:50:25.000Z","updated_at":"2024-10-21T17:00:53.000Z","dependencies_parsed_at":"2024-10-21T03:54:07.221Z","dependency_job_id":null,"html_url":"https://github.com/Climactic/Texto","commit_stats":null,"previous_names":["climactic/texto"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Climactic%2FTexto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Climactic%2FTexto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Climactic%2FTexto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Climactic%2FTexto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Climactic","download_url":"https://codeload.github.com/Climactic/Texto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248289838,"owners_count":21078921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T15:13:41.302Z","updated_at":"2026-01-28T11:09:59.845Z","avatar_url":"https://github.com/Climactic.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Texto\n\nTexto is a simple API server for serving MDX content, built with Bun and Elysia.\n\n\u003c/div\u003e\n\n## Features\n\n- Serves MDX content so you can use any version control system to manage your content\n- Multiple categories of posts based on directory structure\n- API endpoints for listing posts and retrieving individual posts\n- Rate limiting, logging and compression for production\n\n## Prerequisites\n\n- [Bun](https://bun.sh) v1.1.31 or later\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/climactic/texto.git\n   cd texto\n   ```\n\n2. Install dependencies:\n   ```bash\n   bun i\n   ```\n\n3. Create a `.env` file based on the `.env.example` and adjust the values as needed:\n   ```bash\n   cp .env.example .env\n   ```\n\n4. Write some content in the `content` directory and start the server:\n   ```bash\n   bun dev\n   ```\n\n5. Access the API at `http://localhost:3000/api/posts`\n\n6. Get a post by its slug:\n   ```bash\n   http://localhost:3000/api/posts/{category}/{slug}\n   ```\n\n## Configuration\n\nThe following environment variables can be set in the `.env` file:\n\n- `PORT`: The port on which the server will run (default: 3000)\n- `RATE_LIMIT_MAX`: Maximum number of requests per duration (default: 100)\n- `RATE_LIMIT_DURATION`: Duration for rate limiting in milliseconds (default: 60000)\n- `RENDER_HTML`: Set to `true` to render markdown content as HTML (default: false)\n\n## License\n\nThis project is licensed under the Apache2.0 License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclimactic%2Ftexto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclimactic%2Ftexto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclimactic%2Ftexto/lists"}