Skip to content

Commit

Permalink
update to v1 (#2)
Browse files Browse the repository at this point in the history
* remove constant check connection

* refactor

* working modes

* toggle works

* error handling drafts

* tooltip

* cleanup

* show notice once

* thanks DMO

* near rewards

* oauth client

* callback error handling

* adds toast

* remove test

* drafts modal

* fmt

* drafts modal wip

* thread mode not available

* og image

* textarea

* clean up handles

* twitter post error handling

* twitter toasts

* buttons

* character count handling

* donate button

* consistent modal

* profile

* helper buddy

* cleanup

* clean up

* feature request

* fmt

* add submit

* fixes
  • Loading branch information
elliotBraem authored Jan 11, 2025
1 parent be57adb commit de72a1a
Show file tree
Hide file tree
Showing 43 changed files with 2,343 additions and 496 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TWITTER_CLIENT_ID=your_oauth2_client_id
TWITTER_CLIENT_SECRET=your_oauth2_client_secret

# Twitter OAuth 1.0a credentials (for user context endpoints)
# Twitter OAuth 1.0a credentials (for user context endpoints and media uploads)
TWITTER_API_KEY=your_oauth1_api_key
TWITTER_API_SECRET=your_oauth1_api_secret
TWITTER_ACCESS_TOKEN=your_oauth1_access_token
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/near-rewards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: NEAR Protocol Rewards Tracking
on:
schedule:
- cron: '0 */12 * * *' # Every 12 hours
workflow_dispatch: # Manual trigger
push:
branches: [ main ] # Start on main branch updates

jobs:
calculate-rewards:
runs-on: ubuntu-latest
permissions:
contents: read
issues: read
pull-requests: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'

- name: Calculate Rewards
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPO: ${{ github.repository }}
run: |
npm install -g near-protocol-rewards@latest
near-protocol-rewards calculate
Binary file modified bun.lockb
Binary file not shown.
4 changes: 4 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const nextConfig = {
protocol: "https",
hostname: "builders.mypinata.cloud",
},
{
protocol: "https",
hostname: "ipfs.near.social",
},
],
},
};
Expand Down
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,33 @@
"@near-wallet-selector/modal-ui": "^8.9.13",
"@near-wallet-selector/my-near-wallet": "^8.9.13",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-select": "^2.1.4",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-toast": "^1.2.4",
"@radix-ui/react-tooltip": "^1.1.6",
"@radix-ui/react-visually-hidden": "^1.1.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cookie": "^1.0.2",
"date-fns": "^4.1.0",
"formidable": "^3.5.2",
"framer-motion": "^11.16.1",
"lodash": "^4.17.21",
"lucide-react": "^0.469.0",
"near-api-js": "^4.0.3",
"next": "14.2.13",
"react": "^18",
"react-beautiful-dnd": "^13.1.1",
"react-confetti": "^6.2.2",
"react-dom": "^18",
"react-markdown": "^9.0.3",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"twitter-api-v2": "^1.19.0"
},
"devDependencies": {
"@builddao/near-social-js": "1.1.0-beta.6",
"@tailwindcss/typography": "^0.5.16",
"autoprefixer": "^10.4.20",
"encoding": "^0.1.13",
"eslint": "^8",
Expand Down
Binary file added public/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 0 additions & 20 deletions public/og-image.svg

This file was deleted.

Loading

0 comments on commit de72a1a

Please sign in to comment.