Trend
Content creation and management toolkit. Draft posts, edit content, optimize for engagement, schedule publications, generate hashtags, write hooks and CTAs, rewrite text, translate content, adjust tone, craft headlines, and build outlines. All entries are timestamped and stored locally for full traceability.
Commands
Content Creation
| Command |
Description |
trend draft [input] |
Draft new content (no args = show recent drafts) |
trend edit [input] |
Edit/refine content (no args = show recent edits) |
trend rewrite [input] |
Rewrite existing content (no args = show recent rewrites) |
trend headline [input] |
Craft headlines (no args = show recent headlines) |
trend outline [input] |
Build content outlines (no args = show recent outlines) |
Content Optimization
| Command |
Description |
trend optimize [input] |
Optimize content for engagement (no args = show recent) |
trend hashtags [input] |
Generate hashtags (no args = show recent) |
trend hooks [input] |
Write attention-grabbing hooks (no args = show recent) |
trend cta [input] |
Create calls-to-action (no args = show recent) |
trend tone [input] |
Adjust content tone (no args = show recent) |
Publishing
| Command |
Description |
trend schedule [input] |
Schedule content for publication (no args = show recent) |
trend translate [input] |
Translate content (no args = show recent translations) |
Data & Reporting
| Command |
Description |
trend stats |
Summary statistics across all entry types |
trend export <fmt> |
Export all data (json, csv, or txt) |
trend search <term> |
Search across all entries |
trend recent |
Show last 20 activity log entries |
trend status |
Health check: version, entry count, disk usage, last activity |
Utility
| Command |
Description |
trend help |
Show help with all commands |
trend version |
Show version number |
Data Storage
All data is stored locally at ~/.local/share/trend/ by default:
draft.log, edit.log, optimize.log, etc. — One log file per command type, entries are timestamp|input format
history.log — Unified activity history with timestamps for every command run
export.json, export.csv, export.txt — Generated export files
Each command supports two modes:
- With arguments: Saves the input with a timestamp and confirms
- Without arguments: Shows the 20 most recent entries for that command type
Requirements
- bash 4+
- Standard UNIX utilities (
date, wc, du, grep, tail, head, sed, cut)
- No external dependencies or API keys required
When to Use
- Content drafting workflow — Use
draft to capture ideas, outline to structure them, headline to title them, then edit to refine
- Social media optimization — Run
hashtags for tags, hooks for attention-grabbing openers, cta for calls-to-action, and tone to match platform voice
- Content scheduling — Use
schedule to log publication timelines and translate to prepare multi-language versions
- Content audit — Run
stats to see activity across all content types, search to find specific entries, and recent to review the latest work
- Data export and backup — Use
export json for structured data, export csv for spreadsheet import, or export txt for readable dumps
Examples
# Draft a new blog post idea
trend draft "10 tips for better remote work productivity"
# View all recent drafts
trend draft
# Create an outline for the post
trend outline "Intro, 10 tips with examples, conclusion with CTA"
# Craft a headline
trend headline "Remote Work Productivity: 10 Tips That Actually Work"
# Generate hashtags for social media
trend hashtags "#remotework #productivity #wfh #tipsandtricks"
# Write a hook for the post
trend hooks "Most remote workers waste 3 hours a day. Here's how to fix that."
# Create a call-to-action
trend cta "Download our free remote work checklist"
# Optimize the content
trend optimize "Added power words, shortened paragraphs, added bullet points"
# Adjust tone for LinkedIn
trend tone "Professional but approachable, data-driven"
# Schedule for publication
trend schedule "Publish Monday 9am EST on blog, noon on LinkedIn"
# Translate to another language
trend translate "Spanish version for LATAM audience"
# Rewrite an existing section
trend rewrite "Simplified the introduction, removed jargon"
# Edit the final draft
trend edit "Final proofread, fixed typos, added links"
# Check overall stats
trend stats
# Export all data as JSON
trend export json
# Search for a specific topic
trend search "productivity"
# View recent activity
trend recent
# Health check
trend status
Tips
- Every command with input is automatically timestamped and logged — nothing is lost
- Run commands without arguments to review your recent entries (shows last 20)
- Use
stats to see entry counts per command type for a bird's-eye view
- Export supports three formats:
json (structured), csv (spreadsheets), txt (human-readable)
- All log files are plain text and can be edited or grepped directly
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---2name: trend3description: Track trending topics with popularity, sentiment, and alerts. Use when drafting reports, optimizing keywords, scheduling checks, tagging hashtags.4license: MIT-05---6# Trend
7
8Content creation and management toolkit. Draft posts, edit content, optimize for engagement, schedule publications, generate hashtags, write hooks and CTAs, rewrite text, translate content, adjust tone, craft headlines, and build outlines. All entries are timestamped and stored locally for full traceability.
9
10## Commands
11
12### Content Creation
13
14| Command | Description |
15|---------|-------------|
16| `trend draft [input]` | Draft new content (no args = show recent drafts) |
17| `trend edit [input]` | Edit/refine content (no args = show recent edits) |
18| `trend rewrite [input]` | Rewrite existing content (no args = show recent rewrites) |
19| `trend headline [input]` | Craft headlines (no args = show recent headlines) |
20| `trend outline [input]` | Build content outlines (no args = show recent outlines) |
21
22### Content Optimization
23
24| Command | Description |
25|---------|-------------|
26| `trend optimize [input]` | Optimize content for engagement (no args = show recent) |
27| `trend hashtags [input]` | Generate hashtags (no args = show recent) |
28| `trend hooks [input]` | Write attention-grabbing hooks (no args = show recent) |
29| `trend cta [input]` | Create calls-to-action (no args = show recent) |
30| `trend tone [input]` | Adjust content tone (no args = show recent) |
31
32### Publishing
33
34| Command | Description |
35|---------|-------------|
36| `trend schedule [input]` | Schedule content for publication (no args = show recent) |
37| `trend translate [input]` | Translate content (no args = show recent translations) |
38
39### Data & Reporting
40
41| Command | Description |
42|---------|-------------|
43| `trend stats` | Summary statistics across all entry types |
44| `trend export <fmt>` | Export all data (json, csv, or txt) |
45| `trend search <term>` | Search across all entries |
46| `trend recent` | Show last 20 activity log entries |
47| `trend status` | Health check: version, entry count, disk usage, last activity |
48
49### Utility
50
51| Command | Description |
52|---------|-------------|
53| `trend help` | Show help with all commands |
54| `trend version` | Show version number |
55
56## Data Storage
57
58All data is stored locally at `~/.local/share/trend/` by default:
59
60- `draft.log`, `edit.log`, `optimize.log`, etc. — One log file per command type, entries are `timestamp|input` format
61- `history.log` — Unified activity history with timestamps for every command run
62- `export.json`, `export.csv`, `export.txt` — Generated export files
63
64Each command supports two modes:
65- **With arguments:** Saves the input with a timestamp and confirms
66- **Without arguments:** Shows the 20 most recent entries for that command type
67
68## Requirements
69
70- bash 4+
71- Standard UNIX utilities (`date`, `wc`, `du`, `grep`, `tail`, `head`, `sed`, `cut`)
72- No external dependencies or API keys required
73
74## When to Use
75
761. **Content drafting workflow** — Use `draft` to capture ideas, `outline` to structure them, `headline` to title them, then `edit` to refine
772. **Social media optimization** — Run `hashtags` for tags, `hooks` for attention-grabbing openers, `cta` for calls-to-action, and `tone` to match platform voice
783. **Content scheduling** — Use `schedule` to log publication timelines and `translate` to prepare multi-language versions
794. **Content audit** — Run `stats` to see activity across all content types, `search` to find specific entries, and `recent` to review the latest work
805. **Data export and backup** — Use `export json` for structured data, `export csv` for spreadsheet import, or `export txt` for readable dumps
81
82## Examples
83
84```bash
85# Draft a new blog post idea
86trend draft "10 tips for better remote work productivity"
87
88# View all recent drafts
89trend draft
90
91# Create an outline for the post
92trend outline "Intro, 10 tips with examples, conclusion with CTA"
93
94# Craft a headline
95trend headline "Remote Work Productivity: 10 Tips That Actually Work"
96
97# Generate hashtags for social media
98trend hashtags "#remotework #productivity #wfh #tipsandtricks"
99
100# Write a hook for the post
101trend hooks "Most remote workers waste 3 hours a day. Here's how to fix that."
102
103# Create a call-to-action
104trend cta "Download our free remote work checklist"
105
106# Optimize the content
107trend optimize "Added power words, shortened paragraphs, added bullet points"
108
109# Adjust tone for LinkedIn
110trend tone "Professional but approachable, data-driven"
111
112# Schedule for publication
113trend schedule "Publish Monday 9am EST on blog, noon on LinkedIn"
114
115# Translate to another language
116trend translate "Spanish version for LATAM audience"
117
118# Rewrite an existing section
119trend rewrite "Simplified the introduction, removed jargon"
120
121# Edit the final draft
122trend edit "Final proofread, fixed typos, added links"
123
124# Check overall stats
125trend stats
126
127# Export all data as JSON
128trend export json
129
130# Search for a specific topic
131trend search "productivity"
132
133# View recent activity
134trend recent
135
136# Health check
137trend status
138```
139
140## Tips
141
142- Every command with input is automatically timestamped and logged — nothing is lost
143- Run commands without arguments to review your recent entries (shows last 20)
144- Use `stats` to see entry counts per command type for a bird's-eye view
145- Export supports three formats: `json` (structured), `csv` (spreadsheets), `txt` (human-readable)
146- All log files are plain text and can be edited or grepped directly
147
148---
149
150Powered by BytesAgain | bytesagain.com | hello@bytesagain.com