Skip to content

Commit 1bd9f6e

Browse files
author
Nevo David
committed
feat: loadplug
0 parents  commit 1bd9f6e

File tree

305 files changed

+59498
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+59498
-0
lines changed

.devcontainer/devcontainer.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "Postiz Dev Container",
3+
"image": "localhost/postiz-devcontainer",
4+
"features": {},
5+
"customizations": {
6+
"vscode": {
7+
"settings": {},
8+
"extensions": []
9+
}
10+
},
11+
"forwardPorts": ["4200:4200", "3000:3000"],
12+
"mounts": ["source=/apps,destination=/apps/dist/,type=bind,consistency=cached"]
13+
}
14+

.dockerignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# We want the docker builds to be clean, and as fast as possible. Don't send
2+
# any half-built stuff in the build context as a pre-caution (also saves copying
3+
# 180k files in node_modules that isn't used!).
4+
**/node_modules
5+
dist
6+
.nx
7+
.devcontainer
8+
**/.git
9+
**/dist
10+
**/*.md
11+
**/LICENSE
12+
**/npm-debug.log
13+
**/*.vscode

.env.example

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Configuration reference: http://docs.postiz.com/configuration/reference
2+
3+
# === Required Settings
4+
DATABASE_URL="postgresql://postiz-user:postiz-password@localhost:5432/postiz-db-local"
5+
REDIS_URL="redis://localhost:6379"
6+
JWT_SECRET="random string for your JWT secret, make it long"
7+
FRONTEND_URL="http://localhost:4200"
8+
NEXT_PUBLIC_BACKEND_URL="http://localhost:3000"
9+
BACKEND_INTERNAL_URL="http://localhost:3000"
10+
11+
## These are dummy values, you must create your own from Cloudflare.
12+
## Remember to set your public internet IP address in the allow-list for the API token.
13+
##
14+
## Cloudflare is currently required to save things like social media avatars for accounts.
15+
CLOUDFLARE_ACCOUNT_ID="QhcMSXQyPuMCRpSQcSYdEuTYgHeCXHbu"
16+
CLOUDFLARE_ACCESS_KEY="dcfCMSuFEeCNfvByUureMZEfxWJmDqZe"
17+
CLOUDFLARE_SECRET_ACCESS_KEY="zTTMXBmtyLPwHEdpACGHgDgzRTNpTJewiNriLnUS"
18+
CLOUDFLARE_BUCKETNAME="postiz"
19+
CLOUDFLARE_BUCKET_URL="https://QhcMSXQyPuMCRpSQcSYdEuTYgHeCXHbu.r2.cloudflarestorage.com/"
20+
CLOUDFLARE_REGION="auto"
21+
22+
23+
# === Common optional Settings
24+
25+
## This is a dummy key, you must create your own from Resend.
26+
## If this variable exists, user activation is required.
27+
## If it is commented out, users are activated automatically.
28+
#RESEND_API_KEY="RzeTwHijvxvPUerScFcenUZUALuQJzSaGSMJ"
29+
#EMAIL_FROM_ADDRESS=""
30+
#EMAIL_FROM_NAME=""
31+
32+
# Where will social media icons be saved - local or cloudflare.
33+
STORAGE_PROVIDER="local"
34+
35+
# Your upload directory path if you host your files locally, otherwise Cloudflare will be used.
36+
#UPLOAD_DIRECTORY=""
37+
38+
# Your upload directory path if you host your files locally, otherwise Cloudflare will be used.
39+
#NEXT_PUBLIC_UPLOAD_STATIC_DIRECTORY=""
40+
41+
42+
# Social Media API Settings
43+
X_API_KEY=""
44+
X_API_SECRET=""
45+
X_CLIENT=""
46+
X_SECRET=""
47+
LINKEDIN_CLIENT_ID=""
48+
LINKEDIN_CLIENT_SECRET=""
49+
REDDIT_CLIENT_ID=""
50+
REDDIT_CLIENT_SECRET=""
51+
GITHUB_CLIENT_ID=""
52+
GITHUB_CLIENT_SECRET=""
53+
BEEHIIVE_API_KEY=""
54+
BEEHIIVE_PUBLICATION_ID=""
55+
THREADS_APP_ID=""
56+
THREADS_APP_SECRET=""
57+
FACEBOOK_APP_ID=""
58+
FACEBOOK_APP_SECRET=""
59+
YOUTUBE_CLIENT_ID=""
60+
YOUTUBE_CLIENT_SECRET=""
61+
TIKTOK_CLIENT_ID=""
62+
TIKTOK_CLIENT_SECRET=""
63+
PINTEREST_CLIENT_ID=""
64+
PINTEREST_CLIENT_SECRET=""
65+
DRIBBBLE_CLIENT_ID=""
66+
DRIBBBLE_CLIENT_SECRET=""
67+
DISCORD_CLIENT_ID=""
68+
DISCORD_CLIENT_SECRET=""
69+
DISCORD_BOT_TOKEN_ID=""
70+
SLACK_ID=""
71+
SLACK_SECRET=""
72+
SLACK_SIGNING_SECRET=""
73+
MASTODON_CLIENT_ID=""
74+
MASTODON_CLIENT_SECRET=""
75+
76+
# Misc Settings
77+
OPENAI_API_KEY=""
78+
NEXT_PUBLIC_DISCORD_SUPPORT=""
79+
NEXT_PUBLIC_POLOTNO=""
80+
81+
# Payment settings
82+
FEE_AMOUNT=0.05
83+
STRIPE_PUBLISHABLE_KEY=""
84+
STRIPE_SECRET_KEY=""
85+
STRIPE_SIGNING_KEY=""
86+
STRIPE_SIGNING_KEY_CONNECT=""
87+
88+
# Developer Settings
89+
NX_ADD_PLUGINS=false
90+
IS_GENERAL="true" # required for now

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.eslintrc.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": ["**/*"],
4+
"plugins": ["@nx"],
5+
"overrides": [
6+
{
7+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
8+
"rules": {
9+
}
10+
},
11+
{
12+
"files": ["*.ts", "*.tsx"],
13+
"extends": ["plugin:@nx/typescript"],
14+
"rules": {
15+
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
16+
"@typescript-eslint/no-explicit-any": "off",
17+
"@typescript-eslint/ban-ts-comment": "off",
18+
"react/display-name": "off"
19+
}
20+
},
21+
{
22+
"files": ["*.js", "*.jsx"],
23+
"extends": ["plugin:@nx/javascript"],
24+
"rules": {}
25+
}
26+
]
27+
}

.github/ISSUE_TEMPLATE/bug_report.yml

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: "🐛 Bug Report"
2+
description: "Submit a bug report to help us improve,\nif you have a problem installing the app please join our https://discord.postiz.com instead for help."
3+
title: "Give your bug report a good title "
4+
labels: ["type: bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: We value your time and effort to submit this bug report. 🙏
9+
- type: textarea
10+
id: description
11+
validations:
12+
required: true
13+
attributes:
14+
label: "📜 Description"
15+
description: "A clear and concise description of what the bug is."
16+
placeholder: "It bugs out when ..."
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: steps-to-reproduce
21+
validations:
22+
required: true
23+
attributes:
24+
label: "👟 Reproduction steps"
25+
description: "How do you trigger this bug? Please walk us through it step by step."
26+
placeholder: "1. Go to '...'
27+
2. Click on '....'
28+
3. Scroll down to '....'
29+
4. See error"
30+
- type: textarea
31+
id: expected-behavior
32+
validations:
33+
required: true
34+
attributes:
35+
label: "👍 Expected behavior"
36+
description: "What did you think should happen?"
37+
placeholder: "It should ..."
38+
- type: textarea
39+
id: actual-behavior
40+
validations:
41+
required: true
42+
attributes:
43+
label: "👎 Actual Behavior with Screenshots"
44+
description: "What did actually happen? Add screenshots, if applicable."
45+
placeholder: "It actually ..."
46+
- type: dropdown
47+
id: operating-system
48+
attributes:
49+
label: "💻 Operating system"
50+
description: "What OS is your app running on?"
51+
options:
52+
- Linux
53+
- MacOS
54+
- Windows
55+
- Something else
56+
validations:
57+
required: true
58+
- type: input
59+
id: node-version
60+
validations:
61+
required: true
62+
attributes:
63+
label: "🤖 Node Version"
64+
description: >
65+
What Node version are you using?
66+
- type: textarea
67+
id: additional-context
68+
validations:
69+
required: false
70+
attributes:
71+
label: "📃 Provide any additional context for the Bug."
72+
description: "Add any other context about the problem here."
73+
placeholder: "It actually ..."
74+
- type: checkboxes
75+
id: no-duplicate-issues
76+
attributes:
77+
label: "👀 Have you spent some time to check if this bug has been raised before?"
78+
options:
79+
- label: "I checked and didn't find similar issue"
80+
required: true
81+
- type: dropdown
82+
attributes:
83+
label: Are you willing to submit PR?
84+
description: This is absolutely not required, but we are happy to guide you in the contribution process. Find us in help-needed channel on [Discord](https://discord.gitroom.com)!
85+
options:
86+
- "Yes I am willing to submit a PR!"
+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: 🚀 Feature
2+
description: "Submit a proposal for a new feature"
3+
title: "Give your feature request a title"
4+
labels: ["type: feature-request"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
We value your time and efforts to submit this Feature request form. 🙏
10+
- type: textarea
11+
id: feature-description
12+
validations:
13+
required: true
14+
attributes:
15+
label: "🔖 Feature description"
16+
description: "A clear and concise description of what the feature is."
17+
placeholder: "You should add ..."
18+
- type: textarea
19+
id: pitch
20+
validations:
21+
required: true
22+
attributes:
23+
label: "🎤 Why is this feature needed ?"
24+
description: "Please explain why this feature should be implemented and how it would be used. Add examples, if applicable."
25+
placeholder: "In my use-case, ..."
26+
- type: textarea
27+
id: solution
28+
validations:
29+
required: true
30+
attributes:
31+
label: "✌️ How do you aim to achieve this?"
32+
description: "A clear and concise description of what you want to happen."
33+
placeholder: "I want this feature to, ..."
34+
- type: textarea
35+
id: alternative
36+
validations:
37+
required: false
38+
attributes:
39+
label: "🔄️ Additional Information"
40+
description: "A clear and concise description of any alternative solutions or additional solutions you've considered."
41+
placeholder: "I tried, ..."
42+
- type: checkboxes
43+
id: no-duplicate-issues
44+
attributes:
45+
label: "👀 Have you spent some time to check if this feature request has been raised before?"
46+
options:
47+
- label: "I checked and didn't find similar issue"
48+
required: true
49+
- type: dropdown
50+
id: willing-to-submit-pr
51+
attributes:
52+
label: Are you willing to submit PR?
53+
description: This is absolutely not required, but we are happy to guide you in the contribution process. Find us in help-needed channel on [Discord](https://discord.gitroom.com)!
54+
options:
55+
- "Yes I am willing to submit a PR!"

.github/PULL_REQUEST_TEMPLATE.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# What kind of change does this PR introduce?
2+
3+
eg: Bug fix, feature, docs update, ...
4+
5+
# Why was this change needed?
6+
7+
Please link to related issues when possible, and explain WHY you changed things, not WHAT you changed.
8+
9+
# Other information:
10+
11+
eg: Did you discuss this change with anybody before working on it (not required, but can be a good idea for bigger changes). Any plans for the future, etc?
12+
13+
# Checklist:
14+
15+
Put a "X" in the boxes below to indicate you have followed the checklist;
16+
17+
- [ ] I have read the [CONTRIBUTING](https://github.com/gitroomhq/postiz-app/blob/main/CONTRIBUTING.md) guide.
18+
- [ ] I checked that there were not similar issues or PRs already open for this.
19+
- [ ] This PR fixes just ONE issue (do not include multiple issues or types of change in the same PR) For example, don't try and fix a UI issue and include new dependencies in the same PR.
11.1 KB
Loading
11.4 KB
Loading
1.36 MB
Loading

.github/assets/screen-002.png

2.33 MB
Loading

.github/assets/screen-003.png

2.15 MB
Loading

.github/assets/screen-004.png

2.09 MB
Loading

0 commit comments

Comments
 (0)