Skip to content

Commit d95eb03

Browse files
committed
Initial commit
0 parents  commit d95eb03

9 files changed

+1257
-0
lines changed

.env.example

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# 🔑 Example SMS Gate API Credentials
2+
FLASK_SMS_GATE_API_URL="https://api.sms-gate.app/3rdparty/v1" # API root endpoint (optional)
3+
FLASK_SMS_GATE_API_USERNAME="test_user" # API username
4+
FLASK_SMS_GATE_API_PASSWORD="test_password" # API password
5+
6+
# 🔒 Example Webhooks Configuration
7+
FLASK_WEBHOOK_SECRET="your_test_secret_here" # signing key (optional)
8+
FLASK_WEBHOOK_URL="https://localhost:8443/webhook/sms-received" # current server endpoint
9+
10+
# 🛡️ SSL Configuration
11+
FLASK_SSL_CERT_PATH="./certs/server.crt" # SSL certificate (optional)
12+
FLASK_SSL_KEY_PATH="./certs/server.key" # SSL private key (optional)

.gitignore

+369
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,369 @@
1+
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
2+
# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,python,macos,linux,flask,dotenv,certificates
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,python,macos,linux,flask,dotenv,certificates
4+
5+
### certificates ###
6+
*.pem
7+
*.key
8+
*.crt
9+
*.cer
10+
*.der
11+
*.priv
12+
13+
### dotenv ###
14+
.env
15+
16+
### Flask ###
17+
instance/*
18+
!instance/.gitignore
19+
.webassets-cache
20+
21+
### Flask.Python Stack ###
22+
# Byte-compiled / optimized / DLL files
23+
__pycache__/
24+
*.py[cod]
25+
*$py.class
26+
27+
# C extensions
28+
*.so
29+
30+
# Distribution / packaging
31+
.Python
32+
build/
33+
develop-eggs/
34+
dist/
35+
downloads/
36+
eggs/
37+
.eggs/
38+
lib/
39+
lib64/
40+
parts/
41+
sdist/
42+
var/
43+
wheels/
44+
share/python-wheels/
45+
*.egg-info/
46+
.installed.cfg
47+
*.egg
48+
MANIFEST
49+
50+
# PyInstaller
51+
# Usually these files are written by a python script from a template
52+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
53+
*.manifest
54+
*.spec
55+
56+
# Installer logs
57+
pip-log.txt
58+
pip-delete-this-directory.txt
59+
60+
# Unit test / coverage reports
61+
htmlcov/
62+
.tox/
63+
.nox/
64+
.coverage
65+
.coverage.*
66+
.cache
67+
nosetests.xml
68+
coverage.xml
69+
*.cover
70+
*.py,cover
71+
.hypothesis/
72+
.pytest_cache/
73+
cover/
74+
75+
# Translations
76+
*.mo
77+
*.pot
78+
79+
# Django stuff:
80+
*.log
81+
local_settings.py
82+
db.sqlite3
83+
db.sqlite3-journal
84+
85+
# Flask stuff:
86+
instance/
87+
88+
# Scrapy stuff:
89+
.scrapy
90+
91+
# Sphinx documentation
92+
docs/_build/
93+
94+
# PyBuilder
95+
.pybuilder/
96+
target/
97+
98+
# Jupyter Notebook
99+
.ipynb_checkpoints
100+
101+
# IPython
102+
profile_default/
103+
ipython_config.py
104+
105+
# pyenv
106+
# For a library or package, you might want to ignore these files since the code is
107+
# intended to run in multiple environments; otherwise, check them in:
108+
# .python-version
109+
110+
# pipenv
111+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
112+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
113+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
114+
# install all needed dependencies.
115+
#Pipfile.lock
116+
117+
# poetry
118+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
119+
# This is especially recommended for binary packages to ensure reproducibility, and is more
120+
# commonly ignored for libraries.
121+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
122+
#poetry.lock
123+
124+
# pdm
125+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
126+
#pdm.lock
127+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
128+
# in version control.
129+
# https://pdm.fming.dev/#use-with-ide
130+
.pdm.toml
131+
132+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
133+
__pypackages__/
134+
135+
# Celery stuff
136+
celerybeat-schedule
137+
celerybeat.pid
138+
139+
# SageMath parsed files
140+
*.sage.py
141+
142+
# Environments
143+
.venv
144+
env/
145+
venv/
146+
ENV/
147+
env.bak/
148+
venv.bak/
149+
150+
# Spyder project settings
151+
.spyderproject
152+
.spyproject
153+
154+
# Rope project settings
155+
.ropeproject
156+
157+
# mkdocs documentation
158+
/site
159+
160+
# mypy
161+
.mypy_cache/
162+
.dmypy.json
163+
dmypy.json
164+
165+
# Pyre type checker
166+
.pyre/
167+
168+
# pytype static type analyzer
169+
.pytype/
170+
171+
# Cython debug symbols
172+
cython_debug/
173+
174+
# PyCharm
175+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
176+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
177+
# and can be added to the global gitignore or merged into this file. For a more nuclear
178+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
179+
#.idea/
180+
181+
### Linux ###
182+
*~
183+
184+
# temporary files which can be created if a process still has a handle open of a deleted file
185+
.fuse_hidden*
186+
187+
# KDE directory preferences
188+
.directory
189+
190+
# Linux trash folder which might appear on any partition or disk
191+
.Trash-*
192+
193+
# .nfs files are created when an open file is removed but is still being accessed
194+
.nfs*
195+
196+
### macOS ###
197+
# General
198+
.DS_Store
199+
.AppleDouble
200+
.LSOverride
201+
202+
# Icon must end with two \r
203+
Icon
204+
205+
206+
# Thumbnails
207+
._*
208+
209+
# Files that might appear in the root of a volume
210+
.DocumentRevisions-V100
211+
.fseventsd
212+
.Spotlight-V100
213+
.TemporaryItems
214+
.Trashes
215+
.VolumeIcon.icns
216+
.com.apple.timemachine.donotpresent
217+
218+
# Directories potentially created on remote AFP share
219+
.AppleDB
220+
.AppleDesktop
221+
Network Trash Folder
222+
Temporary Items
223+
.apdisk
224+
225+
### macOS Patch ###
226+
# iCloud generated files
227+
*.icloud
228+
229+
### Python ###
230+
# Byte-compiled / optimized / DLL files
231+
232+
# C extensions
233+
234+
# Distribution / packaging
235+
236+
# PyInstaller
237+
# Usually these files are written by a python script from a template
238+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
239+
240+
# Installer logs
241+
242+
# Unit test / coverage reports
243+
244+
# Translations
245+
246+
# Django stuff:
247+
248+
# Flask stuff:
249+
250+
# Scrapy stuff:
251+
252+
# Sphinx documentation
253+
254+
# PyBuilder
255+
256+
# Jupyter Notebook
257+
258+
# IPython
259+
260+
# pyenv
261+
# For a library or package, you might want to ignore these files since the code is
262+
# intended to run in multiple environments; otherwise, check them in:
263+
# .python-version
264+
265+
# pipenv
266+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
267+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
268+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
269+
# install all needed dependencies.
270+
271+
# poetry
272+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
273+
# This is especially recommended for binary packages to ensure reproducibility, and is more
274+
# commonly ignored for libraries.
275+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
276+
277+
# pdm
278+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
279+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
280+
# in version control.
281+
# https://pdm.fming.dev/#use-with-ide
282+
283+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
284+
285+
# Celery stuff
286+
287+
# SageMath parsed files
288+
289+
# Environments
290+
291+
# Spyder project settings
292+
293+
# Rope project settings
294+
295+
# mkdocs documentation
296+
297+
# mypy
298+
299+
# Pyre type checker
300+
301+
# pytype static type analyzer
302+
303+
# Cython debug symbols
304+
305+
# PyCharm
306+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
307+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
308+
# and can be added to the global gitignore or merged into this file. For a more nuclear
309+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
310+
311+
### Python Patch ###
312+
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
313+
poetry.toml
314+
315+
# ruff
316+
.ruff_cache/
317+
318+
# LSP config files
319+
pyrightconfig.json
320+
321+
### VisualStudioCode ###
322+
.vscode/*
323+
!.vscode/settings.json
324+
!.vscode/tasks.json
325+
!.vscode/launch.json
326+
!.vscode/extensions.json
327+
!.vscode/*.code-snippets
328+
329+
# Local History for Visual Studio Code
330+
.history/
331+
332+
# Built Visual Studio Code Extensions
333+
*.vsix
334+
335+
### VisualStudioCode Patch ###
336+
# Ignore all local history of files
337+
.history
338+
.ionide
339+
340+
### Windows ###
341+
# Windows thumbnail cache files
342+
Thumbs.db
343+
Thumbs.db:encryptable
344+
ehthumbs.db
345+
ehthumbs_vista.db
346+
347+
# Dump file
348+
*.stackdump
349+
350+
# Folder config file
351+
[Dd]esktop.ini
352+
353+
# Recycle Bin used on file shares
354+
$RECYCLE.BIN/
355+
356+
# Windows Installer files
357+
*.cab
358+
*.msi
359+
*.msix
360+
*.msm
361+
*.msp
362+
363+
# Windows shortcuts
364+
*.lnk
365+
366+
# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,python,macos,linux,flask,dotenv,certificates
367+
368+
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
369+

0 commit comments

Comments
 (0)