Skip to content

Commit

Permalink
Initial commit - Project Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Takk8IS committed Sep 8, 2024
0 parents commit a849d58
Show file tree
Hide file tree
Showing 35 changed files with 1,459 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Define text files and ensure consistent LF (line feed) line endings
* text=auto

# Force LF line endings for certain text files
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.html text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.json text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.sh text eol=lf
*.xml text eol=lf
*.txt text eol=lf

# Treat binary files as binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.lock binary
*.pdf binary
*.zip binary
*.gz binary
*.tar binary
*.tgz binary
*.bz2 binary
*.xz binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.mp3 binary
*.mp4 binary
*.avi binary
*.mov binary
*.mkv binary

# Specify diff behavior for specific files
*.json merge=union
*.lock merge=union

# Define language-specific diff attributes
*.ts diff=typescript
*.tsx diff=typescript
*.js diff=javascript
*.jsx diff=javascript

# Exclude minified files from diff
*.min.js -diff
*.min.css -diff

# Set up custom attributes for documentation files
*.md linguist-language=Markdown
*.md merge=union

# Set up attributes for Chromium extensions
*.crx binary
*.pem binary
*.pub binary
109 changes: 109 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
name: Build and Release ThemisAudits

on:
push:
branches: [main]
workflow_dispatch:

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE20: true

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
include:
- os: windows-latest
output_name: ThemisAudits.exe
output_path: dist/ThemisAudits
spec_file: ThemisAudits_win.spec
- os: macos-latest
output_name: ThemisAudits.app
output_path: dist/ThemisAudits.app
spec_file: ThemisAudits_mac.spec

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
- name: Create version info file (Windows)
if: matrix.os == 'windows-latest'
run: |
echo "# UTF-8
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(1, 2, 7, 0),
prodvers=(1, 2, 7, 0),
mask=0x3f,
flags=0x0,
OS=0x40004,
fileType=0x1,
subtype=0x0,
date=(0, 0)
),
kids=[
StringFileInfo(
[
StringTable(
u'040904B0',
[StringStruct(u'CompanyName', u'Takk™ Innovate Studio'),
StringStruct(u'FileDescription', u'ThemisHIM™ Audits'),
StringStruct(u'FileVersion', u'1.2.7'),
StringStruct(u'InternalName', u'ThemisAudits'),
StringStruct(u'LegalCopyright', u'© Takk™ Innovate Studio. All rights reserved.'),
StringStruct(u'OriginalFilename', u'ThemisAudits.exe'),
StringStruct(u'ProductName', u'ThemisHIM™ Audits'),
StringStruct(u'ProductVersion', u'1.2.7')])
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
)" > file_version_info.txt
- name: Build with PyInstaller
run: |
pyinstaller ${{ matrix.spec_file }}
- name: List directory contents
run: |
ls -R dist
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.output_name }}
path: ${{ matrix.output_path }}

release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: Download artifacts
uses: actions/download-artifact@v4

- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ github.run_number }}
name: Release ${{ github.run_number }}
files: |
ThemisAudits.exe/*
ThemisAudits.app/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
146 changes: 146 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.test
.env.production
.env.development
env

# Parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# vim generated files
*.swp

# macOS specific files
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.Spotlight-V100
.Trashes
.VolumeIcon.icns
.metadata_never_index
.TemporaryItems
.apdisk

# Linux specific files
*~
.nfs*

# Windows specific files
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.lnk

# Chromium extensions
*.crx
*.pem
*.pub
package_extension
16 changes: 16 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Copyright (c)
License: Attribution 4.0 International (CC BY 4.0)
Author: David C Cavalcante

[![LinkedIn](https://www.linkedin.com/in/hellodav/)](https://www.linkedin.com/in/hellodav/)
[![Medium](https://medium.com/@davcavalcante/)](https://medium.com/@davcavalcante/)

Takk™ Innovate Studio

- Positive results, rapid innovation
- Leading the Digital Revolution as the Pioneering 100% Artificial Intelligence Team

[Takk™ Innovate Studio](https://takk.ag/)
[![GitHub]](https://github.com/@takk8is/)
[![X]](https://twitter.com/takk8is/)
[![Medium](https://medium.com/@takk8is/)](https://medium.com/@takk8is/)
22 changes: 22 additions & 0 deletions FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Support

If you have any questions or need support, please open an issue.

# Donate

Support the project with USDT (TRC-20):

```
TGpiWetnYK2VQpxNGPR27D9vfM6Mei5vNA
```

# About Takk™ Innovate Studio

Leading the Digital Revolution as the Pioneering 100% Artificial Intelligence Team.

- Copyright (c) Takk™ Innovate Studio
- Author: [David C Cavalcante](mailto:davcavalcante@proton.me)
- LinkedIn: [linkedin.com/in/hellodav](https://www.linkedin.com/in/hellodav/)
- X: [@Takk8IS](https://twitter.com/takk8is/)
- Medium: [takk8is.medium.com](https://takk8is.medium.com/)
- Website: [takk.ag](https://takk.ag/)
Loading

0 comments on commit a849d58

Please sign in to comment.