Ecrivai
Fully automated AI blog writer that uses LangChain and GPT type LLMs for topic selection and content generation
Install / Use
/learn @ruankie/EcrivaiREADME
🦜🔗✏️EcrivAI
EcrivAI is a fully automated AI blog writer that uses LangChain and GPT type LLMs for topic selection and content generation. The content is published to this blog
<details closed><summary>Star History</summary> <a href="https://star-history.com/#ruankie/ecrivai&Timeline"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=ruankie/ecrivai&type=Timeline&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=ruankie/ecrivai&type=Timeline" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=ruankie/ecrivai&type=Timeline" /> </picture> </a> </details>Usage
Prerequisites
- 🐍 You will need a working install of
conda. - 🔑 You will need an API key from OpenAI or Google. You can create one for free here:
Dev Environment Setup
- Set up your API keys in a file called
.env(see.env.examplefor an example) - Set up and activate conda environment
conda env create -f conda.yml conda activate ecrivai
If you are having trouble setting your environment variables with the
.envfile or you want to manually add them instead of using a.envfile, you can set your environment variable in yourecrivaiconda environment like this:# set api key env var conda env config vars set OPENAI_API_KEY="your-api-key-here" conda env config vars set GOOGLE_API_KEY="your-api-key-here" # re-activate env conda activate base conda activate ecrivai
CLI
Note: Remember to activate your
ecrivaiconda environment before doing this (see above)
You can quickly generate a new original blog by running:
python ecrivai/add_blog.py
This will add a blog to a Markdown file in a directory called content/. You can also specify your own output directory by running this instead:
python ecrivai/add_blog.py --out-dir path/to/dir
Related Skills
imsg
347.9kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
oracle
347.9kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
lobster
347.9kLobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (s
qqbot-channel
347.9kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
