Skip to content

Commit

Permalink
add new files / scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
madjin committed Nov 22, 2024
1 parent 3d26cc7 commit 1f1e2b8
Show file tree
Hide file tree
Showing 160 changed files with 29,562 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
43 changes: 28 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
# ai16z Eliza Contributors Site Generator

ai16z, creators of the [eliza](https://github.com/ai16z/eliza) framework. This repo generates static sites showing GitHub contributor activity.


![eliza_banner](https://github.com/user-attachments/assets/e8784793-c4d3-4d59-bba9-6d47885abe63)

ai16z, creators of the [eliza](https://github.com/ai16z/eliza) framework
[Website](https://ai16z.ai): | [Discord](https://discord.gg/ai16z) | [Twitter/X](https://x.com/ai16zdao) | [DAO](https://www.daos.fun/HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC)


## Setup

Visit us on [daos.fun](https://www.daos.fun/HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC)
1. Install dependencies:
```bash
npm install
```

[Website](https://ai16z.ai): | [Discord](https://discord.gg/ai16z) | [Twitter/X](https://x.com/ai16zdao)
2. Put your contributor data JSON files in the `data` directory

# OPEN BOUNTIES
3. Build and generate the site:
```bash
npm run build
npm run generate
```

Technical requirements: Senior-level background in Node.js, Typescript, understanding of [Eliza](https://github.com/ai16z/eliza) framework
4. Open `profiles/index.html` to view the result

### Twitter Spaces Voice Client
Parity with Discord Voice Client, but on Twitter Space
- Must listen to and respond with voice
- Must be able to join a twitter space from a linked tweet
- Must be able to accept speaker role
## Directory Structure

Reward: $1000 USD in $ai16z + $1000 USD in $degenai
- `data/` - Place contributor JSON files here
- `scripts/` - Source code
- `dist/` - Built files
- `profiles/` - Generated static site

### Obsidian Integration
- Integrate Obsidian and demonstrate deep traversal and search of an Obsidian memory store
- Integrate [Naval database](https://www.reddit.com/r/NavalRavikant/comments/oza0bl/i_made_a_digital_version_of_navals_brain_free/?rdt=41536) as example
## Scripts

Reward: $1000 USD in $ai16z + $1000 USD in $degenai
- `npm run build` - Bundle the site generator
- `npm run generate` - Generate the static site
53 changes: 53 additions & 0 deletions data/5c0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"username": "5c0",
"avatar_url": "https://avatars.githubusercontent.com/u/93293719?v=4",
"total_contributions": 1,
"activity": {
"code": {
"commits": [],
"pull_requests": [
{
"number": 143,
"title": "chore(deps): Upgrade uuid to v11 and TypeScript to v8",
"state": "closed",
"created_at": "2024-10-31T01:17:45Z",
"url": "https://github.com/ai16z/eliza/pull/143",
"labels": [],
"comments": 1
}
],
"total_commits": 0,
"total_prs": 1,
"commit_activity": {},
"pr_activity": {
"2024": {
"10": 1
}
}
},
"issues": {
"opened": [],
"total_opened": 0,
"issue_activity": {}
},
"engagement": {
"issue_comments": [],
"pr_comments": [
{
"id": 2449047954,
"body": "\r\n\r\n\r\n> To test:\r\n> \r\n> 1. ensure your version of node is < 21\r\n> 2. remove your `node_modules` dir\r\n> 3. `npm install`\r\n> 4. run your bot as normal and test the discord, twitter, telegram and console functionality\r\n\r\nnvm>>>\r\nnvm is a better approach because it allows you to easily switch between different Node.js versions without affecting your global setup\r\nInstall nvm (if you haven't already):\r\nbash\r\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash\r\n\r\nMake sure to restart your terminal afterwards.\r\n\r\nInstall Node.js 21:\r\nbash\r\nnvm install 21\r\n\r\nUse Node.js 21:\r\nbash\r\nnvm use 21\r\n\r\nVerify the installation:\r\nbash\r\nnode -v\r\n\r\nRemove the existing node_modules directory:\r\nbash\r\nrm -rf node_modules\r\n\r\nReinstall your dependencies:\r\nbash\r\nnpm install\r\n",
"created_at": "2024-10-31T05:43:57Z",
"url": "https://github.com/ai16z/eliza/pull/147#issuecomment-2449047954",
"type": "pr",
"issue_number": "147"
}
],
"total_comments": 1,
"comment_activity": {
"2024": {
"10": 1
}
}
}
}
}
51 changes: 51 additions & 0 deletions data/BugByClaude.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"username": "BugByClaude",
"avatar_url": "https://avatars.githubusercontent.com/u/188425962?v=4",
"total_contributions": 1,
"activity": {
"code": {
"commits": [
{
"sha": "10e59ced562436fee3cc4a444447fde08c5f870c",
"date": "2024-11-14T08:27:45Z",
"message": "Add Korean and French README",
"url": "https://github.com/ai16z/eliza/commit/10e59ced562436fee3cc4a444447fde08c5f870c"
}
],
"pull_requests": [
{
"number": 312,
"title": "Add Korean and French README",
"state": "closed",
"created_at": "2024-11-14T08:29:09Z",
"url": "https://github.com/ai16z/eliza/pull/312",
"labels": [],
"comments": 0
}
],
"total_commits": 1,
"total_prs": 1,
"commit_activity": {
"2024": {
"11": 1
}
},
"pr_activity": {
"2024": {
"11": 1
}
}
},
"issues": {
"opened": [],
"total_opened": 0,
"issue_activity": {}
},
"engagement": {
"issue_comments": [],
"pr_comments": [],
"total_comments": 0,
"comment_activity": {}
}
}
}
77 changes: 77 additions & 0 deletions data/FabriceIRANKUNDA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"username": "FabriceIRANKUNDA",
"avatar_url": "https://avatars.githubusercontent.com/u/58092199?v=4",
"total_contributions": 1,
"activity": {
"code": {
"commits": [
{
"sha": "ae9f80e3d0044a94b45edd048c9fb9d1578535d1",
"date": "2024-11-13T19:30:34Z",
"message": "Added missing GROK model provider key initialization",
"url": "https://github.com/ai16z/eliza/commit/ae9f80e3d0044a94b45edd048c9fb9d1578535d1"
}
],
"pull_requests": [
{
"number": 296,
"title": "Added missing GROK model provider key initialization",
"state": "closed",
"created_at": "2024-11-13T19:43:33Z",
"url": "https://github.com/ai16z/eliza/pull/296",
"labels": [],
"comments": 0
},
{
"number": 38,
"title": "App running on configurations from .env",
"state": "closed",
"created_at": "2024-10-26T19:39:54Z",
"url": "https://github.com/ai16z/eliza/pull/38",
"labels": [],
"comments": 1
}
],
"total_commits": 1,
"total_prs": 2,
"commit_activity": {
"2024": {
"11": 1
}
},
"pr_activity": {
"2024": {
"11": 1,
"10": 1
}
}
},
"issues": {
"opened": [
{
"number": 295,
"title": "Add GROK Model Provider Key Support in `getTokenForProvider` Function",
"state": "closed",
"created_at": "2024-11-13T19:39:55Z",
"url": "https://github.com/ai16z/eliza/issues/295",
"labels": [
"enhancement"
],
"comments": 0
}
],
"total_opened": 1,
"issue_activity": {
"2024": {
"11": 1
}
}
},
"engagement": {
"issue_comments": [],
"pr_comments": [],
"total_comments": 0,
"comment_activity": {}
}
}
}
79 changes: 79 additions & 0 deletions data/HashWarlock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"username": "HashWarlock",
"avatar_url": "https://avatars.githubusercontent.com/u/64296537?v=4",
"total_contributions": 2,
"activity": {
"code": {
"commits": [
{
"sha": "9e7a3da75d496b013e6c8efe0d25d03516c6d12f",
"date": "2024-11-04T17:38:48Z",
"message": "Add RedPill API Key variable",
"url": "https://github.com/ai16z/eliza/commit/9e7a3da75d496b013e6c8efe0d25d03516c6d12f"
},
{
"sha": "e5c8f3fca5c4f683cc9805fad844dce6428a2872",
"date": "2024-11-04T17:27:46Z",
"message": "Add RedPill API Support",
"url": "https://github.com/ai16z/eliza/commit/e5c8f3fca5c4f683cc9805fad844dce6428a2872"
}
],
"pull_requests": [
{
"number": 327,
"title": "Add Docker support",
"state": "closed",
"created_at": "2024-11-15T04:58:33Z",
"url": "https://github.com/ai16z/eliza/pull/327",
"labels": [],
"comments": 0
},
{
"number": 198,
"title": "Add RedPill API Support",
"state": "closed",
"created_at": "2024-11-04T17:45:54Z",
"url": "https://github.com/ai16z/eliza/pull/198",
"labels": [],
"comments": 3
}
],
"total_commits": 2,
"total_prs": 2,
"commit_activity": {
"2024": {
"11": 2
}
},
"pr_activity": {
"2024": {
"11": 2
}
}
},
"issues": {
"opened": [],
"total_opened": 0,
"issue_activity": {}
},
"engagement": {
"issue_comments": [],
"pr_comments": [
{
"id": 2455996702,
"body": "> love this.\n\nWhenever RedPill has support for image and voice generation, I'll add those features. One part i didn't end up changing was the image inspection that uses gpt-4o-mini. The serverUrl uses the openai API & key by default, but if it uses red-pill API, it will also work. I didn't want to break anything unintentionally there, so I didn't put a fix there.",
"created_at": "2024-11-05T00:49:32Z",
"url": "https://github.com/ai16z/eliza/pull/198#issuecomment-2455996702",
"type": "pr",
"issue_number": "198"
}
],
"total_comments": 1,
"comment_activity": {
"2024": {
"11": 1
}
}
}
}
}
51 changes: 51 additions & 0 deletions data/Honkware.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"username": "Honkware",
"avatar_url": "https://avatars.githubusercontent.com/u/119620994?v=4",
"total_contributions": 1,
"activity": {
"code": {
"commits": [
{
"sha": "55170d93b783e80b9b6d5ac111408606d5327d3a",
"date": "2024-10-27T23:12:50Z",
"message": "corrected node-llama-cpp command",
"url": "https://github.com/ai16z/eliza/commit/55170d93b783e80b9b6d5ac111408606d5327d3a"
}
],
"pull_requests": [
{
"number": 57,
"title": "corrected node-llama-cpp command",
"state": "closed",
"created_at": "2024-10-27T23:15:11Z",
"url": "https://github.com/ai16z/eliza/pull/57",
"labels": [],
"comments": 0
}
],
"total_commits": 1,
"total_prs": 1,
"commit_activity": {
"2024": {
"10": 1
}
},
"pr_activity": {
"2024": {
"10": 1
}
}
},
"issues": {
"opened": [],
"total_opened": 0,
"issue_activity": {}
},
"engagement": {
"issue_comments": [],
"pr_comments": [],
"total_comments": 0,
"comment_activity": {}
}
}
}
Loading

0 comments on commit 1f1e2b8

Please sign in to comment.