AssetOS is an easy-to-use open source item holding cost tracking system that helps you easily manage and track the asset holding costs of individuals or companies. It supports multiple users and multiple languages, and provides rich statistical analysis functions.
- ๐ Asset management: Add, edit, and delete asset information, and support multiple status management
- ๐ฐ Cost tracking: Automatically calculate daily holding costs and accurately grasp asset value changes
- ๐ Statistical reports: Rich charts and analysis reports, data visualization
- ๐ค Data import and export: Support CSV format batch import and export for easy data migration
- ๐ฅ User management: Multi-user support, complete permission control system
- ๐ง System settings: Custom classification, SMTP mail configuration, Webhook integration
- ๐ Multi-language support: Chinese/English interface, support language expansion
- ๐ Security protection: Complete user authentication and data security protection
๐ฏ Super Quick Start - Choose your preferred method:
# Method 1: One-line curl deployment
curl -fsSL https://github.com/raw/DsTansice/AssetOS/main/quick-deploy.sh | bash
# Method 2: Direct Docker Hub pull & run
docker run -d --name assetOS -p 8080:80 -v assetOS-data:/var/www/html/db --restart unless-stopped tans0008/assetos:latest
# Method 3: With custom data directory
mkdir my-assetos-data && docker run -d --name assetOS -p 8080:80 -v $(pwd)/my-assetos-data:/var/www/html/db --restart unless-stopped tans0008/assetos:latest
๐ง Custom deployment options:
# Use different port (e.g., 3000)
docker run -d --name assetOS -p 3000:80 -v assetOS-data:/var/www/html/db --restart unless-stopped tans0008/assetos:latest
# With backup directory
docker run -d --name assetOS -p 8080:80 -v assetOS-data:/var/www/html/db -v assetOS-backups:/var/www/html/backups --restart unless-stopped tans0008/assetos:latest
# Check deployment status
docker ps | grep assetOS && echo "โ
AssetOS is running at: http://localhost:8080"
๐ฑ After deployment:
- ๐ Visit:
http://localhost:8080
- ๐ค Register first user (becomes admin)
- ๐ Start tracking your assets!
- Create a project directory:
mkdir assetOS && cd assetOS
- Create a
docker-compose.yml
file:
version: '3.8'
services:
assetos:
image: tans0008/assetos:latest
container_name: assetOS
ports:
- "8080:80"
volumes:
- ./src:/var/www/html
- ./data:/var/www/html/db
environment:
- APACHE_DOCUMENT_ROOT=/var/www/html
restart: unless-stopped
command: >
bash -c "
apt-get update &&
apt-get install -y sqlite3 libsqlite3-dev &&
docker-php-ext-install pdo pdo_sqlite &&
apache2-foreground
"
- Clone the project code:
git clone https://github.com/DsTansice/AssetOS.git src
mkdir data
chmod 755 data
- Start the container:
docker-compose up -d
- Visit
http://localhost:8080
to start using
# Pull code
git clone https://github.com/DsTansice/AssetOS.git
cd AssetOS
# Create a data directory
mkdir data
chmod 755 data
# Build and run the container
docker run -d \
--name assetOS \
-p 8080:80 \
-v $(pwd):/var/www/html \
-v $(pwd)/data:/var/www/html/db \
--restart unless-stopped \
tans0008/assetos:latest
# Install the SQLite extension
docker exec assetOS bash -c "apt-get update && apt-get install -y sqlite3 libsqlite3-dev && docker-php-ext-install pdo pdo_sqlite"
# Restart the container to make the extension take effect
docker restart assetOS
- PHP 7.4 or higher
- SQLite 3 extension
- Web server (Apache/Nginx or PHP built-in server)
-
Clone the project:
git clone https://github.com/DsTansice/AssetOS.git cd AssetOS
-
Create a database directory:
mkdir db
chmod 755 db
- Configure a web server or use the PHP built-in server:
# Use the PHP built-in server (development environment)
php -S localhost:8000
# Or configure Apache/Nginx to point to the project root directory
- Access the application and register the first user (automatically becomes an administrator)
AssetOS/
โโโ api/ # API interface
โ โโโ api.php
โโโ asset/ # Static resources
โ โโโ logo.png
โ โโโ favicon.ico
โโโ css/ # Style file
โ โโโ styles.css
โโโ db/ # Database file directory
โโโ includes/ # Public components
โ โโโ footer.php
โ โโโ url_encoder.php
โโโ js/ # JavaScript file
โ โโโ script.js
โ โโโ theme-toggle.js
โ โโโ user-dropdown.js
โโโ admin.php # Administrator panel
โโโ index.php # Asset list page
โโโ login.php # Login page
โโโ register.php # Registration page
โโโ menu.php # Main menu
โโโ manage.php # Asset management page
โโโ reports.php # Statistics report page
โโโ settings.php # Personal settings page
โโโ sponsor.php # Sponsorship page
โโโ version.php # Version information
โโโ docker-compose.yml # Docker orchestration file
โโโ README.md # Project description
- Add Asset: Supports name, category, purchase date, price and other information entry
- Status Management: In use, discarded, transferred, damaged and other status
- Batch Operation: Batch import and export in CSV format, support large-scale data processing
- Classification Management: Customize asset classification and flexibly organize asset structure
- Real-time Statistics: Real-time calculation of total asset quantity, value and holding cost
- Chart Display: Classification distribution, status analysis, trend chart
- Cost Analysis: Daily holding cost, monthly expenditure trend analysis
- Data Export: Statistical reports support multiple formats for export
- Multi-user Support: Supports multiple users to manage assets independently
- Permission Classification: Separation of administrator and ordinary user permissions
- Security Authentication: Complete login authentication and session management
- Theme Switch: Freely switch between light and dark themes
- Language Settings: Switch between Chinese and English interfaces
- Mail Configuration: SMTP mail service configuration
- Webhook: Support third-party system integration
- Backend Framework: PHP 8.1+
- Database: SQLite 3
- Front-end Technology: HTML5 + CSS3 + JavaScript (ES6+)
- UI Framework: Tailwind CSS
- Containerization: Docker + Docker Compose
- Version Control: Git
- SQL Injection Protection
- XSS Attack Protection
- CSRF Token Validation
- User Session Management
- Password Encryption Storage
- File Upload Security Check
We welcome all forms of contributions! Whether you are a developer, designer or user, you can contribute to the project:
- ๐ Bug Report: Please provide feedback if you find any problems
- ๐ก Feature Suggestions: Propose new features or improvement suggestions
- ๐ Document Improvement: Help improve documentation and usage guides
- ๐ง Code Contribution: Submit code fixes or new features
- ๐ Multilingual: Help translate the interface to more languages
- ๐จ Design Optimization: Suggest UI/UX design improvements
- Fork this project to your GitHub account
- Create a feature branch:
git checkout -b feature/your-feature-name
- Commit changes:
git commit -m 'Add some feature'
- Push branch:
git push origin feature/your-feature-name
- Create a Pull Request
# Clone your forked repository
git clone https://github.com/YOUR_USERNAME/AssetOS.git
cd AssetOS
# Use Docker to quickly build a development environment
docker-compose up -d
# Or use the traditional method
php -S localhost:8000
This project adopts the dual licensing model of GPL-3.0 + Commercial License:
-
Open Source Use: Follow the GPL-3.0 license and can be used, modified and distributed freely
-
Commercial License: For corporate commercial use, please contact to obtain a commercial license
- ๐ง Email: [email protected]
- ๐ Please email for detailed licensing terms
Join our community to get the latest updates and technical support:
- ๐ฌ Telegram Exchange Group: https://t.me/AssetOSOffical
- ๐ข Telegram Channel: https://t.me/OPAssetOS
- ๐ GitHub Issues: Issue feedback
- ๐ Project documentation: Usage documentation
If AssetOS is helpful to you, please consider supporting the project development:
- โญ GitHub Star: Give the project a star
- ๐ Share and recommend: Recommend to more friends in need
- ๐ Feedback and suggestions: Help us find and fix problems
- ๐ฐ Sponsorship support:
- ๐ค Code contribution: Participate in the development to make the project better
- ๐ Project homepage: GitHub Repository
- ๐ Issue feedback: Issues
- ๐ Usage documentation: Wiki
- ๐ Changelog: CHANGELOG.md
- ๐ฌ Discussions: GitHub Discussions
ยฉ 2025 DsTansice - AssetOS ๅผๆบ็ฉๅๆๆๆๆฌ่ฟฝ่ธช็ณป็ป
่ฎฉ่ตไบง็ฎก็ๅๅพ็ฎๅ้ซๆ โจ