|
| 1 | +# nf-cachebrowser |
| 2 | + |
| 3 | +A Nextflow plugin that provides a web-based interface for visualizing and exploring Nextflow pipeline executions directly in your browser. |
| 4 | + |
| 5 | +[](https://www.nextflow.io/) |
| 6 | +[](LICENSE) |
| 7 | +[](https://github.com/your-org/nf-cachebrowser/releases) |
| 8 | + |
| 9 | +## Overview |
| 10 | + |
| 11 | +nf-cachebrowser is a powerful Nextflow plugin that allows you to visualize pipeline executions through an intuitive web interface. Monitor your workflows, explore execution details, and analyze pipeline performance without leaving your browser. |
| 12 | + |
| 13 | +## Features |
| 14 | + |
| 15 | +- 🌐 **Web-based Interface** - Access pipeline execution data through a modern web UI |
| 16 | +- 📊 **Real-time Monitoring** - Track running pipelines in real-time (only in not blocking supported storages) |
| 17 | +- 🔍 **Detailed Execution View** - Explore individual process executions and their outputs |
| 18 | +- 📈 **Performance Analytics** - Analyze execution times, resource usage, and bottlenecks |
| 19 | +- 🗂️ **Cache Management** - Browse and manage Nextflow work directories and cached results |
| 20 | +- 🔄 **Resume Capabilities** - Visualize pipeline resume points and execution flow |
| 21 | +- 📱 **Responsive Design** - Works seamlessly on desktop and mobile devices |
| 22 | +- |
| 23 | +## Quick Start |
| 24 | + |
| 25 | +### Prerequisites |
| 26 | + |
| 27 | +- Nextflow 22.10.0 or later |
| 28 | +- Java 8 or later |
| 29 | +- Modern web browser |
| 30 | + |
| 31 | +### Installation |
| 32 | + |
| 33 | +Install globally: |
| 34 | + |
| 35 | +```bash |
| 36 | +nextflow plugin install nf-cachebrowser |
| 37 | +``` |
| 38 | + |
| 39 | +### Basic Usage |
| 40 | + |
| 41 | +Start the cache browser server: |
| 42 | + |
| 43 | +```bash |
| 44 | +nextflow plugin nf-cachebrowser:run |
| 45 | +``` |
| 46 | + |
| 47 | +This will launch a web server (default: http://localhost:9999) where you can view your pipeline executions. |
| 48 | + |
| 49 | +Run your pipeline: |
| 50 | + |
| 51 | +```bash |
| 52 | +nextflow run your-pipeline.nf |
| 53 | +``` |
| 54 | + |
| 55 | +## Commands |
| 56 | + |
| 57 | +### Start Server |
| 58 | + |
| 59 | +Launch the web interface server: |
| 60 | + |
| 61 | +```bash |
| 62 | +nextflow plugin nf-cachebrowser:run [OPTIONS] |
| 63 | +``` |
| 64 | + |
| 65 | +Options: |
| 66 | +- `--port, -p` - Server port (default: 9999) |
| 67 | +- `--directory, -d` - runtime Nextflow directory |
| 68 | + |
| 69 | +### Stop Server |
| 70 | + |
| 71 | +Stop the running server: |
| 72 | + |
| 73 | +```bash |
| 74 | +TODO!!! kill the process by the moment |
| 75 | +``` |
| 76 | + |
| 77 | +## Web Interface |
| 78 | + |
| 79 | +### Dashboard |
| 80 | + |
| 81 | +The main dashboard provides: |
| 82 | +- Overview of recent pipeline executions |
| 83 | +- Quick access to running pipelines |
| 84 | +- System resource usage charts (TODO!!) |
| 85 | +- Execution statistics (TODO!!) |
| 86 | + |
| 87 | +### Execution Details |
| 88 | + |
| 89 | +For each pipeline execution, view: |
| 90 | +- Execution timeline and progress (TODO!!) |
| 91 | +- Process-level execution details |
| 92 | +- Resource consumption graphs (TODO!!) |
| 93 | +- Log files and error messages (TODO!!) |
| 94 | +- Work directory contents |
| 95 | + |
| 96 | +### Tasks Details |
| 97 | + |
| 98 | + |
| 99 | +### Task Details |
| 100 | + |
| 101 | + |
| 102 | +## API Endpoints |
| 103 | + |
| 104 | +The plugin also provides a REST API for programmatic access: |
| 105 | + |
| 106 | +- `GET /api/executions` - List all executions |
| 107 | +- `GET /api/tasks/{id}` - Get execution details |
| 108 | + |
| 109 | + |
| 110 | +## Troubleshooting |
| 111 | + |
| 112 | +### Common Issues |
| 113 | + |
| 114 | +**Server won't start:** |
| 115 | +- Check if port is already in use |
| 116 | +- Verify Java version compatibility |
| 117 | +- Check file permissions in work directory |
| 118 | + |
| 119 | +**Browser shows empty data:** |
| 120 | +- Ensure directory specified contains a `.nextflow` folder |
| 121 | +- Check if execution data exists in work directory |
| 122 | +- Verify network connectivity to server |
| 123 | + |
| 124 | + |
| 125 | +## Development |
| 126 | + |
| 127 | +### Building from Source |
| 128 | + |
| 129 | +```bash |
| 130 | +git clone https://github.com/incsteps/nf-cachebrowser.git |
| 131 | +cd nf-cachebrowser |
| 132 | +./gradlew build |
| 133 | +``` |
| 134 | + |
| 135 | +### Running Tests |
| 136 | + |
| 137 | +```bash |
| 138 | +./gradlew test |
| 139 | +``` |
| 140 | + |
| 141 | +### Contributing |
| 142 | + |
| 143 | +1. Fork the repository |
| 144 | +2. Create a feature branch: `git checkout -b feature/amazing-feature` |
| 145 | +3. Commit your changes: `git commit -m 'Add amazing feature'` |
| 146 | +4. Push to the branch: `git push origin feature/amazing-feature` |
| 147 | +5. Open a Pull Request |
| 148 | + |
| 149 | +## License |
| 150 | + |
| 151 | +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. |
| 152 | + |
| 153 | +## Support |
| 154 | + |
| 155 | +- 📖 [Documentation](https://github.com/your-org/nf-cachebrowser/wiki) |
| 156 | +- 🐛 [Issue Tracker](https://github.com/your-org/nf-cachebrowser/issues) |
| 157 | +- 💬 [Discussions](https://github.com/your-org/nf-cachebrowser/discussions) |
| 158 | +- 📧 [Email Support](mailto:support@your-org.com) |
| 159 | + |
| 160 | +## Acknowledgments |
| 161 | + |
| 162 | +- [Nextflow](https://www.nextflow.io/) team for the amazing workflow engine |
| 163 | +- Contributors and community members |
| 164 | +- Beta testers and early adopters |
| 165 | + |
| 166 | +## Changelog |
| 167 | + |
| 168 | +### v0.0.1-rc (2025-05-24) |
| 169 | +- Initial release |
| 170 | +- Web-based execution visualization |
| 171 | +- Real-time monitoring capabilities |
| 172 | +- RESTful API endpoints |
| 173 | + |
| 174 | + |
| 175 | +--- |
| 176 | + |
| 177 | +**Made with ❤️ by jagedn and Incremental Steps team** |
0 commit comments